Fraxinus  16.5.0-fx-rc4
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::RegistrationHistory Class Reference

A history of registration events. More...

#include <cxRegistrationTransform.h>

Inheritance diagram for cx::RegistrationHistory:
cx::RegistrationHistoryNull

Signals

void currentChanged ()
 

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 addRegistration (const RegistrationTransform &transform)
 
virtual void setRegistration (const Transform3D &transform)
 
virtual void updateRegistration (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
< RegistrationTransform
getData () 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
 

Static Public Member Functions

static RegistrationHistoryPtr getNullObject ()
 

Detailed Description

A history of registration events.

A RegistrationHistory describes the registration history of one transform. Normally only the newest transform is used, but it is possible to roll back in time when needed.

Definition at line 116 of file cxRegistrationTransform.h.

Member Function Documentation

void cx::RegistrationHistory::addParentSpace ( const QString &  newParent)
virtual

Reimplemented in cx::RegistrationHistoryNull.

Definition at line 351 of file cxRegistrationTransform.cpp.

void cx::RegistrationHistory::addParentSpace ( const ParentSpace newParent)
virtual

Reimplemented in cx::RegistrationHistoryNull.

Definition at line 356 of file cxRegistrationTransform.cpp.

void cx::RegistrationHistory::addRegistration ( const RegistrationTransform transform)
virtual

Add one registration transform to the history.

Reimplemented in cx::RegistrationHistoryNull.

Definition at line 296 of file cxRegistrationTransform.cpp.

void cx::RegistrationHistory::addXml ( QDomNode &  parentNode) const
virtual

write internal state to node

< write internal state to node

Reimplemented in cx::RegistrationHistoryNull.

Definition at line 235 of file cxRegistrationTransform.cpp.

void cx::RegistrationHistory::clear ( )
virtual

reset all data loaded from xml

Reimplemented in cx::RegistrationHistoryNull.

Definition at line 287 of file cxRegistrationTransform.cpp.

void cx::RegistrationHistory::currentChanged ( )
signal
QDateTime cx::RegistrationHistory::getActiveTime ( ) const
virtual

Reimplemented in cx::RegistrationHistoryNull.

Definition at line 476 of file cxRegistrationTransform.cpp.

ParentSpace cx::RegistrationHistory::getCurrentParentSpace ( )
virtual

Reimplemented in cx::RegistrationHistoryNull.

Definition at line 378 of file cxRegistrationTransform.cpp.

RegistrationTransform cx::RegistrationHistory::getCurrentRegistration ( ) const
virtual

Reimplemented in cx::RegistrationHistoryNull.

Definition at line 481 of file cxRegistrationTransform.cpp.

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

Reimplemented in cx::RegistrationHistoryNull.

Definition at line 383 of file cxRegistrationTransform.cpp.

RegistrationHistoryPtr cx::RegistrationHistory::getNullObject ( )
static

Definition at line 228 of file cxRegistrationTransform.cpp.

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

Reimplemented in cx::RegistrationHistoryNull.

Definition at line 388 of file cxRegistrationTransform.cpp.

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

Reimplemented in cx::RegistrationHistoryNull.

Definition at line 141 of file cxRegistrationTransform.h.

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

read internal state from node

Parameters
dataNoderead internal state from node

Reimplemented in cx::RegistrationHistoryNull.

Definition at line 255 of file cxRegistrationTransform.cpp.

void cx::RegistrationHistory::removeNewerThan ( const QDateTime &  timestamp)
virtual

Reimplemented in cx::RegistrationHistoryNull.

Definition at line 393 of file cxRegistrationTransform.cpp.

void cx::RegistrationHistory::setActiveTime ( const QDateTime &  timestamp)
virtual

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

Reimplemented in cx::RegistrationHistoryNull.

Definition at line 447 of file cxRegistrationTransform.cpp.

void cx::RegistrationHistory::setParentSpace ( const QString &  newParent)
virtual

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 in cx::RegistrationHistoryNull.

Definition at line 345 of file cxRegistrationTransform.cpp.

void cx::RegistrationHistory::setRegistration ( const Transform3D transform)
virtual

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 in cx::RegistrationHistoryNull.

Definition at line 327 of file cxRegistrationTransform.cpp.

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

Reimplemented in cx::RegistrationHistoryNull.

Definition at line 366 of file cxRegistrationTransform.cpp.

void cx::RegistrationHistory::updateRegistration ( const QDateTime &  oldTime,
const RegistrationTransform newTransform 
)
virtual

Replace the registration performed at oldTime with the new one.

Reimplemented in cx::RegistrationHistoryNull.

Definition at line 309 of file cxRegistrationTransform.cpp.


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