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

Superclass for ViewWrappers. More...

#include <cxViewWrapper.h>

Inheritance diagram for cx::ViewWrapper:
cx::ViewWrapper2D cx::ViewWrapper3D cx::ViewWrapperVideo

Signals

void orientationChanged (ORIENTATION_TYPE type)
 

Public Member Functions

virtual ~ViewWrapper ()
 
virtual void initializePlane (PLANE_TYPE plane)
 
virtual ViewPtr getView ()=0
 
virtual void setSlicePlanesProxy (SlicePlanesProxyPtr proxy)=0
 
virtual void setViewGroup (ViewGroupDataPtr group)
 
virtual void updateView ()
 
virtual void setSharedOpenGLContext (SharedOpenGLContextPtr sharedOpenGLContext)
 
ToolPtr getControllingTool ()
 

Protected Slots

void contextMenuSlot (const QPoint &point)
 
void settingsChangedSlot (QString key)
 
virtual void dataViewPropertiesChangedSlot (QString uid)=0
 
virtual void videoSourceChangedSlot (QString uid)
 
virtual void activeToolChangedSlot ()
 

Protected Member Functions

 ViewWrapper (VisServicesPtr backend)
 
void connectContextMenu (ViewPtr view)
 
virtual QString getDataDescription ()=0
 
virtual QString getViewDescription ()=0
 
virtual void appendToContextMenu (QMenu &contextMenu)=0
 
QStringList getAllDataNames (DataViewProperties properties) const
 
virtual void addReps ()
 

Protected Attributes

ViewGroupDataPtr mGroupData
 
VisServicesPtr mServices
 
DataViewPropertiesInteractorPtr mDataViewPropertiesInteractor
 
DataViewPropertiesInteractorPtr mShow3DSlicesInteractor
 
SharedOpenGLContextPtr mSharedOpenGLContext
 

Detailed Description

Superclass for ViewWrappers.

Date
6. apr. 2010 \author jbake

Definition at line 89 of file cxViewWrapper.h.

Constructor & Destructor Documentation

◆ ~ViewWrapper()

virtual cx::ViewWrapper::~ViewWrapper ( )
inlinevirtual

Definition at line 93 of file cxViewWrapper.h.

◆ ViewWrapper()

cx::ViewWrapper::ViewWrapper ( VisServicesPtr  services)
protected

-----------------------------------------------------—


Definition at line 112 of file cxViewWrapper.cpp.

Member Function Documentation

◆ activeToolChangedSlot

virtual void cx::ViewWrapper::activeToolChangedSlot ( )
inlineprotectedvirtualslot

Definition at line 111 of file cxViewWrapper.h.

◆ addReps()

void cx::ViewWrapper::addReps ( )
protectedvirtual

Definition at line 213 of file cxViewWrapper.cpp.

◆ appendToContextMenu()

virtual void cx::ViewWrapper::appendToContextMenu ( QMenu &  contextMenu)
protectedpure virtual

◆ connectContextMenu()

void cx::ViewWrapper::connectContextMenu ( ViewPtr  view)
protected

Definition at line 157 of file cxViewWrapper.cpp.

◆ contextMenuSlot

void cx::ViewWrapper::contextMenuSlot ( const QPoint &  point)
protectedslot

Definition at line 146 of file cxViewWrapper.cpp.

◆ dataViewPropertiesChangedSlot

virtual void cx::ViewWrapper::dataViewPropertiesChangedSlot ( QString  uid)
protectedpure virtualslot

◆ getAllDataNames()

QStringList cx::ViewWrapper::getAllDataNames ( DataViewProperties  properties) const
protected

Definition at line 162 of file cxViewWrapper.cpp.

◆ getControllingTool()

ToolPtr cx::ViewWrapper::getControllingTool ( )

Definition at line 231 of file cxViewWrapper.cpp.

◆ getDataDescription()

virtual QString cx::ViewWrapper::getDataDescription ( )
protectedpure virtual

Implemented in cx::ViewWrapper3D, and cx::ViewWrapper2D.

◆ getView()

virtual ViewPtr cx::ViewWrapper::getView ( )
pure virtual

◆ getViewDescription()

virtual QString cx::ViewWrapper::getViewDescription ( )
protectedpure virtual

Implemented in cx::ViewWrapper3D, and cx::ViewWrapper2D.

◆ initializePlane()

virtual void cx::ViewWrapper::initializePlane ( PLANE_TYPE  plane)
inlinevirtual

Reimplemented in cx::ViewWrapper2D.

Definition at line 94 of file cxViewWrapper.h.

◆ orientationChanged

void cx::ViewWrapper::orientationChanged ( ORIENTATION_TYPE  type)
signal

◆ setSharedOpenGLContext()

void cx::ViewWrapper::setSharedOpenGLContext ( cx::SharedOpenGLContextPtr  sharedOpenGLContext)
virtual

Definition at line 226 of file cxViewWrapper.cpp.

◆ setSlicePlanesProxy()

virtual void cx::ViewWrapper::setSlicePlanesProxy ( SlicePlanesProxyPtr  proxy)
pure virtual

◆ settingsChangedSlot

void cx::ViewWrapper::settingsChangedSlot ( QString  key)
protectedslot

Definition at line 138 of file cxViewWrapper.cpp.

◆ setViewGroup()

void cx::ViewWrapper::setViewGroup ( ViewGroupDataPtr  group)
virtual

Reimplemented in cx::ViewWrapper3D, cx::ViewWrapper2D, and cx::ViewWrapperVideo.

Definition at line 117 of file cxViewWrapper.cpp.

◆ updateView()

void cx::ViewWrapper::updateView ( )
virtual

Reimplemented in cx::ViewWrapper2D.

Definition at line 191 of file cxViewWrapper.cpp.

◆ videoSourceChangedSlot

virtual void cx::ViewWrapper::videoSourceChangedSlot ( QString  uid)
inlineprotectedvirtualslot

Definition at line 110 of file cxViewWrapper.h.

Member Data Documentation

◆ mDataViewPropertiesInteractor

DataViewPropertiesInteractorPtr cx::ViewWrapper::mDataViewPropertiesInteractor
protected

Definition at line 125 of file cxViewWrapper.h.

◆ mGroupData

ViewGroupDataPtr cx::ViewWrapper::mGroupData
protected

Definition at line 123 of file cxViewWrapper.h.

◆ mServices

VisServicesPtr cx::ViewWrapper::mServices
protected

Definition at line 124 of file cxViewWrapper.h.

◆ mSharedOpenGLContext

SharedOpenGLContextPtr cx::ViewWrapper::mSharedOpenGLContext
protected

Definition at line 127 of file cxViewWrapper.h.

◆ mShow3DSlicesInteractor

DataViewPropertiesInteractorPtr cx::ViewWrapper::mShow3DSlicesInteractor
protected

Definition at line 126 of file cxViewWrapper.h.


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