#include <EntitySet.h>
Public Member Functions | |
| void | add (Entity *entity) |
| Add copy of entity to container. | |
| void | divide (float size) |
| PatchSequenceEnumerator * | createPatchSequenceEnumerator () |
| Create enumerator for all patches maintained indirectly by EntitySet. | |
| size_t | count () |
| Return current count of entities stored in container. | |
| Entity & | operator[] (unsigned index) |
| Access entity using its index. | |
| TriangleSetExt * | computeVertexColors () |
| Compute per-vertex colors using simple interpolation.
| |
Definition at line 28 of file EntitySet.h.
| void EntitySet::add | ( | Entity * | entity | ) |
Add copy of entity to container.
| entity | Pointer to entity to copy to container. |
| void EntitySet::divide | ( | float | size | ) |
Perform patch division.
| size | Size of the largest acceptable patch. |
| PatchSequenceEnumerator* EntitySet::createPatchSequenceEnumerator | ( | ) |
Create enumerator for all patches maintained indirectly by EntitySet.
Referenced by operator<<().
| size_t EntitySet::count | ( | ) |
Return current count of entities stored in container.
| Entity& EntitySet::operator[] | ( | unsigned | index | ) |
Access entity using its index.
| index | Index of entity - must be in range <0, count()-1>. |
| TriangleSetExt* EntitySet::computeVertexColors | ( | ) |
Compute per-vertex colors using simple interpolation.
1.5.2