Ocean
|
Definition of a quad face with four vertex indices. More...
Public Member Functions | |
QuadFace () | |
Creates a new quad face object with undefined indices. More... | |
QuadFace (const VertexIndex startIndex) | |
Creates a new quad face object with successive indices. More... | |
QuadFace (const VertexIndex first, const VertexIndex second, const VertexIndex third, const VertexIndex fourth) | |
Creates a new quad face object with four given indices. More... | |
QuadFace (const VertexIndex *arrayValue) | |
Creates a new quad face object by an array of at least four indices. More... | |
VertexIndex | index (const unsigned int index) const |
Returns a specific vertex index specified by it's index inside the face. More... | |
VertexIndex & | index (const unsigned int index) |
Returns a specific vertex index specified by it's index inside the face. More... | |
VertexIndex | operator[] (const unsigned int index) const |
Returns a specific vertex index specified by it's index inside the face. More... | |
VertexIndex & | operator[] (const unsigned int index) |
Returns a specific vertex index specified by it's index inside the face. More... | |
const VertexIndex * | operator() () const |
Returns the pointer to the first element of the vertex indices. More... | |
VertexIndex * | operator() () |
Returns the pointer to the first element of the vertex indices. More... | |
Protected Attributes | |
VertexIndex | faceIndices [4] |
The four vertex indices. More... | |
Definition of a quad face with four vertex indices.
|
inline |
Creates a new quad face object with undefined indices.
|
inlineexplicit |
Creates a new quad face object with successive indices.
The first index is given, the following indices will be set to successive values.
startIndex | Index of the first vertex |
|
inline |
Creates a new quad face object with four given indices.
first | First vertex index |
second | Second vertex index |
third | Third vertex index |
fourth | Fourth vertex index |
|
inlineexplicit |
Creates a new quad face object by an array of at least four indices.
arrayValue | Array with at least four vertex indices |
|
inline |
Returns a specific vertex index specified by it's index inside the face.
Beware: No range check will be done!
index | Index of the vertex index with range [0, 3] |
|
inline |
Returns a specific vertex index specified by it's index inside the face.
Beware: No range check will be done!
index | Index of the vertex index with range [0, 3] |
|
inline |
Returns the pointer to the first element of the vertex indices.
|
inline |
Returns the pointer to the first element of the vertex indices.
|
inline |
Returns a specific vertex index specified by it's index inside the face.
Beware: No range check will be done!
index | Index of the vertex index with range [0, 3] |
|
inline |
Returns a specific vertex index specified by it's index inside the face.
Beware: No range check will be done!
index | Index of the vertex index with range [0, 3] |
|
protected |
The four vertex indices.