![]() |
CustusX
22.09
An IGT application
|
#include <cxToolMetric.h>
Public Member Functions | |
virtual | ~ToolMetric () |
double | getToolOffset () const |
void | setToolOffset (double val) |
QString | getToolName () const |
void | setToolName (const QString &val) |
virtual QString | getType () const |
virtual QIcon | getIcon () |
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... | |
![]() | |
FrameMetricBase (const QString &uid, const QString &name, PatientModelServicePtr dataManager, SpaceProviderPtr spaceProvider) | |
virtual | ~FrameMetricBase () |
virtual void | setFrame (const Transform3D &qMt) |
virtual Transform3D | getFrame () |
virtual Vector3D | getCoordinate () const |
virtual Vector3D | getRefCoord () const |
as getRefFrame, but coord only. More... | |
virtual Transform3D | getRefFrame () const |
return frame described in ref space r : rFt = rMq * qFt More... | |
virtual void | setSpace (CoordinateSystem space) |
virtual CoordinateSystem | getSpace () const |
virtual DoubleBoundingBox3D | boundingBox () const |
virtual QString | getValueAsString () const |
virtual bool | showValueInGraphics () const |
virtual QString | getParentSpace () |
![]() | |
DataMetric (const QString &uid, const QString &name, PatientModelServicePtr dataManager, SpaceProviderPtr spaceProvider) | |
virtual | ~DataMetric () |
virtual QString | getSpace () |
virtual bool | isValid () const |
void | setColor (const QColor &color) |
QColor | getColor () |
virtual bool | load (QString path, FileManagerServicePtr filemanager) |
metrics don't store info in file, xml only. More... | |
virtual void | save (const QString &basePath, FileManagerServicePtr filemanager) |
metrics don't store info in file, xml only. More... | |
![]() | |
Data (const QString &uid, const QString &name="") | |
virtual | ~Data () |
void | setUid (const QString &uid) |
void | setName (const QString &name) |
void | setAcquisitionTime (QDateTime time) |
void | setSoftwareAcquisitionTime (QDateTime time) |
void | setOriginalAcquisitionTime (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 TimeInfo | getAdvancedTimeInfo () const |
virtual bool | isEqual (DataPtr metric) |
virtual QString | getFilename () const |
virtual void | setFilename (QString val) |
virtual std::vector< Vector3D > | getPointCloud () const |
virtual CoordinateSystem | getCoordinateSystem () |
virtual void | addPersistentClipPlane (vtkPlanePtr plane) |
virtual std::vector< vtkPlanePtr > | getAllClipPlanes () |
virtual void | clearPersistentClipPlanes () |
virtual void | setInteractiveClipPlane (vtkPlanePtr plane) |
set a plane that is not saved More... | |
void | addInteractiveClipPlane (vtkPlanePtr plane) |
void | removeInteractiveClipPlane (vtkPlanePtr plane) |
Static Public Member Functions | |
static ToolMetricPtr | create (QString uid, QString name, PatientModelServicePtr dataManager, SpaceProviderPtr spaceProvider) |
static QString | getTypeName () |
Additional Inherited Members | |
![]() | |
void | transformChanged () |
emitted when transform is changed More... | |
void | propertiesChanged () |
emitted when one of the metadata properties (uid, name etc) changes More... | |
void | clipPlanesChanged () |
![]() | |
virtual void | transformChangedSlot () |
![]() | |
QString | matrixAsSingleLineString () const |
![]() | |
CoordinateSystem | mSpace |
SpaceListenerPtr | mSpaceListener |
Transform3D | mFrame |
frame qFt described in local space q = mSpace More... | |
![]() | |
PatientModelServicePtr | mDataManager |
SpaceProviderPtr | mSpaceProvider |
QColor | mColor |
![]() | |
QString | mUid |
QString | mName |
QString | mFilename |
TimeInfo | mTimeInfo |
LandmarksPtr | mLandmarks |
REGISTRATION_STATUS | mRegistrationStatus |
RegistrationHistoryPtr | m_rMd_History |
std::vector< vtkPlanePtr > | mPersistentClipPlanes |
std::vector< vtkPlanePtr > | mInteractiveClipPlanes |
vtkPlanePtr | mInteractiveClipPlane |
Metric class containing a snapshot of a tool at a given point in time.
The transform is attached to a specific coordinate system / frame.
Definition at line 37 of file cxToolMetric.h.
|
virtual |
Definition at line 42 of file cxToolMetric.cpp.
|
virtual |
adds xml information about the data and its variabels
Reimplemented from cx::DataMetric.
Definition at line 68 of file cxToolMetric.cpp.
|
static |
Definition at line 24 of file cxToolMetric.cpp.
|
inlinevirtual |
Reimplemented from cx::DataMetric.
Definition at line 56 of file cxToolMetric.h.
QString cx::ToolMetric::getToolName | ( | ) | const |
Definition at line 57 of file cxToolMetric.cpp.
double cx::ToolMetric::getToolOffset | ( | ) | const |
Definition at line 46 of file cxToolMetric.cpp.
|
inlinevirtual |
Implements cx::FrameMetricBase.
Definition at line 48 of file cxToolMetric.h.
|
inlinestatic |
Definition at line 52 of file cxToolMetric.h.
|
virtual |
Use a XML node to load data.
dataNode | A XML data representation of this object. |
Reimplemented from cx::DataMetric.
Definition at line 79 of file cxToolMetric.cpp.
void cx::ToolMetric::setToolName | ( | const QString & | val | ) |
Definition at line 62 of file cxToolMetric.cpp.
void cx::ToolMetric::setToolOffset | ( | double | val | ) |
Definition at line 51 of file cxToolMetric.cpp.