Avogadro::Rendering::Node#
-
class Node#
The Node class is the base class for all items in the scene.
The Node class is the base class for nodes in the Scene, providing common API and functionality.
- Author
Marcus D. Hanwell
Subclassed by GeometryNode, GroupNode
Public Functions
-
Node()#
-
virtual ~Node()#
-
inline const GroupNode *parent() const#
Get a pointer to the node’s parent.
- Returns:
Pointer to the parent node, nullptr if no parent.
-
inline void setVisible(bool visibility)#
Set the visibility of the node.
- Parameters:
visibility – True if the node is visible, false if invisible.
-
inline bool isVisible() const#
Get the current visibility of the node.
- Returns:
True if visible.
Protected Functions
Friends
- friend class GroupNode