2 #ifndef GRAMODS_GRAPHICS_GROUP
3 #define GRAMODS_GRAPHICS_GROUP
5 #include <gmGraphics/Node.hh>
7 BEGIN_NAMESPACE_GMGRAPHICS;
23 void addNode(std::shared_ptr<Node> node);
28 void removeNode(std::shared_ptr<Node> node);
33 void removeNode(
size_t idx);
38 std::vector<std::shared_ptr<Node>> getNodes();
45 void traverse(
Visitor *visitor)
override;
51 std::unique_ptr<Impl> _impl;
54 END_NAMESPACE_GMGRAPHICS;
The scenegraph group base.
Definition: Group.hh:12
The scenegraph node base.
Definition: Node.hh:20
The visitor of a design pattern for automatic traversal.
Definition: Object.hh:75