32 #ifndef CXSHAPEDMETRIC_H
33 #define CXSHAPEDMETRIC_H
35 #include "cxResourceExport.h"
68 virtual bool isValid()
const;
69 virtual QString getAsSingleLineString()
const;
70 virtual QIcon
getIcon() {
return QIcon(
":/icons/metric_torus.png");}
72 void setRadius(
double val);
73 double getRadius()
const;
74 void setThickness(
double val);
75 double getThickness()
const;
76 void setHeight(
double val);
77 double getHeight()
const;
79 void setFlat(
bool val);
85 virtual void addXml(QDomNode& dataNode);
86 virtual void parseXml(QDomNode& dataNode);
88 virtual Vector3D getRefCoord()
const;
114 #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
cxLogicManager_EXPORT SpaceProviderPtr spaceProvider()
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
Base class for all Data Metrics.