35 #ifndef CXANGLEMETRIC_H_
36 #define CXANGLEMETRIC_H_
38 #include "cxResourceExport.h"
75 double getAngle()
const;
76 std::vector<Vector3D> getEndpoints()
const;
77 virtual QIcon
getIcon() {
return QIcon(
":/icons/metric_angle.png");}
81 virtual bool isValid()
const;
82 virtual QString getAsSingleLineString()
const;
84 virtual void addXml(QDomNode& dataNode);
85 virtual void parseXml(QDomNode& dataNode);
87 virtual Vector3D getRefCoord()
const;
97 virtual QString getValueAsString()
const;
99 bool getUseSimpleVisualization()
const;
100 void setUseSimpleVisualization(
bool val);
103 void resetCachedValues();
106 boost::array<DataPtr, 4> mArgument;
108 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.