K3dVertexWork Class Reference

#include <K3dVertexWork.h>

Inheritance diagram for K3dVertexWork:

K3dVertexBuild K3dObjectBuild K3dMngGeometry K3dMngSystem K3dScene List of all members.

Public Member Functions

 K3dVertexWork (K3dGameData *_pGameData)
 ~K3dVertexWork (void)
int FindVertexId (const char *_strName)
 Find vertex index from global vertex data by vertex name.
K3dVertexObjFindVertex (const char *_strName)
 Find vertex from global vertex data by vertex name.
void CheckVertexArray (TVertexArray &_rvVertex, ofstream *_pOut)
 Check vertex array.
void DeleteVertex (K3dVertexObj *_pVertex, TVertexArray &_rvVertex)
 Delete vertex from vertex array.
void DeleteDupVerts (TVertexArray &_rvVertex)
 Delete duplicated vertices from vertex array.

Private Attributes

K3dGameDatam_pGameData
 Global game data, data centered game system.

Detailed Description

Definition at line 38 of file K3dVertexWork.h.


Constructor & Destructor Documentation

K3dVertexWork::K3dVertexWork ( K3dGameData _pGameData  ) 

Definition at line 35 of file K3dVertexWork.cpp.

References m_pGameData, and K3dSceneData::SetVertexWork().

K3dVertexWork::~K3dVertexWork ( void   ) 

Definition at line 42 of file K3dVertexWork.cpp.


Member Function Documentation

int K3dVertexWork::FindVertexId ( const char *  _strName  ) 

Find vertex index from global vertex data by vertex name.

Definition at line 47 of file K3dVertexWork.cpp.

References K3dSafePointer< _T >::Get(), K3dSafePointer< _T >::GetNum(), K3dGameData::GetVertexObjSP(), and m_pGameData.

Referenced by K3dObjectWork::FindObjectId().

K3dVertexObj * K3dVertexWork::FindVertex ( const char *  _strName  ) 

Find vertex from global vertex data by vertex name.

Definition at line 62 of file K3dVertexWork.cpp.

References K3dSafePointer< _T >::Get(), K3dSafePointer< _T >::GetNum(), K3dGameData::GetVertexObjSP(), and m_pGameData.

Referenced by K3dFaceBuild::LoadFaces().

void K3dVertexWork::CheckVertexArray ( TVertexArray _rvVertex,
ofstream *  _pOut 
)

Check vertex array.

Definition at line 77 of file K3dVertexWork.cpp.

Referenced by K3dPolyWork::CheckPoly().

void K3dVertexWork::DeleteVertex ( K3dVertexObj _pVertex,
TVertexArray _rvVertex 
)

Delete vertex from vertex array.

Parameters:
_pVertex Vertex will be deleting from vertex array if exists in vertex array
_rvVertex Vertex array

Definition at line 103 of file K3dVertexWork.cpp.

Referenced by DeleteDupVerts().

void K3dVertexWork::DeleteDupVerts ( TVertexArray _rvVertex  ) 

Delete duplicated vertices from vertex array.

Parameters:
&_rvVertex Input, output vertex array

Definition at line 119 of file K3dVertexWork.cpp.

References DeleteVertex().

Referenced by K3dConvex::CreatePolyFromVertexArray().


Member Data Documentation

K3dGameData* K3dVertexWork::m_pGameData [private]

Global game data, data centered game system.

Reimplemented in K3dObjectBuild, K3dVertexBuild, K3dScene, K3dMngGeometry, and K3dMngSystem.

Definition at line 40 of file K3dVertexWork.h.

Referenced by FindVertex(), FindVertexId(), and K3dVertexWork().


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