|
QSDK 1.1 Documentation |
#include <Q/q.h>
Inheritance diagram for Q::VertexIterator:

Public Member Functions | |
| bool | valid () const |
| Utils::Result | next () |
| void | index (unsigned int index) |
| Maths::Vec3f | vertex () const |
| Maths::Vec3f | current () const |
| void | setVertex (const Maths::Vec3f &v) |
| unsigned int | add (const Maths::Vec3f &v) |
| unsigned int | addDirect (const Maths::Vec3f &v) |
| unsigned int | index () const |
| Maths::Vec3f | operator * () const |
| VertexIterator & | operator++ () |
The VertexIterator is an object used to manage a list of vertices. Typically, this is used to edit instances of Mesh and Skin.
|
|
Add a new vertex to the collection and return its index. The position of the iterator will be updated to reference the new vertex. |
|
|
Add a new vertex to the collection and return its index. The position of the iterator will be updated to reference the new vertex. The new vertex is not checked against the current vertex array, therefore duplicates are allowed. |
|
|
Return the value of the current vertex. |
|
|
Return the index of the current vertex in the collection. |
|
|
Set the iterator to reference the given vertex in the collection. Vertex indices start at zero. |
|
|
Advance the iterator to the next object in the list or if the current object is the last object in the list, then set the state of the iterator to invalid. |
|
|
|
|
|
|
|
|
Set the value of the current vertex to |
|
|
Return Reimplemented from Q::ObjectBase. |
|
|
Return the value of the current vertex. |
|
|
|
Qube Software Limited © 2000-2004
|
|