#include <K3dPolyBuild.h>
Inheritance diagram for K3dPolyBuild:
Public Member Functions | |
K3dPolyBuild (K3dGameData *_pGameData) | |
Constructor. | |
~K3dPolyBuild (void) | |
K3dPolyObj * | CreateNewPolyObj () |
Create new polyhedron object and add this to the global data. | |
void | DeletePolyhedrons () |
Delete all polyhedrons from global data. | |
Private Attributes | |
K3dGameData * | m_pGameData |
Global game data, data centered game system. |
Definition at line 39 of file K3dPolyBuild.h.
K3dPolyBuild::K3dPolyBuild | ( | K3dGameData * | _pGameData | ) |
Constructor.
_pGameData | Pointer to global game data |
Definition at line 38 of file K3dPolyBuild.cpp.
References m_pGameData, and K3dSceneData::SetPolyBuild().
K3dPolyBuild::~K3dPolyBuild | ( | void | ) |
K3dPolyObj * K3dPolyBuild::CreateNewPolyObj | ( | ) |
Create new polyhedron object and add this to the global data.
K3dVorLeafObj* | New Voronoi leaf pointer |
Definition at line 53 of file K3dPolyBuild.cpp.
References K3dPolyObj::GetId(), K3dSafePointer< _T >::GetNum(), K3dGameData::GetPolyObjSP(), m_pGameData, and K3dSafePointer< _T >::New().
Referenced by K3dConvex::CreatePolyFromVertexArray(), and K3dCutPoly::Cut().
void K3dPolyBuild::DeletePolyhedrons | ( | ) |
Delete all polyhedrons from global data.
Definition at line 62 of file K3dPolyBuild.cpp.
References K3dSafePointer< _T >::Delete(), K3dSafePointer< _T >::Get(), K3dSafePointer< _T >::GetNum(), K3dGameData::GetPolyObjSP(), and m_pGameData.
Referenced by ~K3dPolyBuild().
K3dGameData* K3dPolyBuild::m_pGameData [private] |
Global game data, data centered game system.
Reimplemented from K3dPolyWork.
Reimplemented in K3dObjectBuild, K3dScene, K3dMngGeometry, and K3dMngSystem.
Definition at line 42 of file K3dPolyBuild.h.
Referenced by CreateNewPolyObj(), DeletePolyhedrons(), and K3dPolyBuild().