34 #ifndef CXDISTANCEMETRIC_H_
35 #define CXDISTANCEMETRIC_H_
37 #include "cxResourceExport.h"
67 double getDistance()
const;
68 std::vector<Vector3D> getEndpoints()
const;
69 virtual Vector3D getRefCoord()
const;
70 virtual QString getAsSingleLineString()
const;
74 virtual bool isValid()
const;
76 virtual void addXml(QDomNode& dataNode);
77 virtual void parseXml(QDomNode& dataNode);
85 return "distanceMetric";
88 virtual QString getValueAsString()
const;
92 void resetCachedValues();
95 std::vector<Vector3D> getEndpointsUncached()
const;
boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
virtual QString getType() const
static QString getTypeName()
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
boost::shared_ptr< class MetricReferenceArgumentList > MetricReferenceArgumentListPtr
virtual bool showValueInGraphics() const
boost::shared_ptr< class DistanceMetric > DistanceMetricPtr
Data class that represents a distance between two points, or a point and a plane. ...
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.
cxLogicManager_EXPORT SpaceProviderPtr spaceProvider()
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
Base class for all Data Metrics.
MetricReferenceArgumentListPtr getArguments()