gramods
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Attributes | List of all members
gramods::gmGraphics::PoseTransform Class Reference

The scenegraph PoseTransform base. More...

#include <PoseTransform.hh>

Inheritance diagram for gramods::gmGraphics::PoseTransform:
Inheritance graph
[legend]
Collaboration diagram for gramods::gmGraphics::PoseTransform:
Collaboration graph
[legend]

Classes

struct  Impl
 

Public Member Functions

void setPosition (Eigen::Vector3f p)
 Set the position of the childrens' space.
 
Eigen::Vector3f getPosition ()
 Get the position of the childrens' space.
 
void setOrientation (Eigen::Quaternionf q)
 Set the orientation of the childrens' space.
 
Eigen::Quaternionf getOrientation ()
 Get the orientation of the childrens' space.
 
void setOrientationCenter (Eigen::Vector3f c)
 Set the center of the orientation change.
 
Eigen::Vector3f getOrientationCenter ()
 Get the center of the orientation change.
 
void setScale (Eigen::Vector3f p)
 Set the scale of the childrens' space.
 
Eigen::Vector3f getScale ()
 Get the scale of the childrens' space.
 
void setScaleCenter (Eigen::Vector3f c)
 Set the center of the scale change.
 
Eigen::Vector3f getScaleCenter ()
 Get the center of the scale change.
 
void setScaleOrientation (Eigen::Quaternionf q)
 Set the orientation of the scale vector, in local space.
 
Eigen::Quaternionf getScaleOrientation ()
 Get the orientation of the scale vector, in local space.
 
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.
 
- Public Member Functions inherited from gramods::gmGraphics::Group
void addNode (std::shared_ptr< Node > node)
 Adds a child.
 
void removeNode (std::shared_ptr< Node > node)
 Removes a child.
 
void removeNode (size_t idx)
 Removes a child.
 
std::vector< std::shared_ptr< Node > > getNodes ()
 Returns the current list of nodes.
 
void traverse (Visitor *visitor) override
 Propagates the specified visitor.
 
- 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.
 
virtual std::string getDefaultKey () override
 Returns the default key, in Configuration, for the Object.
 
- Public Member Functions inherited from gramods::gmCore::Object
 Object ()
 Initializes internal data.
 
virtual ~Object ()
 Cleaning up internal data.
 
virtual void initialize ()
 Called to initialize the Object.
 
bool isInitialized ()
 Returns true if the Object is initialized.
 

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
 

Detailed Description

The scenegraph PoseTransform base.

Member Function Documentation

◆ getOrientation()

Eigen::Quaternionf gramods::gmGraphics::PoseTransform::getOrientation ( )

Get the orientation of the childrens' space.

◆ getOrientationCenter()

Eigen::Vector3f gramods::gmGraphics::PoseTransform::getOrientationCenter ( )

Get the center of the orientation change.

◆ getPosition()

Eigen::Vector3f gramods::gmGraphics::PoseTransform::getPosition ( )

Get the position of the childrens' space.

◆ getScale()

Eigen::Vector3f gramods::gmGraphics::PoseTransform::getScale ( )

Get the scale of the childrens' space.

◆ getScaleCenter()

Eigen::Vector3f gramods::gmGraphics::PoseTransform::getScaleCenter ( )

Get the center of the scale change.

◆ getScaleOrientation()

Eigen::Quaternionf gramods::gmGraphics::PoseTransform::getScaleOrientation ( )

Get the orientation of the scale vector, in local space.

◆ getTransform()

Eigen::Affine3f gramods::gmGraphics::PoseTransform::getTransform ( )
overridevirtual
See also
Transform::getTransform

Implements gramods::gmGraphics::Transform.

◆ setOrientation()

void gramods::gmGraphics::PoseTransform::setOrientation ( Eigen::Quaternionf  q)

Set the orientation of the childrens' space.

XML-attribute: orientation

See also
gramods::operator>>(std::istream &, Eigen::Quaternionf &)

◆ setOrientationCenter()

void gramods::gmGraphics::PoseTransform::setOrientationCenter ( Eigen::Vector3f  c)

Set the center of the orientation change.

XML-attribute: orientationCenter

See also
gramods::operator>>(std::istream &, Eigen::Vector3f &)

◆ setPosition()

void gramods::gmGraphics::PoseTransform::setPosition ( Eigen::Vector3f  p)

Set the position of the childrens' space.

XML-attribute: position

See also
gramods::operator>>(std::istream &, Eigen::Vector3f &)

◆ setScale()

void gramods::gmGraphics::PoseTransform::setScale ( Eigen::Vector3f  p)

Set the scale of the childrens' space.

XML-attribute: scale

See also
gramods::operator>>(std::istream &, Eigen::Vector3f &)

◆ setScaleCenter()

void gramods::gmGraphics::PoseTransform::setScaleCenter ( Eigen::Vector3f  c)

Set the center of the scale change.

XML-attribute: scaleCenter

See also
gramods::operator>>(std::istream &, Eigen::Vector3f &)

◆ setScaleOrientation()

void gramods::gmGraphics::PoseTransform::setScaleOrientation ( Eigen::Quaternionf  q)

Set the orientation of the scale vector, in local space.

XML-attribute: scaleOrientation

See also
gramods::operator>>(std::istream &, Eigen::Vector3f &)

The documentation for this class was generated from the following files: