#include <LeapScene.h>
Public Member Functions | |
const Vector & | GetNormal () const |
float | GetRadius () const |
virtual LEAP_EXPORT eSceneObjectType | GetType () const |
pure virtual methods requiring implementation in inheriting classes. | |
SceneDisk () | |
void | SetRadius (float radius) |
virtual LEAP_EXPORT bool | TestRayHit (const SceneRay &testRay, float &fHitDistOut) const |
virtual LEAP_EXPORT bool | TestSphereHit (const Vector &vTestPoint, float fTestRadius) const |
virtual | ~SceneDisk () |
Static Public Member Functions | |
static eSceneObjectType | ObjectType () |
Private Attributes | |
float | m_fRadius |
Definition at line 798 of file LeapScene.h.
Leap::SceneDisk::SceneDisk | ( | ) | [inline] |
Definition at line 808 of file LeapScene.h.
virtual Leap::SceneDisk::~SceneDisk | ( | ) | [inline, virtual] |
Definition at line 810 of file LeapScene.h.
const Vector& Leap::SceneDisk::GetNormal | ( | ) | const [inline] |
Definition at line 814 of file LeapScene.h.
float Leap::SceneDisk::GetRadius | ( | ) | const [inline] |
Definition at line 816 of file LeapScene.h.
virtual LEAP_EXPORT eSceneObjectType Leap::SceneDisk::GetType | ( | ) | const [inline, virtual] |
pure virtual methods requiring implementation in inheriting classes.
Implements Leap::SceneObject.
Definition at line 806 of file LeapScene.h.
static eSceneObjectType Leap::SceneDisk::ObjectType | ( | ) | [inline, static] |
if you extend SceneObject or any of its descendant classes the public methods ObjectType() and GetType() should be implemented exactly as they are below. they have not been encapsulated in an implementation macro to maintain clarity and ease of debugging.
Reimplemented from Leap::SceneObject.
Definition at line 804 of file LeapScene.h.
void Leap::SceneDisk::SetRadius | ( | float | radius | ) | [inline] |
Definition at line 812 of file LeapScene.h.
bool Leap::SceneDisk::TestRayHit | ( | const SceneRay & | testRay, |
float & | fHitDistOut | ||
) | const [virtual] |
Implements Leap::SceneObject.
Definition at line 657 of file LeapScene.cpp.
bool Leap::SceneDisk::TestSphereHit | ( | const Vector & | vTestPoint, |
float | fTestRadius | ||
) | const [virtual] |
Implements Leap::SceneObject.
Definition at line 695 of file LeapScene.cpp.
float Leap::SceneDisk::m_fRadius [private] |
Definition at line 827 of file LeapScene.h.