Base class for ManoMotionManager. Handles library imports and settings.
|
| static void | initSetup (int imageFormat, ref AssetStatus status) |
| |
| static void | initSetupWithKey (ManoSettings settings, ref AssetStatus status) |
| |
| static void | stop () |
| |
| static void | SetTextureFromUnity (IntPtr textureHandleLeft, int width, int height, int splittingFactor) |
| |
| static IntPtr | GetRenderEventFunc () |
| | Tell the SDK to process the current frame.
|
| |
| static int | copyHandInfo (ref HandInfo first_hand_info, ref HandInfo second_hand_info, ref Session manomotion_session) |
| |
| static void | processFrameTwoHands (ref HandInfo first_hand_info, ref HandInfo second_hand_info, ref Session manomotion_session) |
| |
| static void | setLeftFrameArray (Color32[] frame) |
| |
| static void | setResolution (int width, int height) |
| |
| static void | getPerformanceInfo (ref int processingTime, ref int getImageTime) |
| |
| virtual void | Awake () |
| |
| void | Init () |
| |
| void | CalculateFPSAndProcessingTime () |
| | Calculates the Frames Per Second in the application and retrieves the estimated Processing time.
|
| |
| void | CalculateProcessingTime () |
| | Calculates the elapses time needed for processing the frame.
|
| |
| virtual void | SetResolutionValues (int width, int height) |
| | Sets the resolution values used throughout the initialization methods of the arrays and textures.
|
| |
|
| const string | library = "manomotion" |
| |
◆ Awake()
| virtual void ManoMotion.ManoMotionManagerBase.Awake |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ CalculateFPSAndProcessingTime()
| void ManoMotion.ManoMotionManagerBase.CalculateFPSAndProcessingTime |
( |
| ) |
|
|
inlineprotected |
◆ CalculateProcessingTime()
| void ManoMotion.ManoMotionManagerBase.CalculateProcessingTime |
( |
| ) |
|
|
inlineprotected |
◆ copyHandInfo()
| static int ManoMotion.ManoMotionManagerBase.copyHandInfo |
( |
ref HandInfo | first_hand_info, |
|
|
ref HandInfo | second_hand_info, |
|
|
ref Session | manomotion_session ) |
|
protected |
◆ getPerformanceInfo()
| static void ManoMotion.ManoMotionManagerBase.getPerformanceInfo |
( |
ref int | processingTime, |
|
|
ref int | getImageTime ) |
|
protected |
◆ GetRenderEventFunc()
| static IntPtr ManoMotion.ManoMotionManagerBase.GetRenderEventFunc |
( |
| ) |
|
|
protected |
◆ Init()
| void ManoMotion.ManoMotionManagerBase.Init |
( |
| ) |
|
|
inlineprotected |
◆ initSetup()
| static void ManoMotion.ManoMotionManagerBase.initSetup |
( |
int | imageFormat, |
|
|
ref AssetStatus | status ) |
|
protected |
◆ initSetupWithKey()
◆ processFrameTwoHands()
| static void ManoMotion.ManoMotionManagerBase.processFrameTwoHands |
( |
ref HandInfo | first_hand_info, |
|
|
ref HandInfo | second_hand_info, |
|
|
ref Session | manomotion_session ) |
|
protected |
◆ setLeftFrameArray()
| static void ManoMotion.ManoMotionManagerBase.setLeftFrameArray |
( |
Color32[] | frame | ) |
|
|
protected |
◆ SetProcessingType()
| void ManoMotion.ManoMotionManagerBase.SetProcessingType |
( |
ProcessingType | processingType | ) |
|
|
inline |
◆ setResolution()
| static void ManoMotion.ManoMotionManagerBase.setResolution |
( |
int | width, |
|
|
int | height ) |
|
protected |
◆ SetResolutionValues()
| virtual void ManoMotion.ManoMotionManagerBase.SetResolutionValues |
( |
int | width, |
|
|
int | height ) |
|
inlineprotectedvirtual |
- Parameters
-
| width | Requires a width value. |
| height | Requires a height value. |
◆ SetTextureFromUnity()
| static void ManoMotion.ManoMotionManagerBase.SetTextureFromUnity |
( |
IntPtr | textureHandleLeft, |
|
|
int | width, |
|
|
int | height, |
|
|
int | splittingFactor ) |
|
protected |
◆ ShouldCalculateGestures()
| void ManoMotion.ManoMotionManagerBase.ShouldCalculateGestures |
( |
bool | condition | ) |
|
|
inline |
◆ ShouldCalculateSkeleton3D()
| void ManoMotion.ManoMotionManagerBase.ShouldCalculateSkeleton3D |
( |
bool | condition | ) |
|
|
inline |
◆ ShouldRunFastMode()
| void ManoMotion.ManoMotionManagerBase.ShouldRunFastMode |
( |
bool | condition | ) |
|
|
inline |
◆ ShouldRunFingerInfo()
| void ManoMotion.ManoMotionManagerBase.ShouldRunFingerInfo |
( |
bool | condition | ) |
|
|
inline |
◆ ShouldRunWristInfo()
| void ManoMotion.ManoMotionManagerBase.ShouldRunWristInfo |
( |
bool | condition | ) |
|
|
inline |
◆ stop()
| static void ManoMotion.ManoMotionManagerBase.stop |
( |
| ) |
|
|
protected |
◆ ToggleFingerInfoFinger()
| void ManoMotion.ManoMotionManagerBase.ToggleFingerInfoFinger |
( |
int | index | ) |
|
|
inline |
- Parameters
-
| index | int between 0 and 5, 0 is off and 1-5 is the different fingers |
◆ ToggleProcessingType()
| void ManoMotion.ManoMotionManagerBase.ToggleProcessingType |
( |
| ) |
|
|
inline |
◆ TryGetHandInfo() [1/2]
◆ TryGetHandInfo() [2/2]
| bool ManoMotion.ManoMotionManagerBase.TryGetHandInfo |
( |
LeftOrRightHand | leftRight, |
|
|
out HandInfo | handInfo, |
|
|
out int | handIndex ) |
|
inline |
◆ currentManomotionFrame
◆ customLicense
| string ManoMotion.ManoMotionManagerBase.customLicense |
|
protected |
◆ fps
| int ManoMotion.ManoMotionManagerBase.fps |
|
protected |
◆ fpsUpdateTimer
| float ManoMotion.ManoMotionManagerBase.fpsUpdateTimer = 0 |
|
protected |
◆ frameCount
| int ManoMotion.ManoMotionManagerBase.frameCount = 0 |
|
protected |
◆ handInfos
| HandInfo [] ManoMotion.ManoMotionManagerBase.handInfos |
|
protected |
◆ height
| int ManoMotion.ManoMotionManagerBase.height |
|
protected |
◆ inputManager
◆ library
| const string ManoMotion.ManoMotionManagerBase.library = "manomotion" |
|
staticprotected |
◆ manomotionSession
| Session ManoMotion.ManoMotionManagerBase.manomotionSession |
|
protected |
◆ oneEuroFilterSmoothing
| float ManoMotion.ManoMotionManagerBase.oneEuroFilterSmoothing |
◆ OnManoMotionFrameProcessed
| Action ManoMotion.ManoMotionManagerBase.OnManoMotionFrameProcessed |
|
static |
◆ OnManoMotionLicenseInitialized
| Action ManoMotion.ManoMotionManagerBase.OnManoMotionLicenseInitialized |
|
static |
◆ OnSkeletonActivated
| Action<SkeletonModel> ManoMotion.ManoMotionManagerBase.OnSkeletonActivated |
|
static |
◆ OnSmoothingValueChanged
| Action<float> ManoMotion.ManoMotionManagerBase.OnSmoothingValueChanged |
|
static |
◆ overrideLicense
| bool ManoMotion.ManoMotionManagerBase.overrideLicense |
|
protected |
◆ processingTime
| int ManoMotion.ManoMotionManagerBase.processingTime |
|
protected |
◆ processingTimeList
| List<int> ManoMotion.ManoMotionManagerBase.processingTimeList = new List<int>() |
|
protected |
◆ processingType
◆ settings
◆ status
◆ targetFps
| int ManoMotion.ManoMotionManagerBase.targetFps = 0 |
|
private |
◆ version
| float ManoMotion.ManoMotionManagerBase.version |
|
protected |
◆ visualizationInfo
◆ width
| int ManoMotion.ManoMotionManagerBase.width |
|
protected |
◆ Fps
| int ManoMotion.ManoMotionManagerBase.Fps |
|
getpackage |
◆ HandInfos
| HandInfo [] ManoMotion.ManoMotionManagerBase.HandInfos |
|
get |
◆ Height
| int ManoMotion.ManoMotionManagerBase.Height |
|
getpackage |
◆ InputManager
◆ LicenseStatus
| AssetStatus ManoMotion.ManoMotionManagerBase.LicenseStatus |
|
get |
◆ ManomotionSession
| Session ManoMotion.ManoMotionManagerBase.ManomotionSession |
|
get |
◆ ProcessingTime
| int ManoMotion.ManoMotionManagerBase.ProcessingTime |
|
getpackage |
◆ Version
| float ManoMotion.ManoMotionManagerBase.Version |
|
get |
◆ VisualizationInfo
◆ Width
| int ManoMotion.ManoMotionManagerBase.Width |
|
getpackage |