示例#1
0
        int samplesPerPosition; // Number of samples taken per position pointed from

        #endregion Fields

        #region Constructors

        public Calibrator(int samples, string vp, int round)
        {
            this.vp = vp;
            this.round = round;
            this.dataLogger = new DataLogger(@"D:\Master\TestFolder\CAL_0\", vp, round); // TODO: Initialize properly!
            this.geometryHandler = new GeometryHandler();
            this.samplesPerPosition = samples;
        }
示例#2
0
 public void definePointOnPlane(GeometryHandler.Plane plane, GeometryHandler.Vector vector)
 {
 }
示例#3
0
 public void setExhibitionPlane(GeometryHandler.Plane plane)
 {
     this.plane = plane;
 }
示例#4
0
        private void updateDirection(GeometryHandler.Vector v)
        {
            //Point3D e = this.jointsToTrack[0]; // Right elbow
            //Point3D h = this.jointsToTrack[1]; // Right hand
            //GeometryHandler.Vector v = new GeometryHandler.Vector(jointsToTrack[0], jointsToTrack[1]); // (RIGHT_ELBOW, RIGHT_HAND)

            if (v.Direction.X < 0)
                this.debug4 = "LEFT";
            else
                this.debug4 = "RIGHT";

            if (v.Direction.Y < 0)
                this.debug4 += '\n' + "DOWN";
            else
                this.debug4 += '\n' + "UP";

            if (v.Direction.Z < 0)
                this.debug4 += '\n' + "FRONT";
            else
                this.debug4 += '\n' + "BACK";
        }
示例#5
0
 public Exhibition(GeometryHandler.Plane plane, List<ExhibitionExhibit> exhibits)
 {
     this.plane = plane;
     this.exhibits = exhibits;
 }