13 #ifndef CXREGISTRATIONTRANSFORM_H_
14 #define CXREGISTRATIONTRANSFORM_H_
16 #include "cxResourceExport.h"
21 #include <boost/shared_ptr.hpp>
52 const QString& type =
"",
bool tempTransform =
false);
53 void addXml(QDomNode& parentNode)
const;
54 void parseXml(QDomNode& dataNode);
78 ParentSpace(
const QString& parentFrame,
const QDateTime& timestamp = QDateTime(),
const QString& type =
"");
79 void addXml(QDomNode& parentNode)
const;
80 void parseXml(QDomNode& dataNode);
100 virtual void addXml(QDomNode& parentNode)
const;
101 virtual void parseXml(QDomNode& dataNode);
104 virtual void addOrUpdateRegistration(
const QDateTime& oldTime,
const RegistrationTransform& newTransform);
106 virtual void setParentSpace(
const QString& newParent);
107 virtual void addParentSpace(
const QString& newParent);
108 virtual void updateParentSpace(
const QDateTime& oldTime,
const ParentSpace& newParent);
110 virtual std::vector<RegistrationTransform> getData()
const;
111 virtual std::vector<ParentSpace> getParentSpaces()
const;
112 virtual void removeNewerThan(
const QDateTime& timestamp);
113 virtual void setActiveTime(
const QDateTime& timestamp);
114 virtual QDateTime getActiveTime()
const;
117 virtual void clear();
126 void currentChanged();
128 virtual void addParentSpace(
const ParentSpace& newParent);
132 std::vector<RegistrationTransform> mData;
133 std::vector<ParentSpace> mParentSpaces;
134 QDateTime mCurrentTime;