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

Helper class for managing a set of slice planes. More...

#include <cxSlicePlanes3DRep.h>

Inheritance diagram for cx::SlicePlanesProxy:

Classes

struct  DataType
 
struct  PropertiesType
 

Public Types

typedef std::map< PLANE_TYPE, DataTypeDataMap
 

Signals

void changed ()
 

Public Member Functions

 SlicePlanesProxy ()
 
void clearViewports ()
 
void setViewportData (PLANE_TYPE type, SliceProxyPtr slice, const DoubleBoundingBox3D &vp_s)
 
void addSimpleSlicePlane (PLANE_TYPE type, PatientModelServicePtr dataManager)
 
DataMap getData ()
 
void setVisible (bool visible)
 
bool getVisible () const
 
void setDrawPlanes (bool on)
 
bool getDrawPlanes () const
 
PropertiesTypegetProperties ()
 
void connectTo3D (bool on)
 

Detailed Description

Helper class for managing a set of slice planes.

Use this to manage a set of slice planes (represented by SliceProxy) that are used as a group. The attributes are designed to work with SlicePlanes3DRep and SlicePlanes3DMarkerIn2DRep.

See also
SlicePlanes3DRep SlicePlanes3DMarkerIn2DRep

Definition at line 42 of file cxSlicePlanes3DRep.h.

Member Typedef Documentation

◆ DataMap

typedef std::map<PLANE_TYPE, DataType> cx::SlicePlanesProxy::DataMap

Definition at line 70 of file cxSlicePlanes3DRep.h.

Constructor & Destructor Documentation

◆ SlicePlanesProxy()

cx::SlicePlanesProxy::SlicePlanesProxy ( )

Definition at line 30 of file cxSlicePlanes3DRep.cpp.

Member Function Documentation

◆ addSimpleSlicePlane()

void cx::SlicePlanesProxy::addSimpleSlicePlane ( PLANE_TYPE  type,
PatientModelServicePtr  dataManager 
)

Definition at line 130 of file cxSlicePlanes3DRep.cpp.

◆ changed

void cx::SlicePlanesProxy::changed ( )
signal

◆ clearViewports()

void cx::SlicePlanesProxy::clearViewports ( )

Definition at line 80 of file cxSlicePlanes3DRep.cpp.

◆ connectTo3D()

void cx::SlicePlanesProxy::connectTo3D ( bool  on)

Definition at line 75 of file cxSlicePlanes3DRep.cpp.

◆ getData()

SlicePlanesProxy::DataMap cx::SlicePlanesProxy::getData ( )

Definition at line 138 of file cxSlicePlanes3DRep.cpp.

◆ getDrawPlanes()

bool cx::SlicePlanesProxy::getDrawPlanes ( ) const

Definition at line 102 of file cxSlicePlanes3DRep.cpp.

◆ getProperties()

PropertiesType& cx::SlicePlanesProxy::getProperties ( )
inline

Definition at line 81 of file cxSlicePlanes3DRep.h.

◆ getVisible()

bool cx::SlicePlanesProxy::getVisible ( ) const

Definition at line 91 of file cxSlicePlanes3DRep.cpp.

◆ setDrawPlanes()

void cx::SlicePlanesProxy::setDrawPlanes ( bool  on)

Definition at line 96 of file cxSlicePlanes3DRep.cpp.

◆ setViewportData()

void cx::SlicePlanesProxy::setViewportData ( PLANE_TYPE  type,
SliceProxyPtr  slice,
const DoubleBoundingBox3D vp_s 
)

Definition at line 107 of file cxSlicePlanes3DRep.cpp.

◆ setVisible()

void cx::SlicePlanesProxy::setVisible ( bool  visible)

Definition at line 85 of file cxSlicePlanes3DRep.cpp.


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