#include <ReadLandscapeFile.h>
Public Types | |
typedef std::list< UVCoords * >::iterator | uvIter |
Public Member Functions | |
Face (Vertex *v1, Vertex *v2, Vertex *v3) | |
constructor with 3 vertices (Triangle) | |
Face (Vertex *v1, Vertex *v2, Vertex *v3, Vertex *v4) | |
constructor with 4 vertices (Quad) | |
Face (std::list< Vertex * > li) | |
constructor with a list of vertices (Poly) | |
virtual | ~Face (void) |
destructor | |
Vertex * | getVertex (int Stelle) |
get the pointer to the vertex at the position Stelle of the face | |
void | setVertex (int Stelle, Vertex *new_v) |
set the vertex at the position Stelle of the face | |
UVCoords * | getUVCoords (int Stelle) |
void | setUVCoords (int Stelle, UVCoords *new_uv) |
int | getCornerCount () |
get the number of vertices of the face | |
Private Attributes | |
std::list< Vertex * > | verticesForFace |
int | cornerCount |
std::list< UVCoords * > | uvList |
Constructors for Faces with 3, 4 or more Vertices. The pointers to these are stored in a list.
|
|
|
constructor with 3 vertices (Triangle)
|
|
constructor with 4 vertices (Quad)
|
|
constructor with a list of vertices (Poly)
|
|
destructor
|
|
get the number of vertices of the face
|
|
|
|
get the pointer to the vertex at the position Stelle of the face
|
|
|
|
set the vertex at the position Stelle of the face
|
|
|
|
|
|
|