|
NorMIT-nav
22.09
An IGT application
|
Go to the documentation of this file.
14 #ifndef CXDATAMETRIC_H_
15 #define CXDATAMETRIC_H_
17 #include "cxResourceExport.h"
49 virtual QIcon
getIcon() {
return QIcon(
":/icons/metric.png");}
51 virtual QString getSpace();
52 virtual Vector3D getRefCoord()
const = 0;
54 virtual bool isValid()
const {
return true; }
55 virtual QString getValueAsString()
const = 0;
58 void setColor(
const QColor& color);
61 void addXml(QDomNode& dataNode);
62 void parseXml(QDomNode& dataNode);
boost::shared_ptr< class SpaceListener > SpaceListenerPtr
Namespace for all CustusX production code.
PatientModelServicePtr mDataManager
boost::shared_ptr< DataMetric > DataMetricPtr
virtual bool isValid() const
boost::shared_ptr< class FileManagerService > FileManagerServicePtr
virtual bool showValueInGraphics() const
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
SpaceProviderPtr mSpaceProvider
Base class for all Data Metrics.
Transform3D createTransformTranslate(const Vector3D &translation)
virtual Transform3D getRefFrame() const
Superclass for all data objects.
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
boost::shared_ptr< class SpaceProvider > SpaceProviderPtr