#include <K3dVertex.h>
Inheritance diagram for K3dVertex:

Public Member Functions | |
| K3dVertex () | |
| ~K3dVertex () | |
| void | Reset () |
| Reset vertex. | |
| K3dVector3Obj * | GetPosition () |
| Get position. | |
| const K3dVector3Obj * | GetPosition () const |
| void | SetPosition (K3dVector3Obj *_pPosition) |
| Set position. | |
| K3dVector2 * | GetTexCoord () |
| Get texture coordination. | |
| const K3dVector2 * | GetTexCoord () const |
| void | SetTexCoord (K3dVector2 *_pTexCoord) |
| Set texture coordination. | |
| K3dVector3Obj * | GetNormal () |
| Get normal vector. | |
| const K3dVector3Obj * | GetNormal () const |
| void | SetNormal (K3dVector3Obj *_pNormal) |
| Set normal vector. | |
| K3dColor4 * | GetColor () |
| Get color. | |
| void | SetColor (K3dColor4 *_pColor) |
| Set color. | |
| int & | GetSize () |
| Get or set vertex size. | |
Private Attributes | |
| K3dVector3Obj * | m_pPosition |
| 3d position | |
| K3dVector2 * | m_pTexCoord |
| Texture coordination. | |
| K3dVector3Obj * | m_pNormal |
| Normal vector. | |
| K3dColor4 * | m_pColor |
| RGBA Color. | |
| int | m_iSize |
| Vertex size for possible visualization. | |
Definition at line 39 of file K3dVertex.h.
| K3dVertex::K3dVertex | ( | ) |
Definition at line 35 of file K3dVertex.cpp.
References m_iSize, m_pColor, m_pNormal, m_pPosition, and m_pTexCoord.
| K3dVertex::~K3dVertex | ( | ) |
Definition at line 45 of file K3dVertex.cpp.
| void K3dVertex::Reset | ( | ) | [inline] |
Reset vertex.
Definition at line 57 of file K3dVertex.h.
References m_pPosition, and K3dVector3::Reset().
| K3dVector3Obj* K3dVertex::GetPosition | ( | ) | [inline] |
Get position.
Definition at line 63 of file K3dVertex.h.
References m_pPosition.
Referenced by K3dVM::AddVertex(), K3dBoxBuild::CreateSceneBox(), and K3dVM::SetVertexPos().
| const K3dVector3Obj* K3dVertex::GetPosition | ( | ) | const [inline] |
| void K3dVertex::SetPosition | ( | K3dVector3Obj * | _pPosition | ) | [inline] |
Set position.
Definition at line 74 of file K3dVertex.h.
References m_pPosition.
Referenced by K3dVertexBuild::CreateNewVertexObj().
| K3dVector2* K3dVertex::GetTexCoord | ( | ) | [inline] |
| const K3dVector2* K3dVertex::GetTexCoord | ( | ) | const [inline] |
| void K3dVertex::SetTexCoord | ( | K3dVector2 * | _pTexCoord | ) | [inline] |
Set texture coordination.
Definition at line 91 of file K3dVertex.h.
References m_pTexCoord.
Referenced by K3dVertexBuild::CreateNewVertexObj().
| K3dVector3Obj* K3dVertex::GetNormal | ( | ) | [inline] |
| const K3dVector3Obj* K3dVertex::GetNormal | ( | ) | const [inline] |
| void K3dVertex::SetNormal | ( | K3dVector3Obj * | _pNormal | ) | [inline] |
Set normal vector.
Definition at line 108 of file K3dVertex.h.
References m_pNormal.
Referenced by K3dVertexBuild::CreateNewVertexObj().
| K3dColor4* K3dVertex::GetColor | ( | ) | [inline] |
Get color.
Definition at line 114 of file K3dVertex.h.
References m_pColor.
Referenced by K3dVM::AddVertex(), and K3dFaceBuild::LoadFaces().
| void K3dVertex::SetColor | ( | K3dColor4 * | _pColor | ) | [inline] |
Set color.
Definition at line 120 of file K3dVertex.h.
References m_pColor.
Referenced by K3dVertexBuild::CreateNewVertexObj().
| int& K3dVertex::GetSize | ( | ) | [inline] |
Get or set vertex size.
Definition at line 126 of file K3dVertex.h.
References m_iSize.
Referenced by K3dVM::AddVertex().
K3dVector3Obj* K3dVertex::m_pPosition [private] |
3d position
Definition at line 42 of file K3dVertex.h.
Referenced by GetPosition(), K3dVertex(), Reset(), and SetPosition().
K3dVector2* K3dVertex::m_pTexCoord [private] |
Texture coordination.
Definition at line 44 of file K3dVertex.h.
Referenced by GetTexCoord(), K3dVertex(), and SetTexCoord().
K3dVector3Obj* K3dVertex::m_pNormal [private] |
Normal vector.
Definition at line 46 of file K3dVertex.h.
Referenced by GetNormal(), K3dVertex(), and SetNormal().
K3dColor4* K3dVertex::m_pColor [private] |
RGBA Color.
Definition at line 48 of file K3dVertex.h.
Referenced by GetColor(), K3dVertex(), and SetColor().
int K3dVertex::m_iSize [private] |
Vertex size for possible visualization.
Definition at line 50 of file K3dVertex.h.
Referenced by GetSize(), and K3dVertex().
1.5.0