123456789101112131415161718192021222324252627282930313233 |
- using System;
- using System.Collections.Generic;
- using System.Drawing;
- using MathNet.Numerics.LinearAlgebra.Single;
- using bbiwarg.Detectors;
- using bbiwarg.InputProviders;
- namespace bbiwarg.VideoHandles
- {
- interface IVideoHandle
- {
- void nextFrame();
- short getDepth(int x, int y);
- short getConfidence(int x, int y);
- Color getColor(int x, int y);
- // TODO: implement properly
- void createVertexArray(IntPtr vertexBuffer);
- Vector pixel2VertexPosition(Vector pixelPosition);
- DetectionStatus[] getFingerStatus(uint handIndex);
- Vector[] getFingerTipPositions3D(uint handIndex);
- Vector getPalmPosition3D(uint handIndex);
- Vector getPalmNormal3D(uint handIndex);
- Vector getForearmPosition3D(uint handIndex);
- Vector getForeFingerPosition3D(uint handIndex);
- List<Vector> getHandPoints();
- Palm getPalm(uint handIndex);
- int getWidth();
- int getHeight();
- }
- }
|