Beispiel #1
0
        private void updateButton_Click(object sender, EventArgs e)
        {
            EuclideanTransform transformation;

            transformation             = new EuclideanTransform();
            transformation.translation = new Vector3(float.Parse(textbox_vx.Text), float.Parse(textbox_vy.Text), float.Parse(textbox_vz.Text));
            transformation.rotation    = new Quaternion(float.Parse(textbox_qx.Text), float.Parse(textbox_qy.Text), float.Parse(textbox_qz.Text), float.Parse(textbox_qw.Text));
            PointCloudManipulation.setTransform(transformation);
        }
Beispiel #2
0
 public static void Main()
 {
     //Instantiate objects
     mainWindow        = new Window();
     pointCloudTweaker = new PointCloudTweaker();
     kinectManager     = new KinectManager();
     PointCloudManipulation.setup();
     //Application.Run(mainWindow);
     Application.Run(new MultiFormContext(mainWindow, pointCloudTweaker));
 }
Beispiel #3
0
 // Send to PointCloudManipulation
 public static void passPCD(short[,] input, int index)
 {
     PointCloudManipulation.inputPCD(input, index);
     //Console.WriteLine("PCD loaded into PCM.");
 }