Fraxinus
2023.01.05-dev+develop.0da12
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 bool | isEqual (DataPtr metric) |
virtual QString | getFilename () const |
virtual void | setFilename (QString val) |
virtual QString | getSpace () |
virtual QString | getParentSpace () |
virtual DoubleBoundingBox3D | boundingBox () const =0 |
virtual std::vector< Vector3D > | getPointCloud () const |
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, FileManagerServicePtr port)=0 |
virtual void | save (const QString &basePath, FileManagerServicePtr port)=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 31 of file cxData.cpp.
|
virtual |
Definition at line 49 of file cxData.cpp.
void cx::Data::addInteractiveClipPlane | ( | vtkPlanePtr | plane | ) |
Definition at line 259 of file cxData.cpp.
|
virtual |
Definition at line 222 of file cxData.cpp.
|
virtual |
adds xml information about the data and its variabels
Reimplemented in cx::Image, cx::RegionOfInterestMetric, cx::PlaneMetric, cx::CustomMetric, cx::PointMetric, cx::DonutMetric, cx::DistanceMetric, cx::DataMetric, cx::Mesh, cx::AngleMetric, cx::ToolMetric, cx::SphereMetric, cx::FrameMetric, and cx::TrackedStream.
Definition at line 123 of file cxData.cpp.
|
pure virtual |
|
virtual |
Definition at line 247 of file cxData.cpp.
|
signal |
|
virtual |
Reimplemented in cx::UnsignedDerivedImage, and cx::NavigatedVideoImage.
Definition at line 86 of file cxData.cpp.
|
virtual |
Reimplemented in cx::UnsignedDerivedImage.
Definition at line 91 of file cxData.cpp.
|
virtual |
Get the time the data was created from a data source.
Reimplemented in cx::UnsignedDerivedImage.
Definition at line 168 of file cxData.cpp.
|
virtual |
Definition at line 184 of file cxData.cpp.
|
virtual |
Definition at line 234 of file cxData.cpp.
|
virtual |
Reimplemented in cx::UnsignedDerivedImage.
Definition at line 215 of file cxData.cpp.
|
virtual |
Reimplemented in cx::UnsignedDerivedImage.
Definition at line 74 of file cxData.cpp.
|
inlinevirtual |
Reimplemented in cx::Image, cx::Mesh, cx::PlaneMetric, cx::PointMetric, cx::SphereMetric, cx::ToolMetric, cx::AngleMetric, cx::DataMetric, cx::CustomMetric, cx::DonutMetric, cx::FrameMetric, and cx::DistanceMetric.
LandmarksPtr cx::Data::getLandmarks | ( | ) |
Definition at line 209 of file cxData.cpp.
|
virtual |
Reimplemented in cx::UnsignedDerivedImage.
Definition at line 69 of file cxData.cpp.
|
virtual |
Reimplemented in cx::UnsignedDerivedImage, cx::FrameMetricBase, and cx::PointMetric.
Definition at line 101 of file cxData.cpp.
|
virtual |
Reimplemented in cx::CustomMetric.
Definition at line 106 of file cxData.cpp.
|
virtual |
Reimplemented in cx::UnsignedDerivedImage, and cx::DataMetric.
Definition at line 96 of file cxData.cpp.
|
inlinevirtual |
|
virtual |
Definition at line 64 of file cxData.cpp.
|
virtual |
Definition at line 189 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::RegionOfInterestMetric, cx::PlaneMetric, cx::CustomMetric, cx::PointMetric, cx::DonutMetric, cx::DistanceMetric, cx::DataMetric, cx::Mesh, cx::AngleMetric, cx::ToolMetric, cx::SphereMetric, cx::FrameMetric, and cx::TrackedStream.
Definition at line 149 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 264 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 194 of file cxData.cpp.
|
virtual |
Definition at line 78 of file cxData.cpp.
|
virtual |
set a plane that is not saved
Definition at line 253 of file cxData.cpp.
void cx::Data::setName | ( | const QString & | name | ) |
Definition at line 58 of file cxData.cpp.
void cx::Data::setOriginalAcquisitionTime | ( | QDateTime | time | ) |
Definition at line 204 of file cxData.cpp.
void cx::Data::setSoftwareAcquisitionTime | ( | QDateTime | time | ) |
Definition at line 199 of file cxData.cpp.
void cx::Data::setUid | ( | const QString & | uid | ) |
Definition at line 52 of file cxData.cpp.
|
signal |
emitted when transform is changed
|
inlineprotectedvirtualslot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |