![]() |
OpenWalnut
1.5.0dev
|
A manipulator for translation of datasets in world coordinates. More...
#include <WManipulatorTranslation.h>
Inheritance diagram for WManipulatorTranslation:
Collaboration diagram for WManipulatorTranslation:Public Member Functions | |
| WManipulatorTranslation () | |
| Constructor. More... | |
| virtual | ~WManipulatorTranslation () |
| Destructor. More... | |
| virtual WMatrixFixed< double, 4, 4 > | getTransformationMatrix () const |
| Get the transformation matrix from this manipulator. More... | |
| virtual bool | transformationChanged () const |
| Check if the transform has changed, for example because of a change to properties. More... | |
| virtual void | reset () |
| Reset the transform. More... | |
Public Member Functions inherited from WObjectNDIP< WManipulatorInterface > | |
| virtual | ~WObjectNDIP () |
| Destructor. More... | |
| virtual std::string | getName () const |
| The name of the object. More... | |
| virtual std::string | getDescription () const |
| The description of this object. More... | |
| virtual const char ** | getIcon () const |
| The icon of this object. More... | |
| virtual WProperties::SPtr | getProperties () |
| Return the property group of this object. More... | |
Public Member Functions inherited from WManipulatorInterface | |
| virtual | ~WManipulatorInterface () |
| Destructor. More... | |
Private Attributes | |
| WPropPosition | m_translation |
| The translation. More... | |
Additional Inherited Members | |
Public Types inherited from WObjectNDIP< WManipulatorInterface > | |
| typedef std::shared_ptr< WObjectNDIP > | SPtr |
| Shared ptr to an instance. More... | |
| typedef std::shared_ptr< const WObjectNDIP > | ConstSPtr |
| Shared ptr to a const instance. More... | |
Protected Member Functions inherited from WObjectNDIP< WManipulatorInterface > | |
| WObjectNDIP (std::string name, std::string description, const char **icon=NULL) | |
| Construct a NDIP'ed object. More... | |
Protected Attributes inherited from WObjectNDIP< WManipulatorInterface > | |
| WProperties::SPtr | m_properties |
| the properties of the object. More... | |
A manipulator for translation of datasets in world coordinates.
Definition at line 35 of file WManipulatorTranslation.h.
| WManipulatorTranslation::WManipulatorTranslation | ( | ) |
Constructor.
Definition at line 27 of file WManipulatorTranslation.cpp.
References WObjectNDIP< WManipulatorInterface >::getProperties(), WObjectNDIP< WManipulatorInterface >::m_properties, and m_translation.
Here is the call graph for this function:
|
virtual |
Destructor.
Definition at line 34 of file WManipulatorTranslation.cpp.
|
virtual |
Get the transformation matrix from this manipulator.
Implements WManipulatorInterface.
Definition at line 38 of file WManipulatorTranslation.cpp.
References WMatrixFixed< ValueT, Rows, Cols, ValueStoreT >::identity(), and m_translation.
Here is the call graph for this function:
|
virtual |
Reset the transform.
Implements WManipulatorInterface.
Definition at line 54 of file WManipulatorTranslation.cpp.
References m_translation.
|
virtual |
Check if the transform has changed, for example because of a change to properties.
Implements WManipulatorInterface.
Definition at line 49 of file WManipulatorTranslation.cpp.
References m_translation.
|
private |
The translation.
Definition at line 69 of file WManipulatorTranslation.h.
Referenced by getTransformationMatrix(), reset(), transformationChanged(), and WManipulatorTranslation().