#include <LeapScene.h>
Public Member Functions | |
const Vector & | GetSize () const |
virtual LEAP_EXPORT eSceneObjectType | GetType () const |
pure virtual methods requiring implementation in inheriting classes. | |
SceneBox () | |
void | SetSize (const Vector &vSize) |
virtual LEAP_EXPORT bool | TestRayHit (const SceneRay &testRay, float &fHitDistOut) const |
virtual LEAP_EXPORT bool | TestSphereHit (const Vector &vTestPoint, float fTestRadius) const |
virtual LEAP_EXPORT | ~SceneBox () |
Static Public Member Functions | |
static eSceneObjectType | ObjectType () |
Private Attributes | |
Vector | m_vSize |
Definition at line 729 of file LeapScene.h.
Leap::SceneBox::SceneBox | ( | ) | [inline] |
Definition at line 739 of file LeapScene.h.
virtual LEAP_EXPORT Leap::SceneBox::~SceneBox | ( | ) | [inline, virtual] |
Definition at line 743 of file LeapScene.h.
const Vector& Leap::SceneBox::GetSize | ( | ) | const [inline] |
Definition at line 745 of file LeapScene.h.
virtual LEAP_EXPORT eSceneObjectType Leap::SceneBox::GetType | ( | ) | const [inline, virtual] |
pure virtual methods requiring implementation in inheriting classes.
Implements Leap::SceneObject.
Definition at line 737 of file LeapScene.h.
static eSceneObjectType Leap::SceneBox::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 735 of file LeapScene.h.
void Leap::SceneBox::SetSize | ( | const Vector & | vSize | ) | [inline] |
Definition at line 747 of file LeapScene.h.
bool Leap::SceneBox::TestRayHit | ( | const SceneRay & | testRay, |
float & | fHitDistOut | ||
) | const [virtual] |
Implements Leap::SceneObject.
Definition at line 456 of file LeapScene.cpp.
bool Leap::SceneBox::TestSphereHit | ( | const Vector & | vTestPoint, |
float | fTestRadius | ||
) | const [virtual] |
Implements Leap::SceneObject.
Definition at line 489 of file LeapScene.cpp.
Vector Leap::SceneBox::m_vSize [private] |
Definition at line 758 of file LeapScene.h.