Model Triangular Face. More...
#include <deModelFace.h>
Public Member Functions | |
Constructors and Destructors | |
| deModelFace () | |
| Creates a new model face. | |
| ~deModelFace () | |
| Cleans up the model face. | |
Management | |
| int | GetTexture () const |
| Retrieves the index of the texture. | |
| void | SetTexture (int texture) |
| Sets the index of the texture. | |
| int | GetVertex1 () const |
| Retrieves the index of the first vertex. | |
| void | SetVertex1 (int vertex) |
| Sets the index of the first vertex. | |
| int | GetVertex2 () const |
| Retrieves the index of the second vertex. | |
| void | SetVertex2 (int vertex) |
| Sets the index of the second vertex. | |
| int | GetVertex3 () const |
| Retrieves the index of the third vertex. | |
| void | SetVertex3 (int vertex) |
| Sets the index of the third vertex. | |
| int | GetVertexAt (int corner) const |
| Retrieves the index of the given vertex. | |
| void | SetVertexAt (int corner, int vertex) |
| Sets the index of the given vertex. | |
| int | GetNormal1 () const |
| Retrieves the index of the first normal. | |
| void | SetNormal1 (int normal) |
| Sets the index of the first normal. | |
| int | GetNormal2 () const |
| Retrieves the index of the second normal. | |
| void | SetNormal2 (int normal) |
| Sets the index of the second normal. | |
| int | GetNormal3 () const |
| Retrieves the index of the third normal. | |
| void | SetNormal3 (int normal) |
| Sets the index of the third normal. | |
| int | GetNormalAt (int corner) const |
| Retrieves the index of the given normal. | |
| void | SetNormalAt (int corner, int normal) |
| Sets the index of the given normal. | |
| int | GetTangent1 () const |
| Retrieves the index of the first tangent. | |
| void | SetTangent1 (int tangent) |
| Sets the index of the first tangent. | |
| int | GetTangent2 () const |
| Retrieves the index of the second tangent. | |
| void | SetTangent2 (int tangent) |
| Sets the index of the second tangent. | |
| int | GetTangent3 () const |
| Retrieves the index of the third tangent. | |
| void | SetTangent3 (int tangent) |
| Sets the index of the third tangent. | |
| int | GetTangentAt (int corner) const |
| Retrieves the index of the given tangent. | |
| void | SetTangentAt (int corner, int tangent) |
| Sets the index of the given tangent. | |
| const decVector2 & | GetTextureCoordinates1 () const |
| Retrieves the first texture coordinates. | |
| void | SetTextureCoordinates1 (const decVector2 &textureCoordinates) |
| Sets the first texture coordinates. | |
| const decVector2 & | GetTextureCoordinates2 () const |
| Retrieves the second texture coordinates. | |
| void | SetTextureCoordinates2 (const decVector2 &textureCoordinates) |
| Sets the second texture coordinates. | |
| const decVector2 & | GetTextureCoordinates3 () const |
| Retrieves the third texture coordinates. | |
| void | SetTextureCoordinates3 (const decVector2 &textureCoordinates) |
| Sets the third texture coordinates. | |
| const decVector2 & | GetTextureCoordinatesAt (int corner) const |
| Retrieves the given texture coordinates. | |
| void | SetTextureCoordinatesAt (int corner, const decVector2 &textureCoordinates) |
| Sets the given texture coordinates. | |
| const decVector & | GetFaceNormal () const |
| Retrieves the face normal. | |
| void | SetFaceNormal (const decVector &normal) |
| Sets the face normal. | |
| const decVector & | GetFaceTangent () const |
| Retrieves the face tangent. | |
| void | SetFaceTangent (const decVector &tangent) |
| Sets the face tangent. | |
Model Triangular Face.
| deModelFace::deModelFace | ( | ) |
Creates a new model face.
| deModelFace::~deModelFace | ( | ) |
Cleans up the model face.
| const decVector& deModelFace::GetFaceNormal | ( | ) | const [inline] |
Retrieves the face normal.
| const decVector& deModelFace::GetFaceTangent | ( | ) | const [inline] |
Retrieves the face tangent.
| int deModelFace::GetNormal1 | ( | ) | const [inline] |
Retrieves the index of the first normal.
| int deModelFace::GetNormal2 | ( | ) | const [inline] |
Retrieves the index of the second normal.
| int deModelFace::GetNormal3 | ( | ) | const [inline] |
Retrieves the index of the third normal.
| int deModelFace::GetNormalAt | ( | int | corner ) | const |
Retrieves the index of the given normal.
| int deModelFace::GetTangent1 | ( | ) | const [inline] |
Retrieves the index of the first tangent.
| int deModelFace::GetTangent2 | ( | ) | const [inline] |
Retrieves the index of the second tangent.
| int deModelFace::GetTangent3 | ( | ) | const [inline] |
Retrieves the index of the third tangent.
| int deModelFace::GetTangentAt | ( | int | corner ) | const |
Retrieves the index of the given tangent.
| int deModelFace::GetTexture | ( | ) | const [inline] |
Retrieves the index of the texture.
| const decVector2& deModelFace::GetTextureCoordinates1 | ( | ) | const [inline] |
Retrieves the first texture coordinates.
| const decVector2& deModelFace::GetTextureCoordinates2 | ( | ) | const [inline] |
Retrieves the second texture coordinates.
| const decVector2& deModelFace::GetTextureCoordinates3 | ( | ) | const [inline] |
Retrieves the third texture coordinates.
| const decVector2& deModelFace::GetTextureCoordinatesAt | ( | int | corner ) | const |
Retrieves the given texture coordinates.
| int deModelFace::GetVertex1 | ( | ) | const [inline] |
Retrieves the index of the first vertex.
| int deModelFace::GetVertex2 | ( | ) | const [inline] |
Retrieves the index of the second vertex.
| int deModelFace::GetVertex3 | ( | ) | const [inline] |
Retrieves the index of the third vertex.
| int deModelFace::GetVertexAt | ( | int | corner ) | const |
Retrieves the index of the given vertex.
| void deModelFace::SetFaceNormal | ( | const decVector & | normal ) |
Sets the face normal.
| void deModelFace::SetFaceTangent | ( | const decVector & | tangent ) |
Sets the face tangent.
| void deModelFace::SetNormal1 | ( | int | normal ) |
Sets the index of the first normal.
| void deModelFace::SetNormal2 | ( | int | normal ) |
Sets the index of the second normal.
| void deModelFace::SetNormal3 | ( | int | normal ) |
Sets the index of the third normal.
| void deModelFace::SetNormalAt | ( | int | corner, |
| int | normal | ||
| ) |
Sets the index of the given normal.
| void deModelFace::SetTangent1 | ( | int | tangent ) |
Sets the index of the first tangent.
| void deModelFace::SetTangent2 | ( | int | tangent ) |
Sets the index of the second tangent.
| void deModelFace::SetTangent3 | ( | int | tangent ) |
Sets the index of the third tangent.
| void deModelFace::SetTangentAt | ( | int | corner, |
| int | tangent | ||
| ) |
Sets the index of the given tangent.
| void deModelFace::SetTexture | ( | int | texture ) |
Sets the index of the texture.
| void deModelFace::SetTextureCoordinates1 | ( | const decVector2 & | textureCoordinates ) |
Sets the first texture coordinates.
| void deModelFace::SetTextureCoordinates2 | ( | const decVector2 & | textureCoordinates ) |
Sets the second texture coordinates.
| void deModelFace::SetTextureCoordinates3 | ( | const decVector2 & | textureCoordinates ) |
Sets the third texture coordinates.
| void deModelFace::SetTextureCoordinatesAt | ( | int | corner, |
| const decVector2 & | textureCoordinates | ||
| ) |
Sets the given texture coordinates.
| void deModelFace::SetVertex1 | ( | int | vertex ) |
Sets the index of the first vertex.
| void deModelFace::SetVertex2 | ( | int | vertex ) |
Sets the index of the second vertex.
| void deModelFace::SetVertex3 | ( | int | vertex ) |
Sets the index of the third vertex.
| void deModelFace::SetVertexAt | ( | int | corner, |
| int | vertex | ||
| ) |
Sets the index of the given vertex.
1.7.2