12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using MathNet.Numerics.LinearAlgebra.Single;
- namespace bbiwarg.DataSource
- {
- interface IInputProvider
- {
- void init();
- void start();
- void stop();
- void updateFrame();
- void releaseFrame();
- float getFrameRate();
- float getHFOV();
- float getVFOV();
- int getConfidenceThreshold();
- void setConfidenceThreshold(int value);
- bool isActive();
- DepthImage getDepthImage();
- ConfidenceImage getConfidenceImage();
- UVImage getUVImage();
- ColorImage getColorImage();
- /*
- * all handIndices have to be 1 or 2
- */
- bool isHandOpen(uint handIndex);
- Vector getPalmPosition3D(uint handIndex);
- Vector getPalmPosition2D(uint handIndex);
- Vector getTipPosition3D(uint handIndex);
- Vector getForearmPosition3D(uint handIndex);
- Vector getPalmNormal3D(uint handIndex);
- DetectionStatus[] getFingerStatus(uint handIndex);
- DetectionStatus getHandStatus(uint handIndex);
- Vector[] getFingerTipPositions3D(uint handIndex);
- Vector[] getFingerTipPositions2D(uint handIndex);
- HandSide getHandSide(uint handIndex);
- }
- }
|