gramods
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. 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...
 

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.


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