|
gramods
|
The scenegraph PoseTransform base. More...
#include <PoseTransform.hh>


Classes | |
| struct | Impl |
Public Member Functions | |
| void | setPosition (Eigen::Vector3f p) |
| Set the position of the childrens' space. More... | |
| Eigen::Vector3f | getPosition () |
| Get the position of the childrens' space. More... | |
| void | setOrientation (Eigen::Quaternionf q) |
| Set the orientation of the childrens' space. More... | |
| Eigen::Quaternionf | getOrientation () |
| Get the orientation of the childrens' space. More... | |
| void | setOrientationCenter (Eigen::Vector3f c) |
| Set the center of the orientation change. More... | |
| Eigen::Vector3f | getOrientationCenter () |
| Get the center of the orientation change. More... | |
| void | setScale (Eigen::Vector3f p) |
| Set the scale of the childrens' space. More... | |
| Eigen::Vector3f | getScale () |
| Get the scale of the childrens' space. More... | |
| void | setScaleCenter (Eigen::Vector3f c) |
| Set the center of the scale change. More... | |
| Eigen::Vector3f | getScaleCenter () |
| Get the center of the scale change. More... | |
| void | setScaleOrientation (Eigen::Quaternionf q) |
| Set the orientation of the scale vector, in local space. More... | |
| Eigen::Quaternionf | getScaleOrientation () |
| Get the orientation of the scale vector, in local space. More... | |
| Eigen::Affine3f | getTransform () override |
Public Member Functions inherited from gramods::gmGraphics::Transform | |
| void | accept (Visitor *visitor) override |
| Calls the visitors apply method with this as argument. More... | |
Public Member Functions inherited from gramods::gmGraphics::Group | |
| void | addNode (std::shared_ptr< Node > node) |
| Adds a child. More... | |
| void | removeNode (std::shared_ptr< Node > node) |
| Removes a child. More... | |
| void | removeNode (size_t idx) |
| Removes a child. More... | |
| std::vector< std::shared_ptr< Node > > | getNodes () |
| Returns the current list of nodes. More... | |
| void | traverse (Visitor *visitor) override |
| Propagates the specified visitor. More... | |
Public Member Functions inherited from gramods::gmGraphics::Node | |
| virtual std::vector< float > | getIntersections (const IntersectionLine &line) |
| Check and return intersections between the provided line and the shape represented by this node. More... | |
| virtual std::string | getDefaultKey () override |
| Returns the default key, in Configuration, for the Object. More... | |
Public Member Functions inherited from gramods::gmCore::Object | |
| Object () | |
| Initializes internal data. More... | |
| virtual | ~Object () |
| Cleaning up internal data. More... | |
| virtual void | initialize () |
| Called to initialize the Object. More... | |
| bool | isInitialized () |
| Returns true if the Object is initialized. More... | |
Static Public Attributes | |
| static gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi |
Static Public Attributes inherited from gramods::gmGraphics::Group | |
| static gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi |
Additional Inherited Members | |
Public Types inherited from gramods::gmGraphics::Node | |
| typedef std::vector< std::shared_ptr< Node > > | list |
The scenegraph PoseTransform base.
| Eigen::Quaternionf gramods::gmGraphics::PoseTransform::getOrientation | ( | ) |
Get the orientation of the childrens' space.
| Eigen::Vector3f gramods::gmGraphics::PoseTransform::getOrientationCenter | ( | ) |
Get the center of the orientation change.
| Eigen::Vector3f gramods::gmGraphics::PoseTransform::getPosition | ( | ) |
Get the position of the childrens' space.
| Eigen::Vector3f gramods::gmGraphics::PoseTransform::getScale | ( | ) |
Get the scale of the childrens' space.
| Eigen::Vector3f gramods::gmGraphics::PoseTransform::getScaleCenter | ( | ) |
Get the center of the scale change.
| Eigen::Quaternionf gramods::gmGraphics::PoseTransform::getScaleOrientation | ( | ) |
Get the orientation of the scale vector, in local space.
|
overridevirtual |
Implements gramods::gmGraphics::Transform.
| void gramods::gmGraphics::PoseTransform::setOrientation | ( | Eigen::Quaternionf | q | ) |
Set the orientation of the childrens' space.
XML-attribute: orientation
| void gramods::gmGraphics::PoseTransform::setOrientationCenter | ( | Eigen::Vector3f | c | ) |
Set the center of the orientation change.
XML-attribute: orientationCenter
| void gramods::gmGraphics::PoseTransform::setPosition | ( | Eigen::Vector3f | p | ) |
Set the position of the childrens' space.
XML-attribute: position
| void gramods::gmGraphics::PoseTransform::setScale | ( | Eigen::Vector3f | p | ) |
Set the scale of the childrens' space.
XML-attribute: scale
| void gramods::gmGraphics::PoseTransform::setScaleCenter | ( | Eigen::Vector3f | c | ) |
Set the center of the scale change.
XML-attribute: scaleCenter
| void gramods::gmGraphics::PoseTransform::setScaleOrientation | ( | Eigen::Quaternionf | q | ) |
Set the orientation of the scale vector, in local space.
XML-attribute: scaleOrientation