#include <K3dVorLeafBuild.h>
Inheritance diagram for K3dVorLeafBuild:
Public Member Functions | |
K3dVorLeafBuild (K3dGameData *_pGameData) | |
Constructor. | |
~K3dVorLeafBuild (void) | |
K3dVorLeafObj * | CreateNewVorLeafObj () |
Create new Voronoi leaf and add this to the global data. | |
void | DeleteVorLeafs () |
Delete all Voronoi leafs from global data. | |
Private Attributes | |
K3dGameData * | m_pGameData |
Global game data, data centered game system. |
Definition at line 41 of file K3dVorLeafBuild.h.
K3dVorLeafBuild::K3dVorLeafBuild | ( | K3dGameData * | _pGameData | ) |
Constructor.
_pGameData | Pointer to global game data |
Definition at line 38 of file K3dVorLeafBuild.cpp.
References m_pGameData, and K3dSceneData::SetVorLeafBuild().
K3dVorLeafBuild::~K3dVorLeafBuild | ( | void | ) |
K3dVorLeafObj * K3dVorLeafBuild::CreateNewVorLeafObj | ( | ) |
Create new Voronoi leaf and add this to the global data.
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().
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().