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

The scenegraph MatrixTransform base. More...

#include <MatrixTransform.hh>

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

Classes

struct  Impl
 

Public Member Functions

void setMatrix (Eigen::Matrix4f m)
 Set the matrix of the childrens' space.
 
Eigen::Matrix4f getMatrix () const
 Returns the matrix of the childrens' 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 MatrixTransform base.

Member Function Documentation

◆ getMatrix()

Eigen::Matrix4f gramods::gmGraphics::MatrixTransform::getMatrix ( ) const

Returns the matrix of the childrens' space.

◆ getTransform()

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

Implements gramods::gmGraphics::Transform.

◆ setMatrix()

void gramods::gmGraphics::MatrixTransform::setMatrix ( Eigen::Matrix4f  m)

Set the matrix of the childrens' space.

XML-attribute: matrix

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

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