AvogadroLibs
1.94.0
|
The TransformNode class applies a transform to all child nodes. More...
#include <avogadro/rendering/transformnode.h>
Public Member Functions | |
TransformNode (GroupNode *parent=0) | |
![]() | |
GroupNode (GroupNode *parent=0) | |
void | accept (Visitor &) 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... | |
Node * | child (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. | |
![]() | |
const GroupNode * | parent () const |
Get a pointer to the node's parent. More... | |
GroupNode * | parent () |
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 | |
![]() | |
void | setParent (GroupNode *parent) |
Set the parent node for the node. More... | |
![]() | |
std::vector< Node * > | m_children |
![]() | |
GroupNode * | m_parent |
bool | m_visible |