K3dSphere Class Reference

#include <K3dSphere.h>

Inheritance diagram for K3dSphere:

K3dSphereVis K3dSphereMove K3dSphereObj List of all members.

Public Member Functions

 K3dSphere ()
 K3dSphere (K3dVector3Obj *_pPosition, const float _fRadius)
 ~K3dSphere ()
K3dVector3ObjGetPosition ()
 Get or set sphere position.
const K3dVector3ObjGetPosition () const
void SetPosition (K3dVector3Obj *_pPosition)
float & GetRadius ()
 Get or set sphere radius.
const float & GetRadius () const

Private Attributes

K3dVector3Objm_pPosition
 Sphere position.
float m_fRadius
 Sphere radius.

Detailed Description

Definition at line 38 of file K3dSphere.h.


Constructor & Destructor Documentation

K3dSphere::K3dSphere (  ) 

Definition at line 35 of file K3dSphere.cpp.

References m_fRadius, and m_pPosition.

K3dSphere::K3dSphere ( K3dVector3Obj _pPosition,
const float  _fRadius 
)

Definition at line 41 of file K3dSphere.cpp.

References m_fRadius, and m_pPosition.

K3dSphere::~K3dSphere (  ) 

Definition at line 47 of file K3dSphere.cpp.


Member Function Documentation

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]

Definition at line 54 of file K3dSphere.h.

References m_pPosition.

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]

Definition at line 70 of file K3dSphere.h.

References m_fRadius.


Member Data Documentation

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().


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