![]() |
CustusX
15.4.0-beta
An IGT application
|
Data class that represents a donut. More...
#include <cxShapedMetric.h>
Public Member Functions | |
| virtual | ~DonutMetric () |
| virtual bool | isValid () const |
| virtual QString | getAsSingleLineString () const |
| void | setRadius (double val) |
| double | getRadius () const |
| void | setThickness (double val) |
| double | getThickness () const |
| void | setHeight (double val) |
| double | getHeight () const |
| bool | getFlat () const |
| void | setFlat (bool val) |
| Vector3D | getPosition () |
| Vector3D | getDirection () |
| MetricReferenceArgumentListPtr | getArguments () |
| virtual void | addXml (QDomNode &dataNode) |
| adds xml information about the data and its variabels More... | |
| virtual void | parseXml (QDomNode &dataNode) |
| Use a XML node to load data. More... | |
| virtual DoubleBoundingBox3D | boundingBox () const |
| virtual Vector3D | getRefCoord () const |
| virtual QString | getType () const |
| virtual QString | getValueAsString () const |
| virtual bool | showValueInGraphics () const |
Public Member Functions inherited from cx::DataMetric | |
| DataMetric (const QString &uid, const QString &name, PatientModelServicePtr dataManager, SpaceProviderPtr spaceProvider) | |
| virtual | ~DataMetric () |
| virtual QString | getSpace () |
| void | setColor (const QColor &color) |
| QColor | getColor () |
| virtual bool | load (QString path) |
| metrics don't store info in file, xml only. More... | |
| virtual void | save (const QString &basePath) |
| metrics don't store info in file, xml only. More... | |
Public Member Functions inherited from cx::Data | |
| Data (const QString &uid, const QString &name="") | |
| virtual | ~Data () |
| void | setUid (const QString &uid) |
| void | setName (const QString &name) |
| void | setAcquisitionTime (QDateTime time) |
| virtual RegistrationHistoryPtr | get_rMd_History () |
| LandmarksPtr | getLandmarks () |
| virtual QString | getUid () const |
| virtual QString | getName () const |
| virtual Transform3D | get_rMd () const |
| virtual QDateTime | getAcquisitionTime () const |
| virtual QString | getFilename () const |
| virtual void | setFilename (QString val) |
| virtual QString | getParentSpace () |
| virtual CoordinateSystem | getCoordinateSystem () |
Static Public Member Functions | |
| static DonutMetricPtr | create (QString uid, QString name, PatientModelServicePtr dataManager, SpaceProviderPtr spaceProvider) |
| static QString | getTypeName () |
Additional Inherited Members | |
Signals inherited from cx::Data | |
| void | transformChanged () |
| emitted when transform is changed More... | |
| void | propertiesChanged () |
| emitted when one of the metadata properties (uid, name etc) changes More... | |
Protected Slots inherited from cx::Data | |
| virtual void | transformChangedSlot () |
Protected Member Functions inherited from cx::DataMetric | |
| QString | getSingleLineHeader () const |
Protected Attributes inherited from cx::DataMetric | |
| PatientModelServicePtr | mDataManager |
| SpaceProviderPtr | mSpaceProvider |
| QColor | mColor |
Protected Attributes inherited from cx::Data | |
| QString | mUid |
| QString | mName |
| QString | mFilename |
| QDateTime | mAcquisitionTime |
| LandmarksPtr | mLandmarks |
| REGISTRATION_STATUS | mRegistrationStatus |
| RegistrationHistoryPtr | m_rMd_History |
Data class that represents a donut.
The donut can be used as a targeting device, for example using needle injection. Use a point metric and a donut metric in a line, and target by visually placing the point inside the donut to aim along the line.
Definition at line 61 of file cxShapedMetric.h.
|
virtual |
Definition at line 59 of file cxShapedMetric.cpp.
|
virtual |
adds xml information about the data and its variabels
Reimplemented from cx::DataMetric.
Definition at line 63 of file cxShapedMetric.cpp.
|
virtual |
Implements cx::Data.
Definition at line 95 of file cxShapedMetric.cpp.
|
static |
Definition at line 54 of file cxShapedMetric.cpp.
|
inline |
Definition at line 83 of file cxShapedMetric.h.
|
virtual |
Implements cx::DataMetric.
Definition at line 120 of file cxShapedMetric.cpp.
| Vector3D cx::DonutMetric::getDirection | ( | ) |
Definition at line 108 of file cxShapedMetric.cpp.
| bool cx::DonutMetric::getFlat | ( | ) | const |
Definition at line 165 of file cxShapedMetric.cpp.
| double cx::DonutMetric::getHeight | ( | ) | const |
Definition at line 154 of file cxShapedMetric.cpp.
| Vector3D cx::DonutMetric::getPosition | ( | ) |
Definition at line 100 of file cxShapedMetric.cpp.
| double cx::DonutMetric::getRadius | ( | ) | const |
Definition at line 133 of file cxShapedMetric.cpp.
|
virtual |
Implements cx::DataMetric.
Definition at line 90 of file cxShapedMetric.cpp.
| double cx::DonutMetric::getThickness | ( | ) | const |
Definition at line 144 of file cxShapedMetric.cpp.
|
inlinevirtual |
Reimplemented from cx::Data.
Definition at line 88 of file cxShapedMetric.h.
|
inlinestatic |
Definition at line 92 of file cxShapedMetric.h.
|
inlinevirtual |
Implements cx::DataMetric.
Definition at line 96 of file cxShapedMetric.h.
|
virtual |
Reimplemented from cx::DataMetric.
Definition at line 85 of file cxShapedMetric.cpp.
|
virtual |
Use a XML node to load data.
| dataNode | A XML data representation of this object. |
Reimplemented from cx::DataMetric.
Definition at line 74 of file cxShapedMetric.cpp.
| void cx::DonutMetric::setFlat | ( | bool | val | ) |
Definition at line 159 of file cxShapedMetric.cpp.
| void cx::DonutMetric::setHeight | ( | double | val | ) |
Definition at line 149 of file cxShapedMetric.cpp.
| void cx::DonutMetric::setRadius | ( | double | val | ) |
Definition at line 127 of file cxShapedMetric.cpp.
| void cx::DonutMetric::setThickness | ( | double | val | ) |
Definition at line 138 of file cxShapedMetric.cpp.
|
inlinevirtual |
Reimplemented from cx::DataMetric.
Definition at line 97 of file cxShapedMetric.h.