14 #ifndef CXANGLEMETRIC_H_ 15 #define CXANGLEMETRIC_H_ 17 #include "cxResourceExport.h" 53 double getAngle()
const;
54 std::vector<Vector3D> getEndpoints()
const;
55 virtual QIcon
getIcon() {
return QIcon(
":/icons/metric_angle.png");}
57 virtual bool isValid()
const;
59 virtual void addXml(QDomNode& dataNode);
60 virtual void parseXml(QDomNode& dataNode);
62 virtual Vector3D getRefCoord()
const;
72 virtual QString getValueAsString()
const;
74 bool getUseSimpleVisualization()
const;
75 void setUseSimpleVisualization(
bool val);
78 void resetCachedValues();
81 boost::array<DataPtr, 4> mArgument;
83 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.