13 #ifndef CXPOINTMETRIC_H_ 14 #define CXPOINTMETRIC_H_ 16 #include "cxResourceExport.h" 25 struct CoordinateSystem;
48 virtual QString getParentSpace();
50 void setCoordinate(
const Vector3D& p);
62 virtual QIcon
getIcon() {
return QIcon(
":/icons/metric_point.png");}
63 virtual Vector3D getRefCoord()
const;
65 virtual void addXml(QDomNode& dataNode);
66 virtual void parseXml(QDomNode& dataNode);
69 virtual QString getValueAsString()
const;
73 void resetCachedValues();
boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
virtual QString getType() const
virtual bool showValueInGraphics() const
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
Identification of a Coordinate system.
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.
Data class that represents a single point.
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
static QString getTypeName()
boost::shared_ptr< class SpaceListener > SpaceListenerPtr
Base class for all Data Metrics.
Namespace for all CustusX production code.
boost::shared_ptr< class PointMetric > PointMetricPtr