K3dPolyBuild Class Reference

#include <K3dPolyBuild.h>

Inheritance diagram for K3dPolyBuild:

K3dPolyWork K3dObjectBuild K3dMngGeometry K3dMngSystem K3dScene List of all members.

Public Member Functions

 K3dPolyBuild (K3dGameData *_pGameData)
 Constructor.
 ~K3dPolyBuild (void)
K3dPolyObjCreateNewPolyObj ()
 Create new polyhedron object and add this to the global data.
void DeletePolyhedrons ()
 Delete all polyhedrons from global data.

Private Attributes

K3dGameDatam_pGameData
 Global game data, data centered game system.

Detailed Description

Definition at line 39 of file K3dPolyBuild.h.


Constructor & Destructor Documentation

K3dPolyBuild::K3dPolyBuild ( K3dGameData _pGameData  ) 

Constructor.

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

Definition at line 38 of file K3dPolyBuild.cpp.

References m_pGameData, and K3dSceneData::SetPolyBuild().

K3dPolyBuild::~K3dPolyBuild ( void   ) 

Definition at line 46 of file K3dPolyBuild.cpp.

References DeletePolyhedrons().


Member Function Documentation

K3dPolyObj * K3dPolyBuild::CreateNewPolyObj (  ) 

Create new polyhedron object and add this to the global data.

Return values:
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().


Member Data Documentation

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().


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