| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/composite.h>

Public Member Functions | |
| Composite () | |
| Constructs an empty composite. | |
| void | append (Shape *shape) |
| Appends a shape to the composite. | |
| void | remove (int index) |
| Removes a shape specified by the index. | |
| void | erase (Shape *shape) |
| Removes a certain shape. | |
| void | clear () |
| Removes all shape from the composite. | |
| int | size () const |
| Returns the numbered. | |
| Shape * | component (int index) const |
| Returns a shape from the composite specified by the index. | |
| virtual Bounds | boundingBox () const |
| Combined bounding box of all contained shapes. | |
| VRS_TYPEINFO (Composite, Shape) | |
| VRS_SERIALIZABLE (Composite) | |
Protected Member Functions | |
| virtual void | acceptChildren (std::vector< Visitable * > &appendChildrenHere) const |
| VRS::Composite::Composite | ( | ) |
Constructs an empty composite.
| void VRS::Composite::append | ( | Shape * | shape | ) |
Appends a shape to the composite.
| void VRS::Composite::remove | ( | int | index | ) |
Removes a shape specified by the index.
| void VRS::Composite::erase | ( | Shape * | shape | ) |
Removes a certain shape.
| void VRS::Composite::clear | ( | ) |
Removes all shape from the composite.
| int VRS::Composite::size | ( | ) | const [inline] |
Returns the numbered.
| Shape * VRS::Composite::component | ( | int | index | ) | const [inline] |
Returns a shape from the composite specified by the index.
| virtual Bounds VRS::Composite::boundingBox | ( | ) | const [virtual] |
| VRS::Composite::VRS_SERIALIZABLE | ( | Composite | ) |
| virtual void VRS::Composite::acceptChildren | ( | std::vector< Visitable * > & | appendChildrenHere | ) | const [protected, virtual] |
Reimplemented from VRS::Visitable.