K3dVorLeafBuild Class Reference

#include <K3dVorLeafBuild.h>

Inheritance diagram for K3dVorLeafBuild:

K3dObjectBuild K3dMngGeometry K3dMngSystem K3dScene List of all members.

Public Member Functions

 K3dVorLeafBuild (K3dGameData *_pGameData)
 Constructor.
 ~K3dVorLeafBuild (void)
K3dVorLeafObjCreateNewVorLeafObj ()
 Create new Voronoi leaf and add this to the global data.
void DeleteVorLeafs ()
 Delete all Voronoi leafs from global data.

Private Attributes

K3dGameDatam_pGameData
 Global game data, data centered game system.

Detailed Description

Definition at line 41 of file K3dVorLeafBuild.h.


Constructor & Destructor Documentation

K3dVorLeafBuild::K3dVorLeafBuild ( K3dGameData _pGameData  ) 

Constructor.

Parameters:
_pGameData Pointer to global game data
See also:
K3dGameData

Definition at line 38 of file K3dVorLeafBuild.cpp.

References m_pGameData, and K3dSceneData::SetVorLeafBuild().

K3dVorLeafBuild::~K3dVorLeafBuild ( void   ) 

Definition at line 45 of file K3dVorLeafBuild.cpp.

References DeleteVorLeafs().


Member Function Documentation

K3dVorLeafObj * K3dVorLeafBuild::CreateNewVorLeafObj (  ) 

Create new Voronoi leaf and add this to the global data.

Return values:
K3dVorLeafObj* New Voronoi leaf pointer

Definition at line 52 of file K3dVorLeafBuild.cpp.

References K3dVorLeafObj::GetId(), K3dSafePointer< _T >::GetNum(), K3dGameData::GetVorLeafObjSP(), m_pGameData, and K3dSafePointer< _T >::New().

void K3dVorLeafBuild::DeleteVorLeafs (  ) 

Delete all Voronoi leafs from global data.

Definition at line 63 of file K3dVorLeafBuild.cpp.

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

Referenced by ~K3dVorLeafBuild().


Member Data Documentation

K3dGameData* K3dVorLeafBuild::m_pGameData [private]

Global game data, data centered game system.

Reimplemented in K3dObjectBuild, K3dScene, K3dMngGeometry, and K3dMngSystem.

Definition at line 43 of file K3dVorLeafBuild.h.

Referenced by CreateNewVorLeafObj(), DeleteVorLeafs(), and K3dVorLeafBuild().


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