Handles wich features / gizmos that will be used. More...
Public Member Functions | |
void | ShouldDisplaySmoothingSlider (bool display) |
Shows or hides the smoothing slider More... | |
void | DisplaySmoothingSlider () |
Displays the smoothing slider that controls the level of delay applied to the calculations for Tracking Information. More... | |
Data Fields | |
Color | disabledStateColor |
The color of the hand state UI. More... | |
List< GameObject > | triggerObjectPool = new List<GameObject>() |
int | amountToPool = 20 |
Properties | |
static GizmoManager | Instance [get, set] |
bool | ShowContinuousGestures [get, set] |
bool | ShowManoClass [get, set] |
bool | ShowHandSide [get, set] |
bool | ShowHandStates [get, set] |
bool | ShowWarnings [get, set] |
bool | ShowPickTriggerGesture [get, set] |
bool | ShowDropTriggerGesture [get, set] |
bool | ShowClickTriggerGesture [get, set] |
bool | ShowGrabTriggerGesture [get, set] |
bool | ShowReleaseTriggerGesture [get, set] |
bool | ShowSmoothingSlider [get, set] |
bool | ShowDepthEstimation [get, set] |
bool | ShowSkeleton3d [get, set] |
bool | ShowGestures [get, set] |
bool | Fastmode [get, set] |
Private Member Functions | |
void | Start () |
void | SetFeaturesToCalculate () |
Sets which features that should be calculated More... | |
void | Update () |
void | DisplayDepthEstimation (float depthEstimation) |
Displays the depth estimation of the detected hand. More... | |
void | DisplayCurrentsmoothingValue (Session session) |
Displays in text value the current smoothing value of the session More... | |
void | DisplayManoclass (ManoClass manoclass) |
Displays information regarding the detected manoclass More... | |
void | DisplayContinuousGestures (ManoGestureContinuous manoGestureContinuous) |
Displays information regarding the detected manoclass More... | |
void | DisplayHandSide (HandSide handside) |
Displays the hand side. More... | |
void | DisplayHandState (int handstate) |
Updates the visual information that showcases the hand state (how open/closed) it is More... | |
void | DisplayTriggerGesture (ManoGestureTrigger triggerGesture, TrackingInfo trackingInfo) |
Display Visual information of the detected trigger gesture. More... | |
void | InitializeTriggerPool () |
Initializes the object pool for trigger gestures. More... | |
GameObject | GetCurrentPooledTrigger () |
Gets the current pooled trigger object. More... | |
void | TriggerDisplay (TrackingInfo trackingInfo, ManoGestureTrigger triggerGesture) |
Displays the visual information of the performed trigger gesture. More... | |
void | HighlightStatesToStateDetection (int stateValue) |
Visualizes the current hand state by coloring white the images up to that value and turning grey the rest More... | |
void | DisplayApproachingToEdgeFlags (Warning warning) |
Highlights the edges of the screen according to the warning given by the Manomotion Manager More... | |
void | SetGestureDescriptionParts () |
Initializes the components of the Manoclass,Continuous Gesture and Trigger Gesture Gizmos More... | |
void | InitializeFlagParts () |
Initializes the components for the visual illustration of warnings related to approaching edges flags. More... | |
Private Attributes | |
Image[] | stateImages |
GameObject | handStatesGizmo |
GameObject | manoClassGizmo |
GameObject | handSideGizmo |
GameObject | continuousGestureGizmo |
GameObject | triggerTextPrefab |
GameObject | flagHolderGizmo |
GameObject | smoothingSliderControler |
GameObject | depthEstimationGizmo |
Text | currentSmoothingValue |
bool | _showHandStates |
bool | _showManoClass |
bool | _showHandSide |
bool | _showContinuousGestures |
bool | _showWarnings |
bool | _showPickTriggerGesture |
bool | _showDropTriggerGesture |
bool | _showClickTriggerGesture |
bool | _showGrabTriggerGesture |
bool | _showReleaseTriggerGesture |
bool | _showSmoothingSlider |
bool | _showDepthEstimation |
bool | skeleton3d |
bool | gestures |
bool | fastMode |
GameObject | topFlag |
GameObject | leftFlag |
GameObject | rightFlag |
Text | manoClassText |
Text | handSideText |
Text | continuousGestureText |
TextMeshProUGUI | depthEstimationValue |
Image | depthFillAmmount |
ManoGestureTrigger | previousTrigger |
Static Private Attributes | |
static GizmoManager | _instance |
Handles wich features / gizmos that will be used.
|
inlineprivate |
Highlights the edges of the screen according to the warning given by the Manomotion Manager
warning | Requires a warning. |
|
inlineprivate |
Displays information regarding the detected manoclass
manoGestureContinuous | Requires a continuous Gesture. |
|
inlineprivate |
Displays in text value the current smoothing value of the session
session | Requires a Session. |
|
inlineprivate |
Displays the depth estimation of the detected hand.
depthEstimation | Requires the float value of depth estimation. |
|
inlineprivate |
Displays the hand side.
handside | Requires a Manomotion Handside. |
|
inlineprivate |
Updates the visual information that showcases the hand state (how open/closed) it is
handstate | Requires a Manomotion handsate |
|
inlineprivate |
Displays information regarding the detected manoclass
manoclass | Requires a Manoclass. |
|
inline |
Displays the smoothing slider that controls the level of delay applied to the calculations for Tracking Information.
|
inlineprivate |
Display Visual information of the detected trigger gesture.
In the case where a click is intended (Open pinch, Closed Pinch, Open Pinch) we are clearing out the visual information that are generated from the pick/drop
triggerGesture | Requires an input of trigger gesture. |
trackingInfo | Requires an input of tracking info. |
|
inlineprivate |
Gets the current pooled trigger object.
|
inlineprivate |
Visualizes the current hand state by coloring white the images up to that value and turning grey the rest
stateValue | Requires a hand state value to assign the colors accordingly |
|
inlineprivate |
Initializes the components for the visual illustration of warnings related to approaching edges flags.
|
inlineprivate |
Initializes the object pool for trigger gestures.
|
inlineprivate |
Sets which features that should be calculated
|
inlineprivate |
Initializes the components of the Manoclass,Continuous Gesture and Trigger Gesture Gizmos
|
inline |
Shows or hides the smoothing slider
display | If set to true display. |
|
inlineprivate |
|
inlineprivate |
Displays the visual information of the performed trigger gesture.
bounding_box | Bounding box. |
triggerGesture | Trigger gesture. |
|
inlineprivate |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
int GizmoManager.amountToPool = 20 |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Color GizmoManager.disabledStateColor |
The color of the hand state UI.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
List<GameObject> GizmoManager.triggerObjectPool = new List<GameObject>() |
|
private |
|
getset |
|
staticgetset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |