AvogadroLibs  1.90.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
TransformNode Class Reference

The TransformNode class applies a transform to all child nodes. More...

#include <avogadro/rendering/transformnode.h>

Inheritance diagram for TransformNode:
GroupNode Node

Public Member Functions

 TransformNode (GroupNode *parent=0)
 
- Public Member Functions inherited from GroupNode
 GroupNode (GroupNode *parent=0)
 
void accept (Visitor &) AVO_OVERRIDE
 
void addChild (Node *node)
 Add a child node, this node will have its parent set and will be deleted by this node upon destruction. More...
 
bool removeChild (Node *node)
 Remove child node, this node will no longer be deleted. More...
 
Nodechild (size_t index)
 Get the child Node at the specified index. More...
 
size_t childCount () const
 
std::vector< Node * > & children ()
 Get a reference to the child nodes list.
 
const std::vector< Node * > & children () const
 
void clear ()
 Remove all children.
 
- Public Member Functions inherited from Node
const GroupNodeparent () const
 Get a pointer to the node's parent. More...
 
GroupNodeparent ()
 
void setVisible (bool visibility)
 Set the visibility of the node. More...
 
bool isVisible () const
 Get the current visibility of the node. More...
 
template<typename T >
T * cast ()
 Attempt to dynamic_cast to specified node type. More...
 
template<typename T >
const T * cast () const
 

Additional Inherited Members

- Protected Member Functions inherited from Node
void setParent (GroupNode *parent)
 Set the parent node for the node. More...
 
- Protected Attributes inherited from GroupNode
std::vector< Node * > m_children
 
- Protected Attributes inherited from Node
GroupNodem_parent
 
bool m_visible
 

Detailed Description

Author
Marcus D. Hanwell

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