Ejemplo n.º 1
0
        public ArmSensor(bool isLeft, DeviceView deviceView) : base(deviceView)
        {
            this.isLeft = isLeft;

            shoulder = new TargetData();
            upperArm = new TargetData();
            forearm  = new TargetData();
            hand     = new TargetData();

            thumb        = new Finger();
            indexFinger  = new Finger();
            middleFinger = new Finger();
            ringFinger   = new Finger();
            littleFinger = new Finger();

            fingers = new Finger[] {
                thumb,
                indexFinger,
                middleFinger,
                ringFinger,
                littleFinger
            };
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Create new sensor the the device
 /// </summary>
 /// <param name="_device"></param>
 public Sensor(DeviceView _device)
 {
     device = _device;
 }
Ejemplo n.º 3
0
 public OptitrackSensor(DeviceView device, OptitrackStreamingClient _streamingClient) : base(device)
 {
     streamingClient = _streamingClient;
 }
Ejemplo n.º 4
0
 public Controller(DeviceView _device) : base(_device)
 {
 }