K3dMngGeometry Class Reference

#include <K3dMngGeometry.h>

Inheritance diagram for K3dMngGeometry:

K3dObjectBuild K3dLight K3dDraw K3dAim K3dTools K3dTriangulation K3dDrawVertex K3dDrawPlane K3dDrawSphere K3dDrawLine K3dDrawTriangle K3dObjectWork K3dVorLeafBuild K3dPolyBuild K3dBlockBuild K3dBoxBuild K3dTriangleBuild K3dFaceBuild K3dCameraBuild K3dRayBuild K3dSphereBuild K3dLineBuild K3dPolyPlaneBuild K3dPlaneBuild K3dMatrixBuild K3dVertexBuild K3dColor4Build K3dColor3Build K3dVector2Build K3dVector3Build K3dConfDataBuild K3dSystemDataBuild K3dMngSystem K3dScene List of all members.

Public Member Functions

 K3dMngGeometry (K3dGameData *_pGameData)
 ~K3dMngGeometry ()
void InitMngGeometry ()
 Initialize geometry manager.
void UpdateMngGeometry ()
 Update geometry manager.
void DrawMngGeometry ()
 Draw geometry manager.
void DeleteMngGeometry ()
 Delete geometry manager.

Private Attributes

K3dGameDatam_pGameData
 Global game data, data centered game system.
K3dOpenGLm_pOpenGL
 Pointer to OpenGL interface.

Detailed Description

Definition at line 48 of file K3dMngGeometry.h.


Constructor & Destructor Documentation

K3dMngGeometry::K3dMngGeometry ( K3dGameData _pGameData  ) 

Definition at line 38 of file K3dMngGeometry.cpp.

References K3dSceneData::GetOpenGL(), m_pGameData, and m_pOpenGL.

K3dMngGeometry::~K3dMngGeometry (  ) 

Definition at line 48 of file K3dMngGeometry.cpp.


Member Function Documentation

void K3dMngGeometry::InitMngGeometry (  ) 

Initialize geometry manager.

Definition at line 53 of file K3dMngGeometry.cpp.

References K3dDraw::BuildTriangleArray(), K3dTriangulation::BuildTriangles(), K3dAim::CreateAimRay(), K3dConvex::InitConvex(), K3dLight::InitLight(), K3dSphereWork::InitSphereWork(), K3dBlockBuild::LoadBlocks(), K3dCameraBuild::LoadCameras(), K3dFaceBuild::LoadFaces(), K3dLineBuild::LoadLines(), K3dPlaneBuild::LoadPlanes(), K3dRayBuild::LoadRays(), K3dSphereBuild::LoadSpheres(), and K3dVertexBuild::LoadVertices().

Referenced by K3dMngSystem::InitMngSystem().

void K3dMngGeometry::UpdateMngGeometry (  ) 

Update geometry manager.

Definition at line 75 of file K3dMngGeometry.cpp.

References K3dAim::CalcAimRay(), K3dSafePointer< _T >::Get(), K3dCameraData::GetActiveCamId(), K3dGameData::GetCameraObjSP(), m_pGameData, K3dCamera::UpdateCamera(), K3dLineWork::UpdateLines(), K3dPlaneWork::UpdatePlanes(), and K3dSphereWork::UpdateSpheres().

Referenced by K3dMngSystem::UpdateMngSystem().

void K3dMngGeometry::DrawMngGeometry (  ) 

Draw geometry manager.

Definition at line 98 of file K3dMngGeometry.cpp.

References K3dLight::DrawLight(), K3dDrawLine::DrawLines(), K3dDrawPlane::DrawPlanes(), K3dDrawSphere::DrawSpheres(), K3dDrawTriangle::DrawTriangleArray(), K3dDrawVertex::DrawVertices(), K3dSafePointer< _T >::Get(), K3dCameraData::GetActiveCamId(), K3dGameData::GetCameraObjSP(), K3dSceneData::GetViewMatrix(), K3dCamera::Look(), m_pGameData, m_pOpenGL, and K3dOpenGL::Set3DProjection().

Referenced by K3dMngSystem::DrawMngSystem().

void K3dMngGeometry::DeleteMngGeometry (  ) 

Delete geometry manager.

Definition at line 131 of file K3dMngGeometry.cpp.

References K3dBlockBuild::DeleteBlocks(), K3dCameraBuild::DeleteCameras(), K3dFaceBuild::DeleteFaces(), K3dLineBuild::DeleteLines(), K3dPlaneBuild::DeletePlanes(), K3dRayBuild::DeleteRays(), K3dSphereBuild::DeleteSpheres(), K3dTriangleBuild::DeleteTriangles(), K3dDrawTriangle::DeleteVertexArray(), and K3dVertexBuild::DeleteVertices().

Referenced by K3dMngSystem::DeleteMngSystem().


Member Data Documentation

K3dGameData* K3dMngGeometry::m_pGameData [private]

Global game data, data centered game system.

Reimplemented from K3dDraw.

Reimplemented in K3dScene, and K3dMngSystem.

Definition at line 55 of file K3dMngGeometry.h.

Referenced by DrawMngGeometry(), K3dMngGeometry(), and UpdateMngGeometry().

K3dOpenGL* K3dMngGeometry::m_pOpenGL [private]

Pointer to OpenGL interface.

Definition at line 56 of file K3dMngGeometry.h.

Referenced by DrawMngGeometry(), and K3dMngGeometry().


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