#include <K3dMngGeometry.h>
Inheritance diagram for K3dMngGeometry:
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 | |
K3dGameData * | m_pGameData |
Global game data, data centered game system. | |
K3dOpenGL * | m_pOpenGL |
Pointer to OpenGL interface. |
Definition at line 48 of file K3dMngGeometry.h.
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.
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().
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().