|
NorMIT-nav
22.09
An IGT application
|
Go to the documentation of this file.
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
virtual bool showValueInGraphics() const
boost::shared_ptr< class MetricReferenceArgumentList > MetricReferenceArgumentListPtr
Representation of a floating-point bounding box in 3D. The data are stored as {xmin,...
static QString getTypeName()
Namespace for all CustusX production code.
boost::shared_ptr< class DonutMetric > DonutMetricPtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
MetricReferenceArgumentListPtr getArguments()
Data class that represents a donut.
Base class for all Data Metrics.
virtual QString getType() const
virtual QString getValueAsString() const
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
boost::shared_ptr< class SpaceProvider > SpaceProviderPtr