32 #ifndef CXSHAPEDMETRIC_H
33 #define CXSHAPEDMETRIC_H
35 #include "cxResourceExport.h"
68 virtual bool isValid()
const;
69 virtual QString getAsSingleLineString()
const;
71 void setRadius(
double val);
72 double getRadius()
const;
73 void setThickness(
double val);
74 double getThickness()
const;
75 void setHeight(
double val);
76 double getHeight()
const;
78 void setFlat(
bool val);
84 virtual void addXml(QDomNode& dataNode);
85 virtual void parseXml(QDomNode& dataNode);
87 virtual Vector3D getRefCoord()
const;
113 #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.