|
transformer
|
#include <Transformer.hpp>
Public Member Functions | |
| TransformationElement (const std::string &sourceFrame, const std::string &targetFrame) | |
| virtual | ~TransformationElement () |
| virtual bool | getTransformation (const base::Time &atTime, bool doInterpolation, TransformationType &tr)=0 |
| virtual void | addTransformationChangedCallback (boost::function< void(const base::Time &ts)> callback) |
| virtual void | clearTransformationChangedCallbacks () |
| const std::string & | getSourceFrame () const |
| const std::string & | getTargetFrame () const |
Protected Attributes | |
| std::vector< boost::function< void(const base::Time &ts)> > | elementChangedCallbacks |
This is a base class, that represens an abstract transformation from sourceFrame to targetFrame.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
This function registers a callback, that should be called every time the TransformationElement changes its value.
Reimplemented in transformer::InverseTransformationElement.
|
inlinevirtual |
Removes all registered callbacks
|
inline |
returns the name of the source frame
|
inline |
returns the name of the target frame
|
pure virtual |
This method my be asked for a concrete transformation at a time X. On request this should should interpolate the transformation to match the given time better than the available data.
Note if no transformation is available getTransformation will return false
Implemented in transformer::InverseTransformationElement, transformer::DynamicTransformationElement, transformer::StaticTransformationElement, and transformer::NonAlignedDynamicTransformationElement.
|
protected |
1.8.13