K3dVertex Class Reference

#include <K3dVertex.h>

Inheritance diagram for K3dVertex:

K3dVertexObj List of all members.

Public Member Functions

 K3dVertex ()
 ~K3dVertex ()
void Reset ()
 Reset vertex.
K3dVector3ObjGetPosition ()
 Get position.
const K3dVector3ObjGetPosition () const
void SetPosition (K3dVector3Obj *_pPosition)
 Set position.
K3dVector2GetTexCoord ()
 Get texture coordination.
const K3dVector2GetTexCoord () const
void SetTexCoord (K3dVector2 *_pTexCoord)
 Set texture coordination.
K3dVector3ObjGetNormal ()
 Get normal vector.
const K3dVector3ObjGetNormal () const
void SetNormal (K3dVector3Obj *_pNormal)
 Set normal vector.
K3dColor4GetColor ()
 Get color.
void SetColor (K3dColor4 *_pColor)
 Set color.
int & GetSize ()
 Get or set vertex size.

Private Attributes

K3dVector3Objm_pPosition
 3d position
K3dVector2m_pTexCoord
 Texture coordination.
K3dVector3Objm_pNormal
 Normal vector.
K3dColor4m_pColor
 RGBA Color.
int m_iSize
 Vertex size for possible visualization.

Detailed Description

Definition at line 39 of file K3dVertex.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Definition at line 68 of file K3dVertex.h.

References m_pPosition.

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]

Get texture coordination.

Definition at line 80 of file K3dVertex.h.

References m_pTexCoord.

const K3dVector2* K3dVertex::GetTexCoord (  )  const [inline]

Definition at line 85 of file K3dVertex.h.

References m_pTexCoord.

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]

Get normal vector.

Definition at line 97 of file K3dVertex.h.

References m_pNormal.

const K3dVector3Obj* K3dVertex::GetNormal (  )  const [inline]

Definition at line 102 of file K3dVertex.h.

References m_pNormal.

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().


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Thu Aug 16 23:53:34 2007 for K3dEngine by  doxygen 1.5.0