CustusX  22.04-rc5
An IGT application
cx::ViewWrapper2D Class Reference

#include <cxViewWrapper2D.h>

Inheritance diagram for cx::ViewWrapper2D:
cx::ViewWrapper

Signals

void pointSampled (Vector3D p_r)
 
- Signals inherited from cx::ViewWrapper
void orientationChanged (ORIENTATION_TYPE type)
 

Public Member Functions

 ViewWrapper2D (ViewPtr view, VisServicesPtr backend)
 
virtual ~ViewWrapper2D ()
 
virtual void initializePlane (PLANE_TYPE plane)
 
virtual ViewPtr getView ()
 
virtual void setSlicePlanesProxy (SlicePlanesProxyPtr proxy)
 
virtual void setViewGroup (ViewGroupDataPtr group)
 
virtual void updateView ()
 
ImagePtr getImageToDisplay ()
 
- Public Member Functions inherited from cx::ViewWrapper
virtual ~ViewWrapper ()
 
virtual void setSharedOpenGLContext (SharedOpenGLContextPtr sharedOpenGLContext)
 
ToolPtr getControllingTool ()
 

Protected Slots

virtual void dataViewPropertiesChangedSlot (QString uid)
 
virtual void videoSourcesChangedSlot ()
 
virtual void settingsChangedSlot (QString key)
 
void samplePoint (Vector3D click_vp)
 
- Protected Slots inherited from cx::ViewWrapper
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

virtual QString getDataDescription ()
 
virtual QString getViewDescription ()
 
- Protected Member Functions inherited from cx::ViewWrapper
 ViewWrapper (VisServicesPtr backend)
 
void connectContextMenu (ViewPtr view)
 
QStringList getAllDataNames (DataViewProperties properties) const
 

Additional Inherited Members

- Protected Attributes inherited from cx::ViewWrapper
ViewGroupDataPtr mGroupData
 
VisServicesPtr mServices
 
DataViewPropertiesInteractorPtr mDataViewPropertiesInteractor
 
DataViewPropertiesInteractorPtr mShow3DSlicesInteractor
 
SharedOpenGLContextPtr mSharedOpenGLContext
 

Detailed Description

Wrapper for a View2D. Handles the connections between specific reps and the view.

Definition at line 56 of file cxViewWrapper2D.h.

Constructor & Destructor Documentation

cx::ViewWrapper2D::ViewWrapper2D ( ViewPtr  view,
VisServicesPtr  backend 
)

Definition at line 72 of file cxViewWrapper2D.cpp.

cx::ViewWrapper2D::~ViewWrapper2D ( )
virtual

Definition at line 116 of file cxViewWrapper2D.cpp.

Member Function Documentation

void cx::ViewWrapper2D::dataViewPropertiesChangedSlot ( QString  uid)
protectedvirtualslot

Definition at line 538 of file cxViewWrapper2D.cpp.

QString cx::ViewWrapper2D::getDataDescription ( )
protectedvirtual

Implements cx::ViewWrapper.

Definition at line 441 of file cxViewWrapper2D.cpp.

ImagePtr cx::ViewWrapper2D::getImageToDisplay ( )

Definition at line 413 of file cxViewWrapper2D.cpp.

ViewPtr cx::ViewWrapper2D::getView ( )
virtual

Implements cx::ViewWrapper.

Definition at line 398 of file cxViewWrapper2D.cpp.

QString cx::ViewWrapper2D::getViewDescription ( )
protectedvirtual

Implements cx::ViewWrapper.

Definition at line 465 of file cxViewWrapper2D.cpp.

void cx::ViewWrapper2D::initializePlane ( PLANE_TYPE  plane)
virtual

Reimplemented from cx::ViewWrapper.

Definition at line 384 of file cxViewWrapper2D.cpp.

void cx::ViewWrapper2D::pointSampled ( Vector3D  p_r)
signal
void cx::ViewWrapper2D::samplePoint ( Vector3D  click_vp)
protectedslot

Definition at line 135 of file cxViewWrapper2D.cpp.

void cx::ViewWrapper2D::setSlicePlanesProxy ( SlicePlanesProxyPtr  proxy)
virtual

Implements cx::ViewWrapper.

Definition at line 691 of file cxViewWrapper2D.cpp.

void cx::ViewWrapper2D::settingsChangedSlot ( QString  key)
protectedvirtualslot

Definition at line 205 of file cxViewWrapper2D.cpp.

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

Reimplemented from cx::ViewWrapper.

Definition at line 163 of file cxViewWrapper2D.cpp.

void cx::ViewWrapper2D::updateView ( )
virtual

Reimplemented from cx::ViewWrapper.

Definition at line 501 of file cxViewWrapper2D.cpp.

void cx::ViewWrapper2D::videoSourcesChangedSlot ( )
protectedvirtualslot

Definition at line 705 of file cxViewWrapper2D.cpp.


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