#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. More... | |
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 () |
Public Member Functions inherited from Leap::SceneObject | |
bool | ApplyInteraction (const SceneInteraction &interaction) |
void | ClearHits () |
void | ClearHitTime () |
void | ClearInitialContact () |
void | ClearNumContacts () |
void | ClearNumPointing () |
template<class T > | |
T * | GetAs () |
template<class T > | |
const T * | GetAs () const |
const Vector & | GetCenter () const |
const SceneContactPoint * | GetContactPoint (uint32_t uiIndex) const |
const SceneContactPoint * | GetContactPointByPointableID (int iPointableID) const |
const SceneContactPoint * | GetInitialContactPoint () const |
const SceneContactPoint * | GetLastContactPoint (uint32_t uiIndex) const |
const SceneContactPoint * | GetLastContactPointByPointableID (int iPointableID) const |
uint32_t | GetLastNumContacts () const |
uint32_t | GetNumContacts () const |
uint32_t | GetNumPointing () const |
const Matrix | GetRotation () const |
float | GetScale () const |
Scene * | GetScene () const |
const SceneObjectPtr & | GetSceneObjectPtr () const |
uint32_t | GetSerial () const |
a unique serial number assigned to each object at creation time. More... | |
float | GetTotalHitTime () const |
const Matrix & | GetTransform () const |
void * | GetUserData () const |
Matrix | GetWorldToObjectTransform () const |
returns a transform for converting world space coordinates and direction to object space. More... | |
bool | HasInitialContact () const |
void | IncNumContacts (const SceneContactPoint &contactPoint) |
void | IncNumPointing () |
bool | IsPendingRemoval () const |
bool | IsSelected () const |
operator const SceneObjectPtr & () const | |
void | Rotate (const Vector &axis, float angleRadians) |
void | Rotate (const Matrix &rotationMatrix) |
void | Scale (float scaleMult) |
SceneObject () | |
void | SetCenter (const Vector &vCenter) |
void | SetRotation (const Vector &vAxis, float fAngleRadians) |
void | SetRotation (const Matrix &rotationMatrix) |
void | SetScale (float scale) |
void | SetSelected (bool selected) |
void | SetUserData (void *pUserData) |
void | Transform (const Matrix &mtxTransform) |
void | Translate (const Vector &translation) |
Vector | WorldToObjectPoint (const Vector &vPoint) const |
virtual | ~SceneObject () |
Static Public Member Functions | |
static eSceneObjectType | ObjectType () |
Static Public Member Functions inherited from Leap::SceneObject | |
static eSceneObjectType | NextObjectType () |
static eSceneObjectType | ObjectType () |
Private Attributes | |
float | m_fHeight |
float | m_fRadius |
Additional Inherited Members | |
Public Types inherited from Leap::SceneObject | |
enum | { kMaxContactPoints = 5 } |
Protected Member Functions inherited from Leap::SceneObject | |
void | rotateContactPoints () |
Protected Attributes inherited from Leap::SceneObject | |
SceneContactPoint | m_aContactPoints [kMaxContactPoints *2] |
uint8_t | m_bSelected |
float | m_fScale |
float | m_fTotalHitTime |
SceneContactPoint | m_initialContactPoint |
Matrix | m_mtxTransform |
SceneContactPoint * | m_paContactPoints |
SceneContactPoint * | m_paLastContactPoints |
void * | m_pUserData |
uint8_t | m_uiHasInitialContact |
uint8_t | m_uiLastNumContacts |
uint8_t | m_uiNumContacts |
uint8_t | m_uiNumPointing |
Definition at line 761 of file LeapScene.h.
|
inline |
Definition at line 771 of file LeapScene.h.
|
inlinevirtual |
Definition at line 773 of file LeapScene.h.
|
inline |
Definition at line 779 of file LeapScene.h.
|
inline |
Definition at line 783 of file LeapScene.h.
|
inline |
Definition at line 781 of file LeapScene.h.
|
inlinevirtual |
pure virtual methods requiring implementation in inheriting classes.
Implements Leap::SceneObject.
Definition at line 769 of file LeapScene.h.
|
inlinestatic |
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.
Definition at line 767 of file LeapScene.h.
|
inline |
Definition at line 777 of file LeapScene.h.
|
inline |
Definition at line 775 of file LeapScene.h.
|
virtual |
Implements Leap::SceneObject.
Definition at line 532 of file LeapScene.cpp.
|
virtual |
Implements Leap::SceneObject.
Definition at line 571 of file LeapScene.cpp.
|
private |
Definition at line 795 of file LeapScene.h.
|
private |
Definition at line 794 of file LeapScene.h.