NorMIT-nav  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::FrameMetric Class Reference

Data class that represents a single frame (transform). More...

#include <cxFrameMetric.h>

Inheritance diagram for cx::FrameMetric:
cx::FrameMetricBase cx::DataMetric cx::Data

Public Member Functions

virtual ~FrameMetric ()
 
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...
 
virtual QString getAsSingleLineString () const
 
- Public Member Functions inherited from cx::FrameMetricBase
 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 ()
 
- Public Member Functions inherited from cx::DataMetric
 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)
 metrics don't store info in file, xml only. More...
 
virtual void save (const QString &basePath)
 metrics don't store info in file, xml only. More...
 
- Public Member Functions inherited from cx::Data
 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 getFilename () const
 
virtual void setFilename (QString val)
 
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)
 

Static Public Member Functions

static FrameMetricPtr create (QString uid, QString name, PatientModelServicePtr dataManager, SpaceProviderPtr spaceProvider)
 
static QString getTypeName ()
 

Additional Inherited Members

- Signals inherited from cx::Data
void transformChanged ()
 emitted when transform is changed More...
 
void propertiesChanged ()
 emitted when one of the metadata properties (uid, name etc) changes More...
 
void clipPlanesChanged ()
 
- Protected Slots inherited from cx::Data
virtual void transformChangedSlot ()
 
- Protected Member Functions inherited from cx::FrameMetricBase
QString matrixAsSingleLineString () const
 
- Protected Member Functions inherited from cx::DataMetric
QString getSingleLineHeader () const
 
- Protected Attributes inherited from cx::FrameMetricBase
CoordinateSystem mSpace
 
SpaceListenerPtr mSpaceListener
 
Transform3D mFrame
 frame qFt described in local space q = mSpace More...
 
- Protected Attributes inherited from cx::DataMetric
PatientModelServicePtr mDataManager
 
SpaceProviderPtr mSpaceProvider
 
QColor mColor
 
- Protected Attributes inherited from cx::Data
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

Data class that represents a single frame (transform).

The transform is attached to a specific coordinate system / frame.

Date
Aug 25, 2013
Author
Ole Vegard Solberg, SINTEF

Definition at line 54 of file cxFrameMetric.h.

Constructor & Destructor Documentation

cx::FrameMetric::~FrameMetric ( )
virtual

Definition at line 50 of file cxFrameMetric.cpp.

Member Function Documentation

void cx::FrameMetric::addXml ( QDomNode &  dataNode)
virtual

adds xml information about the data and its variabels

Reimplemented from cx::DataMetric.

Definition at line 54 of file cxFrameMetric.cpp.

FrameMetricPtr cx::FrameMetric::create ( QString  uid,
QString  name,
PatientModelServicePtr  dataManager,
SpaceProviderPtr  spaceProvider 
)
static

Definition at line 40 of file cxFrameMetric.cpp.

QString cx::FrameMetric::getAsSingleLineString ( ) const
virtual

Implements cx::DataMetric.

Definition at line 70 of file cxFrameMetric.cpp.

virtual QIcon cx::FrameMetric::getIcon ( )
inlinevirtual

Reimplemented from cx::DataMetric.

Definition at line 68 of file cxFrameMetric.h.

virtual QString cx::FrameMetric::getType ( ) const
inlinevirtual

Implements cx::FrameMetricBase.

Definition at line 60 of file cxFrameMetric.h.

static QString cx::FrameMetric::getTypeName ( )
inlinestatic

Definition at line 64 of file cxFrameMetric.h.

void cx::FrameMetric::parseXml ( QDomNode &  dataNode)
virtual

Use a XML node to load data.

Parameters
dataNodeA XML data representation of this object.

Reimplemented from cx::DataMetric.

Definition at line 62 of file cxFrameMetric.cpp.


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