NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cx::ViewService Class Referenceabstract

Visualization services. More...

#include <cxViewService.h>

Inheritance diagram for cx::ViewService:
cx::ViewImplService cx::ViewServiceNull cx::ViewServiceProxy

Public Slots

virtual void aboutToStop ()=0
 

Signals

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 ()
 

Public Member Functions

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

Static Public Member Functions

static ViewServicePtr getNullObject ()
 

Detailed Description

Visualization services.

Date
2014-09-19
Author
Ole Vegard Solberg, SINTEF

Definition at line 50 of file cxViewService.h.

Member Function Documentation

◆ aboutToStop

virtual void cx::ViewService::aboutToStop ( )
pure virtualslot

◆ activeLayoutChanged

void cx::ViewService::activeLayoutChanged ( )
signal

emitted when the active layout changes

◆ activeViewChanged

void cx::ViewService::activeViewChanged ( )
signal

emitted when the active view changes

◆ addDefaultLayout()

virtual void cx::ViewService::addDefaultLayout ( LayoutData  layoutData)
pure virtual

◆ autoShowData()

virtual void cx::ViewService::autoShowData ( DataPtr  data)
pure virtual

◆ centerToImageCenterInActiveViewGroup()

virtual void cx::ViewService::centerToImageCenterInActiveViewGroup ( )
pure virtual

◆ createLayoutWidget()

virtual QWidget* cx::ViewService::createLayoutWidget ( QWidget *  parent,
int  index = 0 
)
pure virtual

Get the specified layout widget, create if necessary.

Implemented in cx::ViewImplService, cx::ViewServiceProxy, and cx::ViewServiceNull.

◆ deactivateLayout()

void cx::ViewService::deactivateLayout ( )
virtual

Definition at line 48 of file cxViewService.cpp.

◆ enableContextMenuForViews()

virtual void cx::ViewService::enableContextMenuForViews ( bool  enable = true)
pure virtual

◆ enableRender()

virtual void cx::ViewService::enableRender ( bool  val)
pure virtual

◆ fps

void cx::ViewService::fps ( int  number)
signal

Emits number of frames per second.

◆ get3DReps()

RepContainerPtr cx::ViewService::get3DReps ( int  group = 0,
int  index = 0 
)

Definition at line 54 of file cxViewService.cpp.

◆ get3DView()

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

◆ getActiveGroupId()

virtual int cx::ViewService::getActiveGroupId ( ) const
pure virtual

◆ getActiveLayout()

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

◆ getActiveViewGroup()

ViewGroupDataPtr cx::ViewService::getActiveViewGroup ( )

Definition at line 64 of file cxViewService.cpp.

◆ getCameraControl()

virtual CameraControlPtr cx::ViewService::getCameraControl ( )
pure virtual

◆ getClippers()

virtual ClippersPtr cx::ViewService::getClippers ( )
pure virtual

◆ getCropper()

virtual InteractiveCropperPtr cx::ViewService::getCropper ( )
pure virtual

◆ getGroup()

virtual ViewGroupDataPtr cx::ViewService::getGroup ( int  groupIdx) const
pure virtual

◆ getInteractorStyleActionGroup()

virtual QActionGroup* cx::ViewService::getInteractorStyleActionGroup ( )
pure virtual

◆ getLayoutRepository()

virtual LayoutRepositoryPtr cx::ViewService::getLayoutRepository ( )
pure virtual

◆ getLayoutWidget()

virtual QWidget* cx::ViewService::getLayoutWidget ( int  index)
pure virtual

Get the specified layout widget, NULL if not created.

Implemented in cx::ViewImplService, cx::ViewServiceProxy, and cx::ViewServiceNull.

◆ getNavigation()

virtual NavigationPtr cx::ViewService::getNavigation ( int  group = 0)
pure virtual

◆ getNullObject()

ViewServicePtr cx::ViewService::getNullObject ( )
static

Definition at line 31 of file cxViewService.cpp.

◆ getRenderTimer()

virtual CyclicActionLoggerPtr cx::ViewService::getRenderTimer ( )
pure virtual

◆ groupCount()

unsigned cx::ViewService::groupCount ( ) const

Definition at line 40 of file cxViewService.cpp.

◆ isNull()

virtual bool cx::ViewService::isNull ( )
pure virtual

◆ pointSampled

void cx::ViewService::pointSampled ( Vector3D  p_r)
signal

◆ renderFinished

void cx::ViewService::renderFinished ( )
signal

◆ renderingEnabledChanged

void cx::ViewService::renderingEnabledChanged ( )
signal

emitted then rendering is enabled/disabled

◆ renderingIsEnabled()

virtual bool cx::ViewService::renderingIsEnabled ( ) const
pure virtual

◆ setActiveLayout()

virtual void cx::ViewService::setActiveLayout ( const QString &  uid,
int  widgetIndex = 0 
)
pure virtual

◆ setCameraStyle()

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

◆ setRegistrationMode()

virtual void cx::ViewService::setRegistrationMode ( REGISTRATION_STATUS  mode)
pure virtual

◆ zoomCamera3D()

virtual void cx::ViewService::zoomCamera3D ( int  viewGroup3DNumber,
int  zoomFactor 
)
pure virtual

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