37 #ifndef H_OGF_SCENE_GRAPH_TYPES_COMPOSITE_GROB_H
38 #define H_OGF_SCENE_GRAPH_TYPES_COMPOSITE_GROB_H
82 void list_names(std::vector<std::string>& names)
const override;
109 Scope* get_objects()
const {
119 bool is_bound(
const std::string& name)
const;
A smart pointer with reference-counted copy semantics.
A class that stores a variable of arbitrary type.
An Interpreter Scope that corresponds to the objects in a CompositeGrob.
void list_names(std::vector< std::string > &names) const override
Lists all the variable names available in this scope.
Any resolve(const std::string &name) override
Finds a variable by id.
CompositeGrobScope(CompositeGrob *grob)
CompositeGrobScope constructor.
~CompositeGrobScope() override
CompositeGrobScope destructor.
A Composite Graphite Object.
Box3d bbox() const override
Gets the bounding box.
Grob * ith_child(index_t i) const
Gets a child by index.
Grob * resolve(const std::string &name) const
Finds a child by name.
Box3d world_bbox() const override
Gets the bounding box in world coordinates.
CompositeGrob(CompositeGrob *parent)
CompositeGrob constructor.
void add_child(Node *child) override
Adds a child to this Grob.
void remove_child(Node *child) override
Removes a child from this Grob.
Base class for all 3D Graphite objects.
A composite object in the GOM system.
A naming scope in an Interpreter.
The base class for all 3D objects in the system.
The abstract base class for the GOM interpreter.
geo_index_t index_t
The type for storing and manipulating indices.
Global Graphite namespace.
SmartPointer< CompositeGrob > CompositeGrob_var
An automatic reference-counted pointer to a CompositeGrob.
Definitions common to all include files in the scene_graph library.