#include <Polygon.hpp>
Public Member Functions | |
Vertex () | |
Contructor. | |
~Vertex () | |
Destructor. | |
const Vector3 & | getVector () const |
Get the vector. | |
void | setVector (const Vector3 &vector) |
Set the vector. | |
const double | getTextureU () const |
Get texture u coordinates. | |
const double | getTextureV () const |
Get texture v coordinates. | |
void | setTextureUV (const double u, const double v) |
Set texture coordinates. | |
const std::string & | getTextureName () const |
Get texture name. | |
void | setTextureName (const std::string &name) |
Set texture name. | |
Vertex * | getNext () const |
Get the next vertex. | |
void | setNext (Vertex *pNext) |
Set the next vertex. | |
Private Attributes | |
Vertex * | m_pNext |
Pointer to the next Vertex in the linked list. | |
Vector3 | m_vector |
Vector. | |
double | m_textureU |
Texture u coordinate. | |
double | m_textureV |
Texture v coordinate. | |
std::string | m_textureName |
Name of the texture. |
syBR::map2syBR::Vertex::Vertex | ( | ) |
Contructor.
syBR::map2syBR::Vertex::~Vertex | ( | ) |
Destructor.
const Vector3 & syBR::map2syBR::Vertex::getVector | ( | ) | const |
Get the vector.
void syBR::map2syBR::Vertex::setVector | ( | const Vector3 & | vector | ) |
Set the vector.
vector | Vector of the vertex |
const double syBR::map2syBR::Vertex::getTextureU | ( | ) | const |
Get texture u coordinates.
const double syBR::map2syBR::Vertex::getTextureV | ( | ) | const |
Get texture v coordinates.
void syBR::map2syBR::Vertex::setTextureUV | ( | const double | u, | |
const double | v | |||
) |
Set texture coordinates.
u | Texture u coordinates | |
v | Texture v coordinates |
const std::string & syBR::map2syBR::Vertex::getTextureName | ( | ) | const |
Get texture name.
void syBR::map2syBR::Vertex::setTextureName | ( | const std::string & | name | ) |
Set texture name.
name | Name of the texture |
Vertex * syBR::map2syBR::Vertex::getNext | ( | ) | const |
Get the next vertex.
void syBR::map2syBR::Vertex::setNext | ( | Vertex * | pNext | ) |
Set the next vertex.
pNext | Pointer to the next vertex of the linked list |
Vertex* syBR::map2syBR::Vertex::m_pNext [private] |
Pointer to the next Vertex in the linked list.
Vector3 syBR::map2syBR::Vertex::m_vector [private] |
Vector.
double syBR::map2syBR::Vertex::m_textureU [private] |
Texture u coordinate.
double syBR::map2syBR::Vertex::m_textureV [private] |
Texture v coordinate.
std::string syBR::map2syBR::Vertex::m_textureName [private] |
Name of the texture.
Copyright © 2008 by Sebastien Frippiat
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.
Last modified Tue Dec 30 17:57:34 2008