#include <K3dSphereVis.h>
Inheritance diagram for K3dSphereVis:
Public Member Functions | |
K3dSphereVis () | |
~K3dSphereVis () | |
int & | GetTextureId () |
Get or set texture index. | |
K3dColor3 * | GetColor () |
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 | |
K3dColor3 * | m_pColor |
Sphere color. | |
int | m_iNumSlices |
Number of sphere slices. | |
int | m_iNumStacks |
Number of shpere stacks. | |
int | m_iTextureId |
Texture index. |
Definition at line 38 of file K3dSphereVis.h.
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.
int& K3dSphereVis::GetTextureId | ( | ) | [inline] |
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.
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().