Пример #1
0
        public bool AlignFirstModelFromRegistratioMatrix(Matrix4d myMatrix)
        {
            //Vector3d v = new Vector3d();

            if (this.GLrender.RenderableObjects.Count > 0)
            {
                RenderableObject o   = this.GLrender.RenderableObjects[0];
                PointCloud       pc1 = o.PointCloud;
                myMatrix.TransformPointCloud(pc1);
            }
            else
            {
                System.Windows.Forms.MessageBox.Show("Please load two Point Clouds first");
                return(false);
            }
            return(true);
        }