CrystalSpace

Public API Reference

iTriangleMeshIterator Struct Reference
[Geometry utilities]

Iterator to iterate over all data mesh ID's in an object model. More...

#include <imesh/objmodel.h>

Inheritance diagram for iTriangleMeshIterator:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool HasNext ()=0
 Return true if the iterator has more elements.
virtual iTriangleMeshNext (csStringID &id)=0
 Return next element.


Detailed Description

Iterator to iterate over all data mesh ID's in an object model.

This is returned by iObjectModel::GetTriangleDataIterator(). This iterator will return all data meshes that are set. That includes data meshes that are set but still 0.

Definition at line 61 of file objmodel.h.


Member Function Documentation

virtual bool iTriangleMeshIterator::HasNext (  )  [pure virtual]

Return true if the iterator has more elements.

virtual iTriangleMesh* iTriangleMeshIterator::Next ( csStringID id  )  [pure virtual]

Return next element.

The id of the triangle mesh will be returned in 'id'. Note that this function can return 0. This doesn't mean that the iterator has ended. It just means that for the given 'id' the mesh was set to 0.


The documentation for this struct was generated from the following file:
Generated for Crystal Space 1.2.1 by doxygen 1.5.3