#include <K3dSphere.h>
Inheritance diagram for K3dSphere:
Public Member Functions | |
K3dSphere () | |
K3dSphere (K3dVector3Obj *_pPosition, const float _fRadius) | |
~K3dSphere () | |
K3dVector3Obj * | GetPosition () |
Get or set sphere position. | |
const K3dVector3Obj * | GetPosition () const |
void | SetPosition (K3dVector3Obj *_pPosition) |
float & | GetRadius () |
Get or set sphere radius. | |
const float & | GetRadius () const |
Private Attributes | |
K3dVector3Obj * | m_pPosition |
Sphere position. | |
float | m_fRadius |
Sphere radius. |
Definition at line 38 of file K3dSphere.h.
K3dSphere::K3dSphere | ( | ) |
K3dSphere::K3dSphere | ( | K3dVector3Obj * | _pPosition, | |
const float | _fRadius | |||
) |
K3dSphere::~K3dSphere | ( | ) |
Definition at line 47 of file K3dSphere.cpp.
K3dVector3Obj* K3dSphere::GetPosition | ( | ) | [inline] |
Get or set sphere position.
Definition at line 49 of file K3dSphere.h.
References m_pPosition.
Referenced by K3dObjectWork::GetDistance(), K3dVM::GetSpherePos(), K3dSphereMove::Move(), K3dSphereWork::MoveByMouse(), K3dIntrLinSph::RaySphere(), and K3dSphereMove::SetRenderMatrix().
const K3dVector3Obj* K3dSphere::GetPosition | ( | ) | const [inline] |
void K3dSphere::SetPosition | ( | K3dVector3Obj * | _pPosition | ) | [inline] |
Definition at line 59 of file K3dSphere.h.
References m_pPosition.
Referenced by K3dSphereBuild::CreateNewSphereObj().
float& K3dSphere::GetRadius | ( | ) | [inline] |
Get or set sphere radius.
Definition at line 65 of file K3dSphere.h.
References m_fRadius.
Referenced by K3dIntrLinSph::RaySphere().
const float& K3dSphere::GetRadius | ( | ) | const [inline] |
K3dVector3Obj* K3dSphere::m_pPosition [private] |
Sphere position.
Definition at line 40 of file K3dSphere.h.
Referenced by GetPosition(), K3dSphere(), and SetPosition().
float K3dSphere::m_fRadius [private] |
Sphere radius.
Definition at line 41 of file K3dSphere.h.
Referenced by GetRadius(), and K3dSphere().