CustusX  18.04
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

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

Definition at line 70 of file cxSlicePlanes3DRep.h.

Constructor & Destructor Documentation

cx::SlicePlanesProxy::SlicePlanesProxy ( )

Definition at line 30 of file cxSlicePlanes3DRep.cpp.

Member Function Documentation

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

Definition at line 126 of file cxSlicePlanes3DRep.cpp.

void cx::SlicePlanesProxy::changed ( )
signal
void cx::SlicePlanesProxy::clearViewports ( )

Definition at line 76 of file cxSlicePlanes3DRep.cpp.

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

Definition at line 71 of file cxSlicePlanes3DRep.cpp.

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

Definition at line 134 of file cxSlicePlanes3DRep.cpp.

bool cx::SlicePlanesProxy::getDrawPlanes ( ) const

Definition at line 98 of file cxSlicePlanes3DRep.cpp.

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

Definition at line 81 of file cxSlicePlanes3DRep.h.

bool cx::SlicePlanesProxy::getVisible ( ) const

Definition at line 87 of file cxSlicePlanes3DRep.cpp.

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

Definition at line 92 of file cxSlicePlanes3DRep.cpp.

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

Definition at line 103 of file cxSlicePlanes3DRep.cpp.

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

Definition at line 81 of file cxSlicePlanes3DRep.cpp.


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