#include <LeapScene.h>
Public Member Functions | |
const Vector & | GetAxis () const |
float | GetHeight () const |
float | GetRadius () const |
virtual LEAP_EXPORT eSceneObjectType | GetType () const |
pure virtual methods requiring implementation in inheriting classes. | |
SceneCylinder () | |
void | SetHeight (float height) |
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 | ~SceneCylinder () |
Static Public Member Functions | |
static eSceneObjectType | ObjectType () |
Private Attributes | |
float | m_fHeight |
float | m_fRadius |
Definition at line 761 of file LeapScene.h.
Leap::SceneCylinder::SceneCylinder | ( | ) | [inline] |
Definition at line 771 of file LeapScene.h.
virtual Leap::SceneCylinder::~SceneCylinder | ( | ) | [inline, virtual] |
Definition at line 773 of file LeapScene.h.
const Vector& Leap::SceneCylinder::GetAxis | ( | ) | const [inline] |
Definition at line 779 of file LeapScene.h.
float Leap::SceneCylinder::GetHeight | ( | ) | const [inline] |
Definition at line 783 of file LeapScene.h.
float Leap::SceneCylinder::GetRadius | ( | ) | const [inline] |
Definition at line 781 of file LeapScene.h.
virtual LEAP_EXPORT eSceneObjectType Leap::SceneCylinder::GetType | ( | ) | const [inline, virtual] |
pure virtual methods requiring implementation in inheriting classes.
Implements Leap::SceneObject.
Definition at line 769 of file LeapScene.h.
static eSceneObjectType Leap::SceneCylinder::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 767 of file LeapScene.h.
void Leap::SceneCylinder::SetHeight | ( | float | height | ) | [inline] |
Definition at line 777 of file LeapScene.h.
void Leap::SceneCylinder::SetRadius | ( | float | radius | ) | [inline] |
Definition at line 775 of file LeapScene.h.
bool Leap::SceneCylinder::TestRayHit | ( | const SceneRay & | testRay, |
float & | fHitDistOut | ||
) | const [virtual] |
Implements Leap::SceneObject.
Definition at line 532 of file LeapScene.cpp.
bool Leap::SceneCylinder::TestSphereHit | ( | const Vector & | vTestPoint, |
float | fTestRadius | ||
) | const [virtual] |
Implements Leap::SceneObject.
Definition at line 571 of file LeapScene.cpp.
float Leap::SceneCylinder::m_fHeight [private] |
Definition at line 795 of file LeapScene.h.
float Leap::SceneCylinder::m_fRadius [private] |
Definition at line 794 of file LeapScene.h.