K3dDrawSphere Class Reference

#include <K3dDrawSphere.h>

Inheritance diagram for K3dDrawSphere:

K3dDraw K3dMngGeometry K3dMngSystem K3dScene List of all members.

Public Member Functions

 K3dDrawSphere (K3dGameData *_pGameData)
 ~K3dDrawSphere ()
void DrawSpheres ()
 Draw spheres.

Private Attributes

K3dGameDatam_pGameData
 Global game data, data centered game system.
GLUquadricObj * m_pQuadricObj
 Quadric object for rendering spheres.
K3dMatrix m_kViewMatrix
 View matrix.
K3dMatrix m_kModelMatrix
 Model matrix.

Detailed Description

Definition at line 38 of file K3dDrawSphere.h.


Constructor & Destructor Documentation

K3dDrawSphere::K3dDrawSphere ( K3dGameData _pGameData  )  [inline]

Definition at line 46 of file K3dDrawSphere.h.

References m_pGameData, and m_pQuadricObj.

K3dDrawSphere::~K3dDrawSphere (  )  [inline]

Definition at line 52 of file K3dDrawSphere.h.


Member Function Documentation

void K3dDrawSphere::DrawSpheres (  ) 

Draw spheres.

Definition at line 36 of file K3dDrawSphere.cpp.

References K3dSafePointer< _T >::Get(), K3dMatrix::GetMatrix(), K3dSafePointer< _T >::GetNum(), K3dGameData::GetSphereObjSP(), K3dSceneData::GetViewMatrix(), m_kModelMatrix, m_kViewMatrix, m_pGameData, m_pQuadricObj, and K3dMatrix::Multiply().

Referenced by K3dMngGeometry::DrawMngGeometry().


Member Data Documentation

K3dGameData* K3dDrawSphere::m_pGameData [private]

Global game data, data centered game system.

Reimplemented in K3dDraw, K3dScene, K3dMngGeometry, and K3dMngSystem.

Definition at line 40 of file K3dDrawSphere.h.

Referenced by DrawSpheres(), and K3dDrawSphere().

GLUquadricObj* K3dDrawSphere::m_pQuadricObj [private]

Quadric object for rendering spheres.

Definition at line 41 of file K3dDrawSphere.h.

Referenced by DrawSpheres(), and K3dDrawSphere().

K3dMatrix K3dDrawSphere::m_kViewMatrix [private]

View matrix.

Definition at line 42 of file K3dDrawSphere.h.

Referenced by DrawSpheres().

K3dMatrix K3dDrawSphere::m_kModelMatrix [private]

Model matrix.

Definition at line 43 of file K3dDrawSphere.h.

Referenced by DrawSpheres().


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