11 #ifndef CXSPHEREMETRIC_H 12 #define CXSPHEREMETRIC_H 14 #include "cxResourceExport.h" 45 virtual bool isValid()
const;
47 void setRadius(
double val);
48 double getRadius()
const;
50 virtual void addXml(QDomNode& dataNode);
51 virtual void parseXml(QDomNode& dataNode);
53 virtual Vector3D getRefCoord()
const;
60 return "SphereMetric";
62 virtual QIcon
getIcon() {
return QIcon(
":/icons/metric_sphere.png");}
63 virtual QString getValueAsString()
const;
78 #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()
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.