Exemple #1
0
 void selectableSlider_PrimaryPointCreate(ref xnv.HandPointContext context, ref xn.Point3D ptFocus)
 {
     this.SliderArea.BackColor = Color.Red;
 }
Exemple #2
0
 void selectableSlider_ItemSelect(int index, xnv.Direction dir)
 {
     if (dir == xnv.Direction.Up)
     {
         this.flowRouter.SetActive(this.boxes[index]);
     }
 }
Exemple #3
0
 void pointControl_PointCreate(ref xnv.HandPointContext context)
 {
     handPoints.Add (context);
 }
Exemple #4
0
 void pointControl_PrimaryPointReplace(uint nID, ref xnv.HandPointContext context)
 {
     primaryHand = context;
 }
Exemple #5
0
 void pointControl_PrimaryPointCreate(ref xnv.HandPointContext context, ref xn.Point3D pnt)
 {
     primaryHand = context;
 }
Exemple #6
0
        void pointControl_PointUpdate(ref xnv.HandPointContext context)
        {
            foreach (xnv.HandPointContext hpc in handPoints) {
                if (hpc.nID == context.nID) {
                    handPoints[handPoints.IndexOf(hpc)] = context;
                }
            }

            /*string sendData =
                    "Pos(" + context.ptPosition.X.ToString () + ", "
                        + context.ptPosition.Y.ToString () + ", "
                        + context.ptPosition.Z.ToString () + ") "
                        + "nID: " + context.nID.ToString ()
                        + " nUserID: " + context.nUserID.ToString ();

                Console.Out.WriteLine ("PointUpdate: " + sendData);*/
        }