33 #ifndef CXCUSTOMMETRICREP_H 34 #define CXCUSTOMMETRICREP_H 36 #include "cxResourceVisualizationExport.h" 65 static CustomMetricRepPtr New(
const QString& uid =
"");
68 virtual QString
getType()
const {
return "CustomMetricRep"; }
72 virtual void onModifiedStartRender();
74 virtual void onEveryRender();
77 CustomMetricPtr getCustomMetric();
80 std::vector<GraphicalGeometricPtr> mMeshGeometry;
81 std::vector<Image2DProxyPtr> mImageGeometryProxy;
82 std::vector<CaptionText3DPtr> mDistanceText;
83 void updateMeshModel(
DataPtr model);
84 void updateImageModel(
DataPtr model);
86 void createDistanceMarkers();
87 void hideDistanceMetrics();
93 #endif // CXCUSTOMMETRICREP_H
Base class for all Data Metric reps.
virtual ~CustomMetricRep()
constructor
boost::shared_ptr< class GraphicalGeometric > GraphicalGeometricPtr
virtual QString getType() const
boost::shared_ptr< class Data > DataPtr
boost::shared_ptr< class CustomMetricRep > CustomMetricRepPtr
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
boost::shared_ptr< class Image2DProxy > Image2DProxyPtr
boost::shared_ptr< CaptionText3D > CaptionText3DPtr
boost::shared_ptr< class CustomMetric > CustomMetricPtr
Namespace for all CustusX production code.