Fraxinus
2023.01.05-dev+develop.0da12
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 96 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 297 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 339 of file cxRegistrationTransform.cpp.
|
virtual |
write internal state to node
< write internal state to node
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 216 of file cxRegistrationTransform.cpp.
|
virtual |
reset all data loaded from xml
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 268 of file cxRegistrationTransform.cpp.
|
signal |
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 467 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 369 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 472 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 374 of file cxRegistrationTransform.cpp.
|
static |
Definition at line 209 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 379 of file cxRegistrationTransform.cpp.
|
inlinevirtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 119 of file cxRegistrationTransform.h.
|
virtual |
read internal state from node
dataNode | read internal state from node |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 236 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 384 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 438 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 333 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 315 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 357 of file cxRegistrationTransform.cpp.