The ManomotionManager handles the communication with the SDK.
More...
|
| const string | library = "manomotion" |
| |
The ManomotionManager handles the communication with the SDK.
◆ Awake()
| virtual void ManomotionManager.Awake |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ CalculateFPSAndProcessingTime()
| override void ManomotionManager.CalculateFPSAndProcessingTime |
( |
| ) |
|
|
inlineprotectedvirtual |
Calculates the Frames Per Second in the application and retrieves the estimated Processing time.
Implements ManomotionBase.
◆ CalculateProcessingTime()
| void ManomotionManager.CalculateProcessingTime |
( |
| ) |
|
|
inlineprotected |
Calculates the elapses time needed for processing the frame.
◆ GetCameraFramePixelColors()
| void ManomotionManager.GetCameraFramePixelColors |
( |
ManoMotionFrame |
newFrame | ) |
|
|
inlineprotected |
Gets the camera frame pixel colors.
- Parameters
-
| newFrame | The new frame to process |
◆ HandleManoMotionFrameInitialized()
| void ManomotionManager.HandleManoMotionFrameInitialized |
( |
ManoMotionFrame |
newFrame | ) |
|
|
inlineprivate |
Respond to the event of a ManoMotionFrame being initialized.
- Parameters
-
| newFrame | The new frame to process |
◆ HandleManoMotionFrameResized()
| void ManomotionManager.HandleManoMotionFrameResized |
( |
ManoMotionFrame |
newFrame | ) |
|
|
inlineprivate |
Respond to the event of a ManoMotionFrame resized.
- Parameters
-
| newFrame | The new frame to process |
◆ HandleNewFrame()
Respond to the event of a ManoMotionFrame being sent for processing.
- Parameters
-
| newFrame | The new frame to process |
◆ HandleOrientationChanged()
| void ManomotionManager.HandleOrientationChanged |
( |
| ) |
|
|
inlineprotected |
Updates the orientation information as captured from the device to the Session
◆ init()
◆ Init()
| override void ManomotionManager.Init |
( |
string |
serial_key | ) |
|
|
inlineprotectedvirtual |
◆ InitiateLibrary()
| void ManomotionManager.InitiateLibrary |
( |
| ) |
|
|
inlineprotected |
◆ InstantiateHandInfos()
| void ManomotionManager.InstantiateHandInfos |
( |
| ) |
|
|
inlineprivate |
Initializes the values for the hand information.
◆ InstantiateSession()
| override void ManomotionManager.InstantiateSession |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ InstantiateVisualisationInfo()
| void ManomotionManager.InstantiateVisualisationInfo |
( |
| ) |
|
|
inlineprivate |
Instantiates the visualisation info.
◆ ProcessFrame()
| void ManomotionManager.ProcessFrame |
( |
| ) |
|
|
inlineprotected |
Wrapper method that calls the ManoMotion core tech to process the frame in order to perform hand tracking and gesture analysis
◆ processFrame()
| static void ManomotionManager.processFrame |
( |
ref HandInfo |
hand_info0, |
|
|
ref Session |
manomotion_session |
|
) |
| |
|
private |
◆ ProcessManomotion()
| override void ManomotionManager.ProcessManomotion |
( |
| ) |
|
|
inlineprotectedvirtual |
Evaluates the dimension of the pixel color array and if it matches the dimensions proceeds with Processing the Frame.
Implements ManomotionBase.
◆ setFrameArray()
| static void ManomotionManager.setFrameArray |
( |
Color32[] |
frame | ) |
|
|
private |
◆ SetFrameArray()
| void ManomotionManager.SetFrameArray |
( |
Color32[] |
pixels | ) |
|
|
inlineprotected |
Gives instruction where frame pixels are stored.
◆ SetManoMotionSettings()
| void ManomotionManager.SetManoMotionSettings |
( |
ImageFormat |
newImageFormat, |
|
|
string |
newLicenseKey |
|
) |
| |
|
inline |
Fills in the information needed in the manosettings Struct in order to initialize ManoMotion Tech.
- Parameters
-
| newPlatform | Requires the platform the app is going to be used in. |
| newImageFormat | Requires the image format that ManoMotion tech is going to process |
| newLicenseKey | Requires a Serial Key that is valid for ManoMotion tech and it linked with the current boundle ID used in the application. |
◆ SetManoMotionSmoothingValue()
| void ManomotionManager.SetManoMotionSmoothingValue |
( |
Slider |
slider | ) |
|
|
inline |
Sets the mano motion smoothing value throught the gizmo slider, the bigger the value the stronger the smoothing.
- Parameters
-
◆ setMRFrameArray()
| static void ManomotionManager.setMRFrameArray |
( |
Color32[] |
frame | ) |
|
|
private |
◆ SetMRFrameArray()
| void ManomotionManager.SetMRFrameArray |
( |
Color32[] |
pixels | ) |
|
|
inlineprotected |
Gives instruction where frame pixels are stored.
◆ setResolution()
| static void ManomotionManager.setResolution |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
private |
◆ SetResolution()
| void ManomotionManager.SetResolution |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
inlineprotected |
Sends the resolution values to the SDK.
◆ SetResolutionValues()
| override void ManomotionManager.SetResolutionValues |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
inlineprotectedvirtual |
Sets the resolution values used throughout the initialization methods of the arrays and textures.
- Parameters
-
| width | Requires a width value. |
| height | Requires a height value. |
Implements ManomotionBase.
◆ SetUnityConditions()
| override void ManomotionManager.SetUnityConditions |
( |
| ) |
|
|
inlineprotectedvirtual |
Sets the Application to not go to sleep mode as well as the requested framerate.
Implements ManomotionBase.
◆ ShouldCalculateGestures()
| void ManomotionManager.ShouldCalculateGestures |
( |
bool |
condition | ) |
|
|
inline |
Lets the core know that it needs to calculate the Gestures.
- Parameters
-
◆ ShouldCalculateSkeleton3D()
| void ManomotionManager.ShouldCalculateSkeleton3D |
( |
bool |
condition | ) |
|
|
inline |
Lets the core know that it needs to calculate the Skeleton in 3D or 2D.
- Parameters
-
◆ ShouldRunFastMode()
| void ManomotionManager.ShouldRunFastMode |
( |
bool |
condition | ) |
|
|
inline |
Lets the core know if it should run fast mode or not.
- Parameters
-
◆ Start()
| void ManomotionManager.Start |
( |
| ) |
|
|
inlineprotected |
◆ stop()
| static void ManomotionManager.stop |
( |
| ) |
|
|
private |
◆ StopProcessing()
| void ManomotionManager.StopProcessing |
( |
| ) |
|
|
inline |
Stops the SDK from processing.
◆ Update()
| void ManomotionManager.Update |
( |
| ) |
|
|
inlineprotected |
◆ UpdateTexturesWithNewInfo()
| override void ManomotionManager.UpdateTexturesWithNewInfo |
( |
| ) |
|
|
inlineprotectedvirtual |
Updates the RGB Frame of Visualization Info with the pixels captured from the camera.
Implements ManomotionBase.
◆ _fps
| int ManomotionManager._fps |
|
protected |
◆ _height
| int ManomotionManager._height |
|
protected |
the height of the images processed
◆ _initialized
| bool ManomotionManager._initialized |
|
private |
◆ _manoLicense
◆ _manoSettings
◆ _processing_time
| int ManomotionManager._processing_time |
|
protected |
◆ _width
| int ManomotionManager._width |
|
protected |
the width of the images processed
◆ currentImageFormat
◆ fpsCooldown
| float ManomotionManager.fpsCooldown = 0 |
|
private |
◆ frameCount
| int ManomotionManager.frameCount = 0 |
|
private |
◆ framePixelColors
| Color32 [] ManomotionManager.framePixelColors |
|
protected |
◆ hand_infos
The information about the hand.
◆ instance
◆ library
| const string ManomotionManager.library = "manomotion" |
|
staticprivate |
◆ manomotion_session
| Session ManomotionManager.manomotion_session |
|
protected |
The information about the Session values.
◆ MRframePixelColors
| Color32 [] ManomotionManager.MRframePixelColors |
|
protected |
◆ OnManoMotionFrameProcessed
| Action ManomotionManager.OnManoMotionFrameProcessed |
|
static |
Sends information after each frame is processed by the SDK.
◆ OnManoMotionLicenseInitialized
| Action ManomotionManager.OnManoMotionLicenseInitialized |
|
static |
Sends information after the license is checked by the SDK.
◆ OnSkeleton3dActive
| Action<int, int> ManomotionManager.OnSkeleton3dActive |
|
static |
Sends information when changing between 2D and 3D joints.
◆ processing_time_list
| List<int> ManomotionManager.processing_time_list = new List<int>() |
|
private |
Stores the processing time values.
◆ visualization_info
◆ Instance
◆ LicenseKey
| string ManomotionManager.LicenseKey |
|
getset |
◆ ManoLicense
◆ Manomotion_Session
| Session ManomotionManager.Manomotion_Session |
|
getset |
◆ ManoSettings
The documentation for this class was generated from the following file: