K3dSphereVis Class Reference

#include <K3dSphereVis.h>

Inheritance diagram for K3dSphereVis:

K3dSphere K3dSphereMove K3dSphereObj List of all members.

Public Member Functions

 K3dSphereVis ()
 ~K3dSphereVis ()
int & GetTextureId ()
 Get or set texture index.
K3dColor3GetColor ()
 Get sphere color.
void SetColor (K3dColor3 *_pColor)
 Set sphere color.
int & GetNumSlices ()
 Get or set number of sphere slices.
int & GetNumStacks ()
 Get or set number of sphere stacks.

Private Attributes

K3dColor3m_pColor
 Sphere color.
int m_iNumSlices
 Number of sphere slices.
int m_iNumStacks
 Number of shpere stacks.
int m_iTextureId
 Texture index.

Detailed Description

Definition at line 38 of file K3dSphereVis.h.


Constructor & Destructor Documentation

K3dSphereVis::K3dSphereVis (  ) 

Definition at line 36 of file K3dSphereVis.cpp.

References m_iNumSlices, m_iNumStacks, m_iTextureId, and m_pColor.

K3dSphereVis::~K3dSphereVis (  ) 

Definition at line 44 of file K3dSphereVis.cpp.


Member Function Documentation

int& K3dSphereVis::GetTextureId (  )  [inline]

Get or set texture index.

Definition at line 50 of file K3dSphereVis.h.

References m_iTextureId.

K3dColor3* K3dSphereVis::GetColor (  )  [inline]

Get sphere color.

Definition at line 56 of file K3dSphereVis.h.

References m_pColor.

Referenced by K3dObjectWork::SetColor().

void K3dSphereVis::SetColor ( K3dColor3 _pColor  )  [inline]

Set sphere color.

Definition at line 62 of file K3dSphereVis.h.

References m_pColor.

Referenced by K3dSphereBuild::CreateNewSphereObj().

int& K3dSphereVis::GetNumSlices (  )  [inline]

Get or set number of sphere slices.

Definition at line 68 of file K3dSphereVis.h.

References m_iNumSlices.

int& K3dSphereVis::GetNumStacks (  )  [inline]

Get or set number of sphere stacks.

Definition at line 74 of file K3dSphereVis.h.

References m_iNumStacks.


Member Data Documentation

K3dColor3* K3dSphereVis::m_pColor [private]

Sphere color.

Definition at line 40 of file K3dSphereVis.h.

Referenced by GetColor(), K3dSphereVis(), and SetColor().

int K3dSphereVis::m_iNumSlices [private]

Number of sphere slices.

Definition at line 41 of file K3dSphereVis.h.

Referenced by GetNumSlices(), and K3dSphereVis().

int K3dSphereVis::m_iNumStacks [private]

Number of shpere stacks.

Definition at line 42 of file K3dSphereVis.h.

Referenced by GetNumStacks(), and K3dSphereVis().

int K3dSphereVis::m_iTextureId [private]

Texture index.

Definition at line 43 of file K3dSphereVis.h.

Referenced by GetTextureId(), and K3dSphereVis().


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