33 #ifndef CXLANDMARKREP_H_
34 #define CXLANDMARKREP_H_
36 #include "cxResourceVisualizationExport.h"
126 void setColor(QColor color);
127 void setSecondaryColor(QColor color);
128 void showLandmarks(
bool on);
129 void setGraphicsSize(
double size);
130 void setLabelSize(
double size);
131 virtual QString
getType()
const {
return "LandmarkRep"; }
138 virtual void addRepActorsToViewRenderer(
ViewPtr view);
139 virtual void removeRepActorsFromViewRenderer(
ViewPtr view);
142 void addLandmark(QString uid);
145 void internalUpdate();
bool mShowLandmarks
whether or not the actors should be showed in (all) views
boost::shared_ptr< class GraphicalPoint3D > GraphicalPoint3DPtr
static ImageLandmarksSourcePtr New()
boost::shared_ptr< class ViewportListener > ViewportListenerPtr
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
LandmarksSourcePtr mSecondary
virtual ~LandmarksSource()
virtual QString getType() const
boost::shared_ptr< class View > ViewPtr
std::map< QString, LandmarkGraphics > LandmarkGraphicsMapType
ViewportListenerPtr mViewportListener
boost::shared_ptr< class Data > DataPtr
boost::shared_ptr< class PatientLandmarksSource > PatientLandmarksSourcePtr
QColor mSecondaryColor
color used on the secondary coordinate
QColor mInactiveColor
color given to inactive landmarks
LandmarksSourcePtr mPrimary
static PatientLandmarksSourcePtr New(PatientModelServicePtr dataManager)
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
GraphicalLine3DPtr mLine
line between primary and secondary point
Default implementation of Rep.
GraphicalPoint3DPtr mPrimaryPoint
the primary coordinate of the landmark
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
FollowerText3DPtr mText
name of landmark, attached to primary point
boost::shared_ptr< FollowerText3D > FollowerText3DPtr
boost::shared_ptr< LandmarksSource > LandmarksSourcePtr
std::map< QString, class Landmark > LandmarkMap
QColor mColor
the color of the landmark actors
LandmarkGraphicsMapType mGraphics
virtual ~ImageLandmarksSource()
boost::shared_ptr< class GraphicalLine3D > GraphicalLine3DPtr
GraphicalPoint3DPtr mSecondaryPoint
secondary landmark coordinate, accosiated with the primary point
PatientModelServicePtr mDataManager
virtual ~PatientLandmarksSource()
boost::shared_ptr< class LandmarkRep > LandmarkRepPtr
boost::shared_ptr< class ImageLandmarksSource > ImageLandmarksSourcePtr