Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
Leap::SceneInteraction Class Reference

#include <LeapScene.h>

Public Member Functions

void ClearInteraction (eInteractionType interactionType)
 
void ClearRotation ()
 
void ClearScale ()
 
void ClearSelectionChange ()
 
void ClearTranslation ()
 
const SceneObjectPtrGetObject () const
 scene object this interaction is associated with More...
 
Matrix GetRotation () const
 
float GetScale () const
 
Matrix GetTransform () const
 
Vector GetTranslation () const
 
bool HasAnyInteraction () const
 
bool HasInteraction (eInteractionType interactionType) const
 
bool HasRotation () const
 
bool HasScale () const
 
bool HasSelectionChange () const
 convenient predicates for represented interaction types More...
 
bool HasTranslation () const
 
bool IsSelected () const
 accessors to interaction values - validity depends on what types of interactions are in the flags. More...
 

Protected Member Functions

 SceneInteraction ()
 

Private Attributes

float m_fScale
 
Matrix m_mtxTransform
 
SceneObjectPtr m_pObject
 
uint32_t m_uiFlags
 

Friends

class Scene
 

Detailed Description

the details of a potential scene interaction. the potential interactions are queued up by the Scene each update and the API consumer can decide which ones to accept or filter out.

Definition at line 106 of file LeapScene.h.

Constructor & Destructor Documentation

Leap::SceneInteraction::SceneInteraction ( )
inlineprotected

Definition at line 111 of file LeapScene.h.

Member Function Documentation

void Leap::SceneInteraction::ClearInteraction ( eInteractionType  interactionType)
inline

Definition at line 130 of file LeapScene.h.

void Leap::SceneInteraction::ClearRotation ( )
inline

Definition at line 126 of file LeapScene.h.

void Leap::SceneInteraction::ClearScale ( )
inline

Definition at line 128 of file LeapScene.h.

void Leap::SceneInteraction::ClearSelectionChange ( )
inline

Definition at line 125 of file LeapScene.h.

void Leap::SceneInteraction::ClearTranslation ( )
inline

Definition at line 127 of file LeapScene.h.

const SceneObjectPtr& Leap::SceneInteraction::GetObject ( ) const
inline

scene object this interaction is associated with

Definition at line 152 of file LeapScene.h.

Matrix Leap::SceneInteraction::GetRotation ( ) const
inline

Definition at line 146 of file LeapScene.h.

float Leap::SceneInteraction::GetScale ( ) const
inline

Definition at line 147 of file LeapScene.h.

Matrix Leap::SceneInteraction::GetTransform ( ) const
inline

Definition at line 149 of file LeapScene.h.

Vector Leap::SceneInteraction::GetTranslation ( ) const
inline

Definition at line 148 of file LeapScene.h.

bool Leap::SceneInteraction::HasAnyInteraction ( ) const
inline

Definition at line 135 of file LeapScene.h.

bool Leap::SceneInteraction::HasInteraction ( eInteractionType  interactionType) const
inline

Definition at line 120 of file LeapScene.h.

bool Leap::SceneInteraction::HasRotation ( ) const
inline

Definition at line 116 of file LeapScene.h.

bool Leap::SceneInteraction::HasScale ( ) const
inline

Definition at line 118 of file LeapScene.h.

bool Leap::SceneInteraction::HasSelectionChange ( ) const
inline

convenient predicates for represented interaction types

Definition at line 115 of file LeapScene.h.

bool Leap::SceneInteraction::HasTranslation ( ) const
inline

Definition at line 117 of file LeapScene.h.

bool Leap::SceneInteraction::IsSelected ( ) const
inline

accessors to interaction values - validity depends on what types of interactions are in the flags.

Definition at line 145 of file LeapScene.h.

Friends And Related Function Documentation

friend class Scene
friend

Definition at line 108 of file LeapScene.h.

Member Data Documentation

float Leap::SceneInteraction::m_fScale
private

Definition at line 157 of file LeapScene.h.

Matrix Leap::SceneInteraction::m_mtxTransform
private

Definition at line 155 of file LeapScene.h.

SceneObjectPtr Leap::SceneInteraction::m_pObject
private

Definition at line 156 of file LeapScene.h.

uint32_t Leap::SceneInteraction::m_uiFlags
private

Definition at line 158 of file LeapScene.h.


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


leap_motion
Author(s): Florian Lier , Mirza Shah , Isaac IY Saito
autogenerated on Tue Jun 2 2020 03:58:01