CustusX  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

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

Definition at line 93 of file cxViewWrapper.h.

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

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


Definition at line 112 of file cxViewWrapper.cpp.

Member Function Documentation

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

Definition at line 111 of file cxViewWrapper.h.

void cx::ViewWrapper::addReps ( )
protectedvirtual

Definition at line 213 of file cxViewWrapper.cpp.

virtual void cx::ViewWrapper::appendToContextMenu ( QMenu &  contextMenu)
protectedpure virtual
void cx::ViewWrapper::connectContextMenu ( ViewPtr  view)
protected

Definition at line 157 of file cxViewWrapper.cpp.

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

Definition at line 146 of file cxViewWrapper.cpp.

virtual void cx::ViewWrapper::dataViewPropertiesChangedSlot ( QString  uid)
protectedpure virtualslot
QStringList cx::ViewWrapper::getAllDataNames ( DataViewProperties  properties) const
protected

Definition at line 162 of file cxViewWrapper.cpp.

ToolPtr cx::ViewWrapper::getControllingTool ( )

Definition at line 231 of file cxViewWrapper.cpp.

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

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

virtual ViewPtr cx::ViewWrapper::getView ( )
pure virtual
virtual QString cx::ViewWrapper::getViewDescription ( )
protectedpure virtual

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

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

Reimplemented in cx::ViewWrapper2D.

Definition at line 94 of file cxViewWrapper.h.

void cx::ViewWrapper::orientationChanged ( ORIENTATION_TYPE  type)
signal
void cx::ViewWrapper::setSharedOpenGLContext ( cx::SharedOpenGLContextPtr  sharedOpenGLContext)
virtual

Definition at line 226 of file cxViewWrapper.cpp.

virtual void cx::ViewWrapper::setSlicePlanesProxy ( SlicePlanesProxyPtr  proxy)
pure virtual
void cx::ViewWrapper::settingsChangedSlot ( QString  key)
protectedslot

Definition at line 138 of file cxViewWrapper.cpp.

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

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

Definition at line 117 of file cxViewWrapper.cpp.

void cx::ViewWrapper::updateView ( )
virtual

Reimplemented in cx::ViewWrapper2D.

Definition at line 191 of file cxViewWrapper.cpp.

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

Definition at line 110 of file cxViewWrapper.h.

Member Data Documentation

DataViewPropertiesInteractorPtr cx::ViewWrapper::mDataViewPropertiesInteractor
protected

Definition at line 125 of file cxViewWrapper.h.

ViewGroupDataPtr cx::ViewWrapper::mGroupData
protected

Definition at line 123 of file cxViewWrapper.h.

VisServicesPtr cx::ViewWrapper::mServices
protected

Definition at line 124 of file cxViewWrapper.h.

SharedOpenGLContextPtr cx::ViewWrapper::mSharedOpenGLContext
protected

Definition at line 127 of file cxViewWrapper.h.

DataViewPropertiesInteractorPtr cx::ViewWrapper::mShow3DSlicesInteractor
protected

Definition at line 126 of file cxViewWrapper.h.


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