|
NorMIT-nav
22.09
An IGT application
|
Go to the documentation of this file.
13 #ifndef CXSLICEPLANES3DREP_H_
14 #define CXSLICEPLANES3DREP_H_
16 #include "cxResourceVisualizationExport.h"
70 typedef std::map<PLANE_TYPE, DataType>
DataMap;
72 void clearViewports();
77 void setVisible(
bool visible);
78 bool getVisible()
const;
79 void setDrawPlanes(
bool on);
80 bool getDrawPlanes()
const;
83 void connectTo3D(
bool on);
88 PropertiesType mProperties;
117 virtual QString
getType()
const {
return "SlicePlanes3DRep"; }
120 void setDynamicLabelSize(
bool on);
123 virtual void addRepActorsToViewRenderer(
ViewPtr view);
124 virtual void removeRepActorsFromViewRenderer(
ViewPtr view);
137 typedef std::map<PLANE_TYPE, DataType> DataMap;
167 virtual QString
getType()
const {
return "SlicePlanes3DMarkerIn2DRep"; }
172 virtual void addRepActorsToViewRenderer(
ViewPtr view);
173 virtual void removeRepActorsFromViewRenderer(
ViewPtr view);
Helper class for managing a set of slice planes.
boost::shared_ptr< class GraphicalPoint3D > GraphicalPoint3DPtr
boost::shared_ptr< class SlicePlanes3DMarkerIn2DRep > SlicePlanes3DMarkerIn2DRepPtr
Representation of a floating-point bounding box in 3D. The data are stored as {xmin,...
boost::shared_ptr< class SlicePlanes3DRep > SlicePlanes3DRepPtr
Namespace for all CustusX production code.
boost::shared_ptr< class Axes3D > Axes3DPtr
SlicePlanesProxyPtr getProxy()
virtual QString getType() const
vtkSmartPointer< class vtkTextActor3D > vtkTextActor3DPtr
boost::shared_ptr< class ViewportListener > ViewportListenerPtr
boost::shared_ptr< class SlicePlanesProxy > SlicePlanesProxyPtr
Vector3D mPointPos_normvp
boost::shared_ptr< class TextDisplay > TextDisplayPtr
boost::shared_ptr< class Rect3D > Rect3DPtr
Vector3D mPointPos_normvp
position of symbol in normalized space <0..1, 0..1>
SliceProxyPtr mSliceProxy
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
SlicePlanesProxyPtr getProxy()
boost::shared_ptr< class View > ViewPtr
Default implementation of Rep.
PropertiesType & getProperties()
std::map< PLANE_TYPE, QString > mSymbol
normalized RGB
std::map< PLANE_TYPE, QColor > mColor
PLANE_TYPE mClipPlane
what plane to use for 3D clipping
int mLineWidth
draw wireframe lines. 0 means no line
Display a set of planes in 3D.
std::map< PLANE_TYPE, DataType > DataMap
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
Display annotations for the SlicePlanesProxy planes in 2D.
virtual QString getType() const