NorMIT-nav
16.5
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... | |
void | clipPlanesChanged () |
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) |
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 QString | getType () const |
virtual QIcon | getIcon () |
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 () |
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) |
Protected Slots | |
virtual void | transformChangedSlot () |
Protected Attributes | |
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 |
cx::Data::Data | ( | const QString & | uid, |
const QString & | name = "" |
||
) |
Definition at line 51 of file cxData.cpp.
|
virtual |
Definition at line 69 of file cxData.cpp.
void cx::Data::addInteractiveClipPlane | ( | vtkPlanePtr | plane | ) |
Definition at line 257 of file cxData.cpp.
|
virtual |
Definition at line 220 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 126 of file cxData.cpp.
|
pure virtual |
|
virtual |
Definition at line 245 of file cxData.cpp.
|
signal |
|
virtual |
Reimplemented in cx::UnsignedDerivedImage, and cx::NavigatedVideoImage.
Definition at line 106 of file cxData.cpp.
|
virtual |
Reimplemented in cx::UnsignedDerivedImage.
Definition at line 111 of file cxData.cpp.
|
virtual |
Get the time the data was created from a data source.
Reimplemented in cx::UnsignedDerivedImage.
Definition at line 171 of file cxData.cpp.
|
virtual |
Definition at line 187 of file cxData.cpp.
|
virtual |
Definition at line 232 of file cxData.cpp.
|
virtual |
Reimplemented in cx::UnsignedDerivedImage.
Definition at line 213 of file cxData.cpp.
|
virtual |
Reimplemented in cx::UnsignedDerivedImage.
Definition at line 94 of file cxData.cpp.
|
inlinevirtual |
Reimplemented in cx::Image, cx::PlaneMetric, cx::Mesh, cx::SphereMetric, cx::PointMetric, cx::ToolMetric, cx::AngleMetric, cx::DataMetric, cx::DonutMetric, cx::FrameMetric, and cx::DistanceMetric.
LandmarksPtr cx::Data::getLandmarks | ( | ) |
Definition at line 207 of file cxData.cpp.
|
virtual |
Reimplemented in cx::UnsignedDerivedImage.
Definition at line 89 of file cxData.cpp.
|
virtual |
Reimplemented in cx::UnsignedDerivedImage, cx::FrameMetricBase, and cx::PointMetric.
Definition at line 121 of file cxData.cpp.
|
virtual |
Reimplemented in cx::UnsignedDerivedImage, and cx::DataMetric.
Definition at line 116 of file cxData.cpp.
|
inlinevirtual |
|
virtual |
Definition at line 84 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 152 of file cxData.cpp.
|
signal |
emitted when one of the metadata properties (uid, name etc) changes
void cx::Data::removeInteractiveClipPlane | ( | vtkPlanePtr | plane | ) |
Definition at line 262 of file cxData.cpp.
|
pure virtual |
Implemented in cx::Image, cx::Mesh, cx::DataMetric, and cx::TrackedStream.
void cx::Data::setAcquisitionTime | ( | QDateTime | time | ) |
Definition at line 192 of file cxData.cpp.
|
virtual |
Definition at line 98 of file cxData.cpp.
|
virtual |
set a plane that is not saved
Definition at line 251 of file cxData.cpp.
void cx::Data::setName | ( | const QString & | name | ) |
Definition at line 78 of file cxData.cpp.
void cx::Data::setOriginalAcquisitionTime | ( | QDateTime | time | ) |
Definition at line 202 of file cxData.cpp.
void cx::Data::setSoftwareAcquisitionTime | ( | QDateTime | time | ) |
Definition at line 197 of file cxData.cpp.
void cx::Data::setUid | ( | const QString & | uid | ) |
Definition at line 72 of file cxData.cpp.
|
signal |
emitted when transform is changed
|
inlineprotectedvirtualslot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |