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);
115 static SlicePlanes3DRepPtr New(
const QString& uid=
"");
117 virtual QString
getType()
const {
return "SlicePlanes3DRep"; }
118 void setProxy(SlicePlanesProxyPtr proxy);
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;
142 SlicePlanesProxyPtr mProxy;
165 static SlicePlanes3DMarkerIn2DRepPtr New(
const QString& uid=
"");
167 virtual QString
getType()
const {
return "SlicePlanes3DMarkerIn2DRep"; }
168 void setProxy(PLANE_TYPE type, SlicePlanesProxyPtr proxy);
172 virtual void addRepActorsToViewRenderer(
ViewPtr view);
173 virtual void removeRepActorsFromViewRenderer(
ViewPtr view);
178 SlicePlanesProxyPtr mProxy;
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
Namespace for all CustusX production code.