11 #ifndef CXSHAPEDMETRIC_H 12 #define CXSHAPEDMETRIC_H 14 #include "cxResourceExport.h" 47 virtual bool isValid()
const;
48 virtual QIcon
getIcon() {
return QIcon(
":/icons/metric_torus.png");}
50 void setRadius(
double val);
51 double getRadius()
const;
52 void setThickness(
double val);
53 double getThickness()
const;
54 void setHeight(
double val);
55 double getHeight()
const;
57 void setFlat(
bool val);
63 virtual void addXml(QDomNode& dataNode);
64 virtual void parseXml(QDomNode& dataNode);
66 virtual Vector3D getRefCoord()
const;
92 #endif // CXSHAPEDMETRIC_H boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
boost::shared_ptr< class DonutMetric > DonutMetricPtr
virtual QString getType() const
static QString getTypeName()
MetricReferenceArgumentListPtr getArguments()
virtual QString getValueAsString() const
Data class that represents a donut.
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.
virtual bool showValueInGraphics() const
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
Base class for all Data Metrics.
Namespace for all CustusX production code.