コード例 #1
0
        private void HalconWin_HMouseMove(object sender, HMouseEventArgs e)
        {
            HTuple Window = new HTuple();

            Window = HalconWin.HalconWindow;
            HTuple Row1, Col1, Button;

            try
            {
                HOperatorSet.GetMposition(Window, out Row1, out Col1, out Button);
                StatusLblX.Text = Col1.ToString();
                StatusLblY.Text = Row1.ToString();
            }
            catch
            {
            }
        }
コード例 #2
0
 public override string ToString()
 {
     return(Row0.ToString() + "\n" + Row1.ToString() + "\n" + Row2.ToString() + "\n" + Row3.ToString());
 }
コード例 #3
0
ファイル: Mat4.cs プロジェクト: opeyx/Dolhouse
 /// <summary>
 /// Return the Mat4 as a string.
 /// </summary>
 /// <returns>The Mat4 formatted as a string.</returns>
 public override string ToString()
 {
     return("(" + Row1.ToString() + ", " + Row2.ToString() + ", " + Row3.ToString() + ", " + Row4.ToString() + ")");
 }