35 #ifndef CXANGLEMETRIC_H_ 36 #define CXANGLEMETRIC_H_ 38 #include "cxResourceExport.h" 74 double getAngle()
const;
75 std::vector<Vector3D> getEndpoints()
const;
76 virtual QIcon
getIcon() {
return QIcon(
":/icons/metric_angle.png");}
78 virtual bool isValid()
const;
80 virtual void addXml(QDomNode& dataNode);
81 virtual void parseXml(QDomNode& dataNode);
83 virtual Vector3D getRefCoord()
const;
93 virtual QString getValueAsString()
const;
95 bool getUseSimpleVisualization()
const;
96 void setUseSimpleVisualization(
bool val);
99 void resetCachedValues();
102 boost::array<DataPtr, 4> mArgument;
104 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.
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.
Namespace for all CustusX production code.