gramods
Loading...
Searching...
No Matches
Public Member Functions | List of all members
gramods::gmGraphics::Transform Class Referenceabstract

The scenegraph transform base. More...

#include <Transform.hh>

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

Public Member Functions

virtual Eigen::Affine3f getTransform ()=0
 
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.
 

Additional Inherited Members

- Public Types inherited from gramods::gmGraphics::Node
typedef std::vector< std::shared_ptr< Node > > list
 
- Static Public Attributes inherited from gramods::gmGraphics::Group
static gramods::gmCore::OFactory::OFactoryInformation _gm_ofi
 

Detailed Description

The scenegraph transform base.

Member Function Documentation

◆ accept()

void gramods::gmGraphics::Transform::accept ( Visitor visitor)
inlineoverridevirtual

Calls the visitors apply method with this as argument.

Reimplemented from gramods::gmCore::Object.

◆ getTransform()

virtual Eigen::Affine3f gramods::gmGraphics::Transform::getTransform ( )
pure virtual

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