|
VizKit
3.3.7
|
A vertex is coord position information, incl. More...
#include <VisualVertex.h>
Public Member Functions | |
| VisualVertex (Coord coordPoint) | |
| Constructor that creates and returns a vertex at the specified position. | |
| VisualVertex (Coord coordPoint, VertexColor anRGBAColor) | |
| Constructor that creates and returns a vertex at the specified position. | |
| VisualVertex (Coord coordPoint, Coord relativeCoordPoint, VertexColor anRGBAColor) | |
| Constructor that creates and returns a vertex at the specified position. | |
| VisualVertex (Coord coordPoint, TexCoord texCoordPoint, VertexColor anRGBAColor) | |
| Constructor that creates and returns a vertex at the specified position. | |
| VisualVertex (Coord coordPoint, Coord relativeCoordPoint, TexCoord texCoordPoint, VertexColor anRGBAColor) | |
| Constructor that creates and returns a vertex at the specified position. | |
| VisualVertex (Coord coordPoint, Coord relativeCoordPoint, TexCoord texCoordPoint, TexCoord relTexCoordPoint, VertexColor anRGBAColor) | |
| Constructor that creates and returns a vertex at the specified position. | |
| VisualVertex (VertexPosition aVertexPosition, VertexColor anRGBAColor) | |
| Constructor that creates and returns a vertex at the specified position. | |
| ~VisualVertex () | |
| The destructor. | |
| VisualVertex (const VisualVertex &other) | |
| Copy constructor. | |
| VisualVertex & | operator= (const VisualVertex &other) |
| Assignment operator. | |
| void | setRelativeVertexPosition (Coord coordPoint) |
| Updates the relative position values of the vertex. | |
| void | setRelativeTexCoordPosition (TexCoord aTexCoord) |
| Updates the relative tex coord position of the vertex. | |
| bool | colorHasBeenSet (void) |
| True if vertex contains a valid color. | |
Public Attributes | |
| VertexColor | vertexColor |
| The color of the vertex. | |
| VertexPosition | vertexPosition |
| The coord position of the vertex. | |
| TexCoordPosition | texCoordPosition |
| Texture position at the vertex. | |
Private Member Functions | |
| void | copy (const VisualVertex &other) |
| Copy method for assignment operator and copy constructor. | |
Private Attributes | |
| bool | colorIsSet |
| True if color of vertex is set. | |
A vertex is coord position information, incl.
color information and coord position. Texture position belongs to vertex data, too.
| VisualVertex::VisualVertex | ( | Coord | coordPoint | ) |
Constructor that creates and returns a vertex at the specified position.
| coordPoint | Coord position. |
| VisualVertex::VisualVertex | ( | Coord | coordPoint, |
| VertexColor | anRGBAColor | ||
| ) |
Constructor that creates and returns a vertex at the specified position.
| coordPoint | Coord position. |
| anRGBAColor | RGBA color associated with the vertex. |
| VisualVertex::VisualVertex | ( | Coord | coordPoint, |
| Coord | relativeCoordPoint, | ||
| VertexColor | anRGBAColor | ||
| ) |
Constructor that creates and returns a vertex at the specified position.
| coordPoint | Coord position. |
| relativeCoordPoint | Relative coord position. x: 0.0 means: left, 1.0 means: right; y: 0.0 means: bottom, 1.0 means: top; z: 0.0 means: front, 1.0 means: back. |
| anRGBAColor | RGBA color associated with the vertex. |
| VisualVertex::VisualVertex | ( | Coord | coordPoint, |
| TexCoord | texCoordPoint, | ||
| VertexColor | anRGBAColor | ||
| ) |
Constructor that creates and returns a vertex at the specified position.
| coordPoint | Coord position. |
| texCoordPoint | A position of a texture. |
| anRGBAColor | RGBA color associated with the vertex. |
| VisualVertex::VisualVertex | ( | Coord | coordPoint, |
| Coord | relativeCoordPoint, | ||
| TexCoord | texCoordPoint, | ||
| VertexColor | anRGBAColor | ||
| ) |
Constructor that creates and returns a vertex at the specified position.
| coordPoint | Coord position. |
| relativeCoordPoint | Relative coord position. x: 0.0 means: left, 1.0 means: right; y: 0.0 means: bottom, 1.0 means: top; z: 0.0 means: front, 1.0 means: back. |
| texCoordPoint | A position of a texture. |
| anRGBAColor | RGBA color associated with the vertex. |
| VisualVertex::VisualVertex | ( | Coord | coordPoint, |
| Coord | relativeCoordPoint, | ||
| TexCoord | texCoordPoint, | ||
| TexCoord | relTexCoordPoint, | ||
| VertexColor | anRGBAColor | ||
| ) |
Constructor that creates and returns a vertex at the specified position.
| coordPoint | Coord position. |
| relativeCoordPoint | Relative coord position. x: 0.0 means: left, 1.0 means: right; y: 0.0 means: bottom, 1.0 means: top; z: 0.0 means: front, 1.0 means: back. |
| texCoordPoint | A position of a texture. |
| relTexCoordPoint | A relative position of a texture. |
| anRGBAColor | RGBA color associated with the vertex. |
| VisualVertex::VisualVertex | ( | VertexPosition | aVertexPosition, |
| VertexColor | anRGBAColor | ||
| ) |
Constructor that creates and returns a vertex at the specified position.
| aVertexPosition | A vertex position. |
| anRGBAColor | RGBA color associated with the vertex. |
The destructor.
| VisualVertex::VisualVertex | ( | const VisualVertex & | other | ) |
Copy constructor.
| other | Reference to another VisualVertex. |
| bool VisualVertex::colorHasBeenSet | ( | void | ) |
True if vertex contains a valid color.
| void VisualVertex::copy | ( | const VisualVertex & | other | ) | [private] |
Copy method for assignment operator and copy constructor.
| other | Another VisualVertex. |
| VisualVertex & VisualVertex::operator= | ( | const VisualVertex & | other | ) |
Assignment operator.
| other | Reference to another VisualVertex. |
| void VisualVertex::setRelativeTexCoordPosition | ( | TexCoord | aTexCoord | ) |
Updates the relative tex coord position of the vertex.
| aTexCoord | The requested relative tex coord position of the vertex. |
| void VisualVertex::setRelativeVertexPosition | ( | Coord | coordPoint | ) |
Updates the relative position values of the vertex.
| coordPoint | The requested relative position values of the vertex. |
bool VizKit::VisualVertex::colorIsSet [private] |
True if color of vertex is set.
Texture position at the vertex.
The color of the vertex.
The coord position of the vertex.