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

#include <LeapScene.h>

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

List of all members.

Public Member Functions

float GetRadius () const
virtual LEAP_EXPORT
eSceneObjectType 
GetType () const
 pure virtual methods requiring implementation in inheriting classes.
 SceneSphere ()
void SetRadius (const float &radius)
virtual LEAP_EXPORT bool TestRayHit (const SceneRay &testRay, float &fHitDistOut) const
virtual LEAP_EXPORT bool TestSphereHit (const Vector &vTestCenter, float fTestRadius) const
virtual ~SceneSphere ()

Static Public Member Functions

static eSceneObjectType ObjectType ()

Private Attributes

float m_fRadius

Detailed Description

Definition at line 855 of file LeapScene.h.


Constructor & Destructor Documentation

Definition at line 865 of file LeapScene.h.

virtual Leap::SceneSphere::~SceneSphere ( ) [inline, virtual]

Definition at line 867 of file LeapScene.h.


Member Function Documentation

float Leap::SceneSphere::GetRadius ( ) const [inline]

Definition at line 871 of file LeapScene.h.

virtual LEAP_EXPORT eSceneObjectType Leap::SceneSphere::GetType ( ) const [inline, virtual]

pure virtual methods requiring implementation in inheriting classes.

Implements Leap::SceneObject.

Definition at line 863 of file LeapScene.h.

static eSceneObjectType Leap::SceneSphere::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 861 of file LeapScene.h.

void Leap::SceneSphere::SetRadius ( const float &  radius) [inline]

Definition at line 869 of file LeapScene.h.

bool Leap::SceneSphere::TestRayHit ( const SceneRay testRay,
float &  fHitDistOut 
) const [virtual]

Implements Leap::SceneObject.

Definition at line 791 of file LeapScene.cpp.

bool Leap::SceneSphere::TestSphereHit ( const Vector vTestCenter,
float  fTestRadius 
) const [virtual]

Implements Leap::SceneObject.

Definition at line 822 of file LeapScene.cpp.


Member Data Documentation

Definition at line 882 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