32 #ifndef CXSPHEREMETRIC_H
33 #define CXSPHEREMETRIC_H
35 #include "cxResourceExport.h"
67 virtual bool isValid()
const;
68 virtual QString getAsSingleLineString()
const;
70 void setRadius(
double val);
71 double getRadius()
const;
73 virtual void addXml(QDomNode& dataNode);
74 virtual void parseXml(QDomNode& dataNode);
76 virtual Vector3D getRefCoord()
const;
83 return "SphereMetric";
85 virtual QIcon
getIcon() {
return QIcon(
":/icons/metric_sphere.png");}
86 virtual QString getValueAsString()
const;
101 #endif // CXSPHEREMETRIC_H
boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
virtual QString getType() const
MetricReferenceArgumentListPtr getArguments()
boost::shared_ptr< class SphereMetric > SphereMetricPtr
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
static QString getTypeName()
cxLogicManager_EXPORT SpaceProviderPtr spaceProvider()
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
Base class for all Data Metrics.