#include <LeapScene.h>
Public Member Functions | |
void | ClearInteraction (eInteractionType interactionType) |
void | ClearRotation () |
void | ClearScale () |
void | ClearSelectionChange () |
void | ClearTranslation () |
const SceneObjectPtr & | GetObject () const |
scene object this interaction is associated with | |
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 | |
bool | HasTranslation () const |
bool | IsSelected () const |
accessors to interaction values - validity depends on what types of interactions are in the flags. | |
Protected Member Functions | |
SceneInteraction () | |
Private Attributes | |
float | m_fScale |
Matrix | m_mtxTransform |
SceneObjectPtr | m_pObject |
uint32_t | m_uiFlags |
Friends | |
class | Scene |
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.
Leap::SceneInteraction::SceneInteraction | ( | ) | [inline, protected] |
Definition at line 111 of file LeapScene.h.
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.
friend class Scene [friend] |
Definition at line 108 of file LeapScene.h.
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.
Definition at line 156 of file LeapScene.h.
uint32_t Leap::SceneInteraction::m_uiFlags [private] |
Definition at line 158 of file LeapScene.h.