35 #ifndef CXANGLEMETRIC_H_
36 #define CXANGLEMETRIC_H_
38 #include "cxResourceExport.h"
75 double getAngle()
const;
76 std::vector<Vector3D> getEndpoints()
const;
79 virtual bool isValid()
const;
80 virtual QString getAsSingleLineString()
const;
82 virtual void addXml(QDomNode& dataNode);
83 virtual void parseXml(QDomNode& dataNode);
85 virtual Vector3D getRefCoord()
const;
95 virtual QString getValueAsString()
const;
97 bool getUseSimpleVisualization()
const;
98 void setUseSimpleVisualization(
bool val);
101 void resetCachedValues();
104 boost::array<DataPtr, 4> mArgument;
106 bool mUseSimpleVisualization;
static QString getTypeName()
boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
virtual bool showValueInGraphics() const
MetricReferenceArgumentListPtr getArguments()
boost::shared_ptr< class AngleMetric > AngleMetricPtr
virtual QString getType() const
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
boost::shared_ptr< class MetricReferenceArgumentList > MetricReferenceArgumentListPtr
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.
Data class that represents an angle between two lines.