![]() |
Fraxinus
17.12-rc2
An IGT application
|
A history of registration events. More...
#include <cxRegistrationTransform.h>
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 | 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 | updateParentSpace (const QDateTime &oldTime, const ParentSpace &newParent) |
virtual std::vector< RegistrationTransform > | getData () const |
virtual std::vector< ParentSpace > | getParentSpaces () const |
virtual void | removeNewerThan (const QDateTime ×tamp) |
virtual void | setActiveTime (const QDateTime ×tamp) |
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 () |
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 117 of file cxRegistrationTransform.h.
|
virtual |
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 in cx::RegistrationHistoryNull.
Definition at line 320 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 362 of file cxRegistrationTransform.cpp.
|
virtual |
write internal state to node
< write internal state to node
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 237 of file cxRegistrationTransform.cpp.
|
virtual |
reset all data loaded from xml
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 289 of file cxRegistrationTransform.cpp.
|
signal |
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 490 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 392 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 495 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 397 of file cxRegistrationTransform.cpp.
|
static |
Definition at line 230 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 402 of file cxRegistrationTransform.cpp.
|
inlinevirtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 140 of file cxRegistrationTransform.h.
|
virtual |
read internal state from node
dataNode | read internal state from node |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 257 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 407 of file cxRegistrationTransform.cpp.
|
virtual |
set the active time. Use only registrations performed at or prior to this time.
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 461 of file cxRegistrationTransform.cpp.
|
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 356 of file cxRegistrationTransform.cpp.
|
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 338 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 380 of file cxRegistrationTransform.cpp.