CustusX
15.3.3-beta
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 | 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< 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 116 of file cxRegistrationTransform.h.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 351 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 356 of file cxRegistrationTransform.cpp.
|
virtual |
Add one registration transform to the history.
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 296 of file cxRegistrationTransform.cpp.
|
virtual |
write internal state to node
< write internal state to node
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 235 of file cxRegistrationTransform.cpp.
|
virtual |
reset all data loaded from xml
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 287 of file cxRegistrationTransform.cpp.
|
signal |
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 476 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 378 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 481 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 383 of file cxRegistrationTransform.cpp.
|
static |
Definition at line 228 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 388 of file cxRegistrationTransform.cpp.
|
inlinevirtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 141 of file cxRegistrationTransform.h.
|
virtual |
read internal state from node
dataNode | read internal state from node |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 255 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 393 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 447 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 345 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 327 of file cxRegistrationTransform.cpp.
|
virtual |
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 366 of file cxRegistrationTransform.cpp.
|
virtual |
Replace the registration performed at oldTime with the new one.
Reimplemented in cx::RegistrationHistoryNull.
Definition at line 309 of file cxRegistrationTransform.cpp.