CustusX
15.3.3-beta
An IGT application
|
Superclass for all data objects. More...
#include <cxData.h>
Signals | |
void | transformChanged () |
emitted when transform is changed More... | |
void | propertiesChanged () |
emitted when one of the metadata properties (uid, name etc) changes More... | |
Public Member Functions | |
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 | getType () const |
virtual QString | getFilename () const |
virtual void | setFilename (QString val) |
virtual QString | getSpace () |
virtual QString | getParentSpace () |
virtual DoubleBoundingBox3D | boundingBox () const =0 |
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 bool | load (QString path)=0 |
virtual void | save (const QString &basePath)=0 |
virtual CoordinateSystem | getCoordinateSystem () |
Protected Slots | |
virtual void | transformChangedSlot () |
Protected Attributes | |
QString | mUid |
QString | mName |
QString | mFilename |
QDateTime | mAcquisitionTime |
LandmarksPtr | mLandmarks |
REGISTRATION_STATUS | mRegistrationStatus |
RegistrationHistoryPtr | m_rMd_History |
cx::Data::Data | ( | const QString & | uid, |
const QString & | name = "" |
||
) |
Definition at line 47 of file cxData.cpp.
|
virtual |
Definition at line 63 of file cxData.cpp.
|
virtual |
adds xml information about the data and its variabels
Reimplemented in cx::Image, cx::PlaneMetric, cx::PointMetric, cx::DonutMetric, cx::AngleMetric, cx::DataMetric, cx::ToolMetric, cx::DistanceMetric, cx::Mesh, cx::SphereMetric, cx::FrameMetric, and cx::TrackedStream.
Definition at line 120 of file cxData.cpp.
|
pure virtual |
|
virtual |
Reimplemented in cx::UnsignedDerivedImage, and cx::NavigatedVideoImage.
Definition at line 100 of file cxData.cpp.
|
virtual |
Reimplemented in cx::UnsignedDerivedImage.
Definition at line 105 of file cxData.cpp.
|
virtual |
Get the time the data was created from a data source.
Reimplemented in cx::UnsignedDerivedImage.
Definition at line 165 of file cxData.cpp.
|
virtual |
Reimplemented in cx::UnsignedDerivedImage.
Definition at line 192 of file cxData.cpp.
|
virtual |
Reimplemented in cx::UnsignedDerivedImage.
Definition at line 88 of file cxData.cpp.
LandmarksPtr cx::Data::getLandmarks | ( | ) |
Definition at line 186 of file cxData.cpp.
|
virtual |
Reimplemented in cx::UnsignedDerivedImage.
Definition at line 83 of file cxData.cpp.
|
virtual |
Reimplemented in cx::UnsignedDerivedImage.
Definition at line 115 of file cxData.cpp.
|
virtual |
Reimplemented in cx::UnsignedDerivedImage, and cx::DataMetric.
Definition at line 110 of file cxData.cpp.
|
inlinevirtual |
|
virtual |
Definition at line 78 of file cxData.cpp.
|
pure virtual |
Implemented in cx::Image, cx::DataMetric, cx::Mesh, and cx::TrackedStream.
|
virtual |
Use a XML node to load data.
dataNode | A XML data representation of this object. |
Reimplemented in cx::Image, cx::PlaneMetric, cx::PointMetric, cx::DonutMetric, cx::AngleMetric, cx::DataMetric, cx::ToolMetric, cx::DistanceMetric, cx::Mesh, cx::SphereMetric, cx::FrameMetric, and cx::TrackedStream.
Definition at line 146 of file cxData.cpp.
|
signal |
emitted when one of the metadata properties (uid, name etc) changes
|
pure virtual |
Implemented in cx::Image, cx::Mesh, cx::DataMetric, and cx::TrackedStream.
void cx::Data::setAcquisitionTime | ( | QDateTime | time | ) |
Definition at line 181 of file cxData.cpp.
|
virtual |
Definition at line 92 of file cxData.cpp.
void cx::Data::setName | ( | const QString & | name | ) |
Definition at line 72 of file cxData.cpp.
void cx::Data::setUid | ( | const QString & | uid | ) |
Definition at line 66 of file cxData.cpp.
|
signal |
emitted when transform is changed
|
inlineprotectedvirtualslot |
|
protected |
|
protected |
|
protected |