K3dLineWork Class Reference

#include <K3dLineWork.h>

Inheritance diagram for K3dLineWork:

K3dObjectWork K3dObjectBuild K3dMngGeometry K3dMngSystem K3dScene List of all members.

Public Member Functions

 K3dLineWork (K3dGameData *_pGameData)
 ~K3dLineWork (void)
int FindLineId (const char *_strName)
 Find line index in global line data by line name.
void UpdateLines ()
 Update lines.
void DeleteLine (K3dLineObj *_pLine, TLineArray &_rvLine)
 Delete line from line array.
void DeleteDupLines (TLineArray &_rvLine)
 Delete duplicated lines from line array.
void CheckLineArray (TLineArray &_rvLine)
 Check line array structure.

Private Attributes

K3dGameDatam_pGameData
 Global game data, data centered game system.

Detailed Description

Definition at line 37 of file K3dLineWork.h.


Constructor & Destructor Documentation

K3dLineWork::K3dLineWork ( K3dGameData _pGameData  ) 

Definition at line 35 of file K3dLineWork.cpp.

References m_pGameData.

K3dLineWork::~K3dLineWork ( void   ) 

Definition at line 40 of file K3dLineWork.cpp.


Member Function Documentation

int K3dLineWork::FindLineId ( const char *  _strName  ) 

Find line index in global line data by line name.

Definition at line 45 of file K3dLineWork.cpp.

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

Referenced by K3dObjectWork::FindObjectId().

void K3dLineWork::UpdateLines (  ) 

Update lines.

Definition at line 60 of file K3dLineWork.cpp.

References K3dSafePointer< _T >::Get(), K3dGameData::GetLineObjSP(), K3dSafePointer< _T >::GetNum(), m_pGameData, and K3dLineMove::UpdateMatrix().

Referenced by K3dMngGeometry::UpdateMngGeometry().

void K3dLineWork::DeleteLine ( K3dLineObj _pLine,
TLineArray _rvLine 
)

Delete line from line array.

Parameters:
_pLine Line will be deleting from line array if exists in line array
_rvLine Line array

Definition at line 71 of file K3dLineWork.cpp.

Referenced by DeleteDupLines().

void K3dLineWork::DeleteDupLines ( TLineArray _rvLine  ) 

Delete duplicated lines from line array.

Parameters:
&_rvLine Input, output line array

Definition at line 86 of file K3dLineWork.cpp.

References DeleteLine().

Referenced by K3dConvex::CreatePolyFromVertexArray().

void K3dLineWork::CheckLineArray ( TLineArray _rvLine  ) 

Check line array structure.

Parameters:
_rvLine Checked line array

Definition at line 126 of file K3dLineWork.cpp.

References K3dLineObj::GetId().


Member Data Documentation

K3dGameData* K3dLineWork::m_pGameData [private]

Global game data, data centered game system.

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

Definition at line 39 of file K3dLineWork.h.

Referenced by FindLineId(), K3dLineWork(), and UpdateLines().


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