A triangular mesh with support for optional vertex positions, UVs, and normals.
Public Member Functions | |
virtual int | getNumVertices () const =0 |
Get the number of vertices. More... | |
virtual bool | hasPositions () const =0 |
Returns true if the mesh contains positions. More... | |
virtual const Vec3F * | getPositions () const =0 |
Provides access to the array of positions. More... | |
virtual const float * | getPositionCoordinates () const =0 |
Provides access to the array of positions. More... | |
virtual bool | hasNormals () const =0 |
Returns true if the mesh contains surface normals. More... | |
virtual const Vec3F * | getNormals () const =0 |
Provides access to the array of surface normals. More... | |
virtual const float * | getNormalCoordinates () const =0 |
Provides access to the array of surface normals. More... | |
virtual bool | hasUVs () const =0 |
Returns true if the mesh contains texture coordinates. More... | |
virtual const Vec2F * | getUVs () const =0 |
Provides access to the array of texture coordinates. More... | |
virtual const float * | getUVCoordinates () const =0 |
Provides access to the array of texture coordinates. More... | |
virtual int | getNumTriangles () const =0 |
Returns the number of triangles. More... | |
virtual const unsigned short * | getTriangles () const =0 |
Provides access to the array triangle indices. More... | |
|
pure virtual |
Get the number of vertices.
|
pure virtual |
Returns true if the mesh contains positions.
|
pure virtual |
Provides access to the array of positions.
|
pure virtual |
Provides access to the array of positions.
|
pure virtual |
Returns true if the mesh contains surface normals.
|
pure virtual |
Provides access to the array of surface normals.
|
pure virtual |
Provides access to the array of surface normals.
|
pure virtual |
Returns true if the mesh contains texture coordinates.
|
pure virtual |
Provides access to the array of texture coordinates.
|
pure virtual |
Provides access to the array of texture coordinates.
|
pure virtual |
Returns the number of triangles.
|
pure virtual |
Provides access to the array triangle indices.