CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::ViewServiceProxy Class Reference

#include <cxViewServiceProxy.h>

Inheritance diagram for cx::ViewServiceProxy:
cx::ViewService

Public Slots

virtual void aboutToStop ()
 
- Public Slots inherited from cx::ViewService
virtual void aboutToStop ()=0
 

Public Member Functions

 ViewServiceProxy (ctkPluginContext *pluginContext)
 
virtual ViewPtr get3DView (int group=0, int index=0)
 
virtual int getActiveGroupId () const
 
virtual ViewGroupDataPtr getGroup (int groupIdx) const
 
virtual void setRegistrationMode (REGISTRATION_STATUS mode)
 
virtual void autoShowData (DataPtr data)
 
virtual void enableRender (bool val)
 
virtual bool renderingIsEnabled () const
 
virtual QWidget * createLayoutWidget (QWidget *parent, int index)
 Get the specified layout widget, create if necessary. More...
 
virtual QWidget * getLayoutWidget (int index)
 Get the specified layout widget, NULL if not created. More...
 
virtual QString getActiveLayout (int widgetIndex=0) const
 
virtual void setActiveLayout (const QString &uid, int widgetIndex)
 
virtual ClippersPtr getClippers ()
 
virtual InteractiveCropperPtr getCropper ()
 
virtual CyclicActionLoggerPtr getRenderTimer ()
 
virtual NavigationPtr getNavigation (int group=0)
 
virtual LayoutRepositoryPtr getLayoutRepository ()
 
virtual CameraControlPtr getCameraControl ()
 
virtual QActionGroup * getInteractorStyleActionGroup ()
 
virtual void centerToImageCenterInActiveViewGroup ()
 
virtual void setCameraStyle (CAMERA_STYLE_TYPE style, int groupIdx)
 
virtual void zoomCamera3D (int viewGroup3DNumber, int zoomFactor)
 
virtual void addDefaultLayout (LayoutData layoutData)
 
virtual void enableContextMenuForViews (bool enable=true)
 
bool isNull ()
 
- Public Member Functions inherited from cx::ViewService
RepContainerPtr get3DReps (int group=0, int index=0)
 
unsigned groupCount () const
 
virtual void deactivateLayout ()
 
ViewGroupDataPtr getActiveViewGroup ()
 

Static Public Member Functions

static ViewServicePtr create (ctkPluginContext *pluginContext)
 
- Static Public Member Functions inherited from cx::ViewService
static ViewServicePtr getNullObject ()
 

Additional Inherited Members

- Signals inherited from cx::ViewService
void fps (int number)
 Emits number of frames per second. More...
 
void activeLayoutChanged ()
 emitted when the active layout changes More...
 
void activeViewChanged ()
 emitted when the active view changes More...
 
void renderingEnabledChanged ()
 emitted then rendering is enabled/disabled More...
 
void pointSampled (Vector3D p_r)
 
void renderFinished ()
 

Detailed Description

Definition at line 24 of file cxViewServiceProxy.h.

Constructor & Destructor Documentation

cx::ViewServiceProxy::ViewServiceProxy ( ctkPluginContext *  pluginContext)

Definition at line 28 of file cxViewServiceProxy.cpp.

Member Function Documentation

void cx::ViewServiceProxy::aboutToStop ( )
virtualslot

Definition at line 102 of file cxViewServiceProxy.cpp.

void cx::ViewServiceProxy::addDefaultLayout ( LayoutData  layoutData)
virtual

Implements cx::ViewService.

Definition at line 187 of file cxViewServiceProxy.cpp.

void cx::ViewServiceProxy::autoShowData ( cx::DataPtr  data)
virtual

Implements cx::ViewService.

Definition at line 107 of file cxViewServiceProxy.cpp.

void cx::ViewServiceProxy::centerToImageCenterInActiveViewGroup ( )
virtual

Implements cx::ViewService.

Definition at line 172 of file cxViewServiceProxy.cpp.

ViewServicePtr cx::ViewServiceProxy::create ( ctkPluginContext *  pluginContext)
static

Definition at line 23 of file cxViewServiceProxy.cpp.

QWidget * cx::ViewServiceProxy::createLayoutWidget ( QWidget *  parent,
int  index 
)
virtual

Get the specified layout widget, create if necessary.

Implements cx::ViewService.

Definition at line 122 of file cxViewServiceProxy.cpp.

void cx::ViewServiceProxy::enableContextMenuForViews ( bool  enable = true)
virtual

Implements cx::ViewService.

Definition at line 192 of file cxViewServiceProxy.cpp.

void cx::ViewServiceProxy::enableRender ( bool  val)
virtual

Implements cx::ViewService.

Definition at line 112 of file cxViewServiceProxy.cpp.

ViewPtr cx::ViewServiceProxy::get3DView ( int  group = 0,
int  index = 0 
)
virtual

Implements cx::ViewService.

Definition at line 35 of file cxViewServiceProxy.cpp.

int cx::ViewServiceProxy::getActiveGroupId ( ) const
virtual

Implements cx::ViewService.

Definition at line 40 of file cxViewServiceProxy.cpp.

QString cx::ViewServiceProxy::getActiveLayout ( int  widgetIndex = 0) const
virtual

Implements cx::ViewService.

Definition at line 132 of file cxViewServiceProxy.cpp.

CameraControlPtr cx::ViewServiceProxy::getCameraControl ( )
virtual

Implements cx::ViewService.

Definition at line 162 of file cxViewServiceProxy.cpp.

cx::ClippersPtr cx::ViewServiceProxy::getClippers ( )
virtual

Implements cx::ViewService.

Definition at line 197 of file cxViewServiceProxy.cpp.

InteractiveCropperPtr cx::ViewServiceProxy::getCropper ( )
virtual

Implements cx::ViewService.

Definition at line 142 of file cxViewServiceProxy.cpp.

ViewGroupDataPtr cx::ViewServiceProxy::getGroup ( int  groupIdx) const
virtual

Implements cx::ViewService.

Definition at line 45 of file cxViewServiceProxy.cpp.

QActionGroup * cx::ViewServiceProxy::getInteractorStyleActionGroup ( )
virtual

Implements cx::ViewService.

Definition at line 167 of file cxViewServiceProxy.cpp.

LayoutRepositoryPtr cx::ViewServiceProxy::getLayoutRepository ( )
virtual

Implements cx::ViewService.

Definition at line 157 of file cxViewServiceProxy.cpp.

QWidget * cx::ViewServiceProxy::getLayoutWidget ( int  index)
virtual

Get the specified layout widget, NULL if not created.

Implements cx::ViewService.

Definition at line 127 of file cxViewServiceProxy.cpp.

NavigationPtr cx::ViewServiceProxy::getNavigation ( int  group = 0)
virtual

Implements cx::ViewService.

Definition at line 152 of file cxViewServiceProxy.cpp.

CyclicActionLoggerPtr cx::ViewServiceProxy::getRenderTimer ( )
virtual

Implements cx::ViewService.

Definition at line 147 of file cxViewServiceProxy.cpp.

bool cx::ViewServiceProxy::isNull ( )
virtual

Implements cx::ViewService.

Definition at line 97 of file cxViewServiceProxy.cpp.

bool cx::ViewServiceProxy::renderingIsEnabled ( ) const
virtual

Implements cx::ViewService.

Definition at line 117 of file cxViewServiceProxy.cpp.

void cx::ViewServiceProxy::setActiveLayout ( const QString &  uid,
int  widgetIndex 
)
virtual

Implements cx::ViewService.

Definition at line 137 of file cxViewServiceProxy.cpp.

void cx::ViewServiceProxy::setCameraStyle ( CAMERA_STYLE_TYPE  style,
int  groupIdx 
)
virtual

Implements cx::ViewService.

Definition at line 177 of file cxViewServiceProxy.cpp.

void cx::ViewServiceProxy::setRegistrationMode ( REGISTRATION_STATUS  mode)
virtual

Implements cx::ViewService.

Definition at line 50 of file cxViewServiceProxy.cpp.

void cx::ViewServiceProxy::zoomCamera3D ( int  viewGroup3DNumber,
int  zoomFactor 
)
virtual

Implements cx::ViewService.

Definition at line 182 of file cxViewServiceProxy.cpp.


The documentation for this class was generated from the following files: