12 #ifndef CXCUSTOMMETRICREP_H 13 #define CXCUSTOMMETRICREP_H 15 #include "cxResourceVisualizationExport.h" 44 static CustomMetricRepPtr New(
const QString& uid =
"");
47 virtual QString
getType()
const {
return "CustomMetricRep"; }
51 virtual void onModifiedStartRender();
53 virtual void onEveryRender();
56 CustomMetricPtr getCustomMetric();
59 std::vector<GraphicalGeometricPtr> mMeshGeometry;
60 std::vector<Image2DProxyPtr> mImageGeometryProxy;
61 std::vector<CaptionText3DPtr> mDistanceText;
62 void updateMeshModel(
DataPtr model);
63 void updateImageModel(
DataPtr model);
65 void createDistanceMarkers();
66 void hideDistanceMetrics();
72 #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.