Fraxinus  16.5.0-fx-rc1
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::Data Class Referenceabstract

Superclass for all data objects. More...

#include <cxData.h>

Inheritance diagram for cx::Data:
cx::DataMetric cx::Image cx::Mesh cx::TrackedStream cx::AngleMetric cx::DistanceMetric cx::DonutMetric cx::FrameMetricBase cx::PlaneMetric cx::PointMetric cx::SphereMetric cx::NavigatedVideoImage cx::UnsignedDerivedImage

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< vtkPlanePtrgetAllClipPlanes ()
 
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< vtkPlanePtrmPersistentClipPlanes
 
std::vector< vtkPlanePtrmInteractiveClipPlanes
 
vtkPlanePtr mInteractiveClipPlane
 

Detailed Description

Superclass for all data objects.

Example suclasses: Image and Mesh.

Definition at line 109 of file cxData.h.

Constructor & Destructor Documentation

cx::Data::Data ( const QString &  uid,
const QString &  name = "" 
)

Definition at line 51 of file cxData.cpp.

cx::Data::~Data ( )
virtual

Definition at line 69 of file cxData.cpp.

Member Function Documentation

void cx::Data::addInteractiveClipPlane ( vtkPlanePtr  plane)

Definition at line 257 of file cxData.cpp.

void cx::Data::addPersistentClipPlane ( vtkPlanePtr  plane)
virtual

Definition at line 220 of file cxData.cpp.

void cx::Data::addXml ( QDomNode &  dataNode)
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.

void cx::Data::clearPersistentClipPlanes ( )
virtual

Definition at line 245 of file cxData.cpp.

void cx::Data::clipPlanesChanged ( )
signal
Transform3D cx::Data::get_rMd ( ) const
virtual
Returns
a descriptive name for this instance
the transform M_rd from the data object's space (d) to the reference space (r).
Transform from local data space to (data-)ref space

Reimplemented in cx::UnsignedDerivedImage, and cx::NavigatedVideoImage.

Definition at line 106 of file cxData.cpp.

RegistrationHistoryPtr cx::Data::get_rMd_History ( )
virtual

Reimplemented in cx::UnsignedDerivedImage.

Definition at line 111 of file cxData.cpp.

QDateTime cx::Data::getAcquisitionTime ( ) const
virtual

Get the time the data was created from a data source.

Reimplemented in cx::UnsignedDerivedImage.

Definition at line 171 of file cxData.cpp.

TimeInfo cx::Data::getAdvancedTimeInfo ( ) const
virtual

Definition at line 187 of file cxData.cpp.

std::vector< vtkPlanePtr > cx::Data::getAllClipPlanes ( )
virtual

Definition at line 232 of file cxData.cpp.

CoordinateSystem cx::Data::getCoordinateSystem ( )
virtual

Reimplemented in cx::UnsignedDerivedImage.

Definition at line 213 of file cxData.cpp.

QString cx::Data::getFilename ( ) const
virtual

Reimplemented in cx::UnsignedDerivedImage.

Definition at line 94 of file cxData.cpp.

virtual QIcon cx::Data::getIcon ( )
inlinevirtual
LandmarksPtr cx::Data::getLandmarks ( )

Definition at line 207 of file cxData.cpp.

QString cx::Data::getName ( ) const
virtual

Reimplemented in cx::UnsignedDerivedImage.

Definition at line 89 of file cxData.cpp.

QString cx::Data::getParentSpace ( )
virtual

Reimplemented in cx::UnsignedDerivedImage, cx::FrameMetricBase, and cx::PointMetric.

Definition at line 121 of file cxData.cpp.

QString cx::Data::getSpace ( )
virtual

Reimplemented in cx::UnsignedDerivedImage, and cx::DataMetric.

Definition at line 116 of file cxData.cpp.

QString cx::Data::getUid ( ) const
virtual
Returns
unique id for this instance

Definition at line 84 of file cxData.cpp.

virtual bool cx::Data::load ( QString  path)
pure virtual
void cx::Data::parseXml ( QDomNode &  dataNode)
virtual

Use a XML node to load data.

Parameters
dataNodeA 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.

void cx::Data::propertiesChanged ( )
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.

virtual void cx::Data::save ( const QString &  basePath)
pure virtual
void cx::Data::setAcquisitionTime ( QDateTime  time)

Definition at line 192 of file cxData.cpp.

void cx::Data::setFilename ( QString  val)
virtual

Definition at line 98 of file cxData.cpp.

void cx::Data::setInteractiveClipPlane ( vtkPlanePtr  plane)
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.

void cx::Data::transformChanged ( )
signal

emitted when transform is changed

virtual void cx::Data::transformChangedSlot ( )
inlineprotectedvirtualslot

Definition at line 166 of file cxData.h.

Member Data Documentation

RegistrationHistoryPtr cx::Data::m_rMd_History
protected

Definition at line 178 of file cxData.h.

QString cx::Data::mFilename
protected

Definition at line 173 of file cxData.h.

vtkPlanePtr cx::Data::mInteractiveClipPlane
protected

Definition at line 181 of file cxData.h.

std::vector<vtkPlanePtr> cx::Data::mInteractiveClipPlanes
protected

Definition at line 180 of file cxData.h.

LandmarksPtr cx::Data::mLandmarks
protected

Definition at line 175 of file cxData.h.

QString cx::Data::mName
protected

Definition at line 172 of file cxData.h.

std::vector<vtkPlanePtr> cx::Data::mPersistentClipPlanes
protected

Definition at line 179 of file cxData.h.

REGISTRATION_STATUS cx::Data::mRegistrationStatus
protected

Definition at line 177 of file cxData.h.

TimeInfo cx::Data::mTimeInfo
protected

Definition at line 174 of file cxData.h.

QString cx::Data::mUid
protected

Definition at line 171 of file cxData.h.


The documentation for this class was generated from the following files: