|
NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
|
Go to the documentation of this file.
12 #ifndef CXLANDMARKREP_H_
13 #define CXLANDMARKREP_H_
15 #include "cxResourceVisualizationExport.h"
105 void setColor(QColor color);
106 void setSecondaryColor(QColor color);
107 void showLandmarks(
bool on);
108 void setGraphicsSize(
double size);
109 void setLabelSize(
double size);
110 virtual QString
getType()
const {
return "LandmarkRep"; }
117 virtual void addRepActorsToViewRenderer(
ViewPtr view);
118 virtual void removeRepActorsFromViewRenderer(
ViewPtr view);
121 void addLandmark(QString uid);
124 void internalUpdate();
GraphicalPoint3DPtr mPrimaryPoint
the primary coordinate of the landmark
boost::shared_ptr< class GraphicalPoint3D > GraphicalPoint3DPtr
virtual QString getType() const
FollowerText3DPtr mText
name of landmark, attached to primary point
Namespace for all CustusX production code.
ViewportListenerPtr mViewportListener
QColor mSecondaryColor
color used on the secondary coordinate
LandmarkGraphicsMapType mGraphics
std::map< QString, class Landmark > LandmarkMap
virtual ~PatientLandmarksSource()
GraphicalLine3DPtr mLine
line between primary and secondary point
LandmarksSourcePtr mSecondary
PatientModelServicePtr mDataManager
boost::shared_ptr< class ViewportListener > ViewportListenerPtr
boost::shared_ptr< class PatientLandmarksSource > PatientLandmarksSourcePtr
boost::shared_ptr< class ImageLandmarksSource > ImageLandmarksSourcePtr
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
boost::shared_ptr< class Data > DataPtr
GraphicalPoint3DPtr mSecondaryPoint
secondary landmark coordinate, accosiated with the primary point
boost::shared_ptr< class View > ViewPtr
Default implementation of Rep.
static PatientLandmarksSourcePtr New(PatientModelServicePtr dataManager)
boost::shared_ptr< FollowerText3D > FollowerText3DPtr
boost::shared_ptr< LandmarksSource > LandmarksSourcePtr
boost::shared_ptr< class LandmarkRep > LandmarkRepPtr
std::map< QString, LandmarkGraphics > LandmarkGraphicsMapType
QColor mColor
the color of the landmark actors
LandmarksSourcePtr mPrimary
boost::shared_ptr< class GraphicalLine3D > GraphicalLine3DPtr
virtual ~ImageLandmarksSource()
bool mShowLandmarks
whether or not the actors should be showed in (all) views
static ImageLandmarksSourcePtr New()
QColor mInactiveColor
color given to inactive landmarks
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
virtual ~LandmarksSource()