Public Member Functions | Static Public Member Functions | Private Attributes
Leap::SceneBox Class Reference

#include <LeapScene.h>

Inheritance diagram for Leap::SceneBox:
Inheritance graph
[legend]

List of all members.

Public Member Functions

const VectorGetSize () 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

Detailed Description

Definition at line 729 of file LeapScene.h.


Constructor & Destructor Documentation

Definition at line 739 of file LeapScene.h.

virtual LEAP_EXPORT Leap::SceneBox::~SceneBox ( ) [inline, virtual]

Definition at line 743 of file LeapScene.h.


Member Function Documentation

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.


Member Data Documentation

Definition at line 758 of file LeapScene.h.


The documentation for this class was generated from the following files:


leap_motion
Author(s): Florian Lier , Mirza Shah , Isaac IY Saito
autogenerated on Sat Jun 8 2019 18:47:25