34 #ifndef CXSLICEPLANES3DREP_H_
35 #define CXSLICEPLANES3DREP_H_
37 #include "cxResourceVisualizationExport.h"
91 typedef std::map<PLANE_TYPE, DataType>
DataMap;
93 void clearViewports();
98 void setVisible(
bool visible);
99 bool getVisible()
const;
100 void setDrawPlanes(
bool on);
101 bool getDrawPlanes()
const;
104 void connectTo3D(
bool on);
109 PropertiesType mProperties;
138 virtual QString
getType()
const {
return "SlicePlanes3DRep"; }
141 void setDynamicLabelSize(
bool on);
144 virtual void addRepActorsToViewRenderer(
ViewPtr view);
145 virtual void removeRepActorsFromViewRenderer(
ViewPtr view);
158 typedef std::map<PLANE_TYPE, DataType> DataMap;
188 virtual QString
getType()
const {
return "SlicePlanes3DMarkerIn2DRep"; }
193 virtual void addRepActorsToViewRenderer(
ViewPtr view);
194 virtual void removeRepActorsFromViewRenderer(
ViewPtr view);
boost::shared_ptr< class GraphicalPoint3D > GraphicalPoint3DPtr
boost::shared_ptr< class SlicePlanesProxy > SlicePlanesProxyPtr
boost::shared_ptr< class Axes3D > Axes3DPtr
boost::shared_ptr< class ViewportListener > ViewportListenerPtr
PLANE_TYPE mClipPlane
what plane to use for 3D clipping
std::map< PLANE_TYPE, DataType > DataMap
Vector3D mPointPos_normvp
position of symbol in normalized space <0..1, 0..1>
int mLineWidth
draw wireframe lines. 0 means no line
Display a set of planes in 3D.
boost::shared_ptr< class View > ViewPtr
SlicePlanesProxyPtr getProxy()
Display annotations for the SlicePlanesProxy planes in 2D.
vtkSmartPointer< class vtkTextActor3D > vtkTextActor3DPtr
std::map< PLANE_TYPE, QString > mSymbol
normalized RGB
std::map< PLANE_TYPE, QColor > mColor
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
boost::shared_ptr< class TextDisplay > TextDisplayPtr
Default implementation of Rep.
Representation of a floating-point bounding box in 3D. The data are stored as {xmin,xmax,ymin,ymax,zmin,zmax}, in order to simplify communication with vtk.
Vector3D mPointPos_normvp
Helper class for managing a set of slice planes.
boost::shared_ptr< class SlicePlanes3DRep > SlicePlanes3DRepPtr
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
SlicePlanesProxyPtr getProxy()
virtual QString getType() const
PropertiesType & getProperties()
virtual QString getType() const
boost::shared_ptr< class Rect3D > Rect3DPtr
boost::shared_ptr< class SlicePlanes3DMarkerIn2DRep > SlicePlanes3DMarkerIn2DRepPtr
SliceProxyPtr mSliceProxy