CustusX  22.04-rc2
An IGT application
cx::RegistrationHistoryNull Class Reference
Inheritance diagram for cx::RegistrationHistoryNull:
cx::RegistrationHistory

Public Member Functions

virtual void addXml (QDomNode &parentNode) const
 write internal state to node More...
 
virtual void parseXml (QDomNode &dataNode)
 read internal state from node More...
 
virtual void addOrUpdateRegistration (const RegistrationTransform &transform)
 
virtual void setRegistration (const Transform3D &transform)
 
virtual void addOrUpdateRegistration (const QDateTime &oldTime, const RegistrationTransform &newTransform)
 
virtual void setParentSpace (const QString &newParent)
 
virtual void addParentSpace (const QString &newParent)
 
virtual void addParentSpace (const ParentSpace &newParent)
 
virtual void updateParentSpace (const QDateTime &oldTime, const ParentSpace &newParent)
 
virtual std::vector< RegistrationTransformgetData () const
 
virtual std::vector< ParentSpacegetParentSpaces () const
 
virtual void removeNewerThan (const QDateTime &timestamp)
 
virtual void setActiveTime (const QDateTime &timestamp)
 
virtual QDateTime getActiveTime () const
 
virtual RegistrationTransform getCurrentRegistration () const
 
virtual ParentSpace getCurrentParentSpace ()
 
virtual void clear ()
 reset all data loaded from xml More...
 
virtual bool isNull () const
 

Additional Inherited Members

- Signals inherited from cx::RegistrationHistory
void currentChanged ()
 
- Static Public Member Functions inherited from cx::RegistrationHistory
static RegistrationHistoryPtr getNullObject ()
 

Detailed Description

NULL implementation of a registration transform

Definition at line 30 of file cxRegistrationTransform.cpp.

Member Function Documentation

virtual void cx::RegistrationHistoryNull::addOrUpdateRegistration ( const RegistrationTransform transform)
inlinevirtual

Definition at line 40 of file cxRegistrationTransform.cpp.

virtual void cx::RegistrationHistoryNull::addOrUpdateRegistration ( const QDateTime &  oldTime,
const RegistrationTransform newTransform 
)
inlinevirtual

Add one registration transform to the history. Replace the registration performed at oldTime with the new one, if the old is marked as temporary. Add = push Update = pop + push

Reimplemented from cx::RegistrationHistory.

Definition at line 46 of file cxRegistrationTransform.cpp.

virtual void cx::RegistrationHistoryNull::addParentSpace ( const QString &  newParent)
inlinevirtual

Reimplemented from cx::RegistrationHistory.

Definition at line 53 of file cxRegistrationTransform.cpp.

virtual void cx::RegistrationHistoryNull::addParentSpace ( const ParentSpace newParent)
inlinevirtual

Reimplemented from cx::RegistrationHistory.

Definition at line 56 of file cxRegistrationTransform.cpp.

virtual void cx::RegistrationHistoryNull::addXml ( QDomNode &  parentNode) const
inlinevirtual

write internal state to node

< write internal state to node

Reimplemented from cx::RegistrationHistory.

Definition at line 33 of file cxRegistrationTransform.cpp.

virtual void cx::RegistrationHistoryNull::clear ( )
inlinevirtual

reset all data loaded from xml

Reimplemented from cx::RegistrationHistory.

Definition at line 89 of file cxRegistrationTransform.cpp.

virtual QDateTime cx::RegistrationHistoryNull::getActiveTime ( ) const
inlinevirtual

Reimplemented from cx::RegistrationHistory.

Definition at line 77 of file cxRegistrationTransform.cpp.

virtual ParentSpace cx::RegistrationHistoryNull::getCurrentParentSpace ( )
inlinevirtual

Reimplemented from cx::RegistrationHistory.

Definition at line 85 of file cxRegistrationTransform.cpp.

virtual RegistrationTransform cx::RegistrationHistoryNull::getCurrentRegistration ( ) const
inlinevirtual

Reimplemented from cx::RegistrationHistory.

Definition at line 81 of file cxRegistrationTransform.cpp.

virtual std::vector<RegistrationTransform> cx::RegistrationHistoryNull::getData ( ) const
inlinevirtual

Reimplemented from cx::RegistrationHistory.

Definition at line 63 of file cxRegistrationTransform.cpp.

virtual std::vector<ParentSpace> cx::RegistrationHistoryNull::getParentSpaces ( ) const
inlinevirtual

Reimplemented from cx::RegistrationHistory.

Definition at line 67 of file cxRegistrationTransform.cpp.

virtual bool cx::RegistrationHistoryNull::isNull ( ) const
inlinevirtual

Reimplemented from cx::RegistrationHistory.

Definition at line 92 of file cxRegistrationTransform.cpp.

virtual void cx::RegistrationHistoryNull::parseXml ( QDomNode &  dataNode)
inlinevirtual

read internal state from node

Reimplemented from cx::RegistrationHistory.

Definition at line 36 of file cxRegistrationTransform.cpp.

virtual void cx::RegistrationHistoryNull::removeNewerThan ( const QDateTime &  timestamp)
inlinevirtual

Reimplemented from cx::RegistrationHistory.

Definition at line 71 of file cxRegistrationTransform.cpp.

virtual void cx::RegistrationHistoryNull::setActiveTime ( const QDateTime &  timestamp)
inlinevirtual

set the active time. Use only registrations performed at or prior to this time.

Reimplemented from cx::RegistrationHistory.

Definition at line 74 of file cxRegistrationTransform.cpp.

virtual void cx::RegistrationHistoryNull::setParentSpace ( const QString &  newParent)
inlinevirtual

Set a parent fram, overwriting all history. Use this when registration history is not needed, or when defining a relationship for the first time.

Reimplemented from cx::RegistrationHistory.

Definition at line 50 of file cxRegistrationTransform.cpp.

virtual void cx::RegistrationHistoryNull::setRegistration ( const Transform3D transform)
inlinevirtual

Set a registration transform, overwriting all history. Use this when registration history is not needed, or when defining a relationship for the first time.

Reimplemented from cx::RegistrationHistory.

Definition at line 43 of file cxRegistrationTransform.cpp.

virtual void cx::RegistrationHistoryNull::updateParentSpace ( const QDateTime &  oldTime,
const ParentSpace newParent 
)
inlinevirtual

Reimplemented from cx::RegistrationHistory.

Definition at line 59 of file cxRegistrationTransform.cpp.


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