Ejemplo n.º 1
0
        private void show567ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Test567 test = new Test567(Mesh);

            test.SetColor();
            OnChanged(EventArgs.Empty);
        }
Ejemplo n.º 2
0
        private void simplify567ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Test567 test = new Test567(Mesh);

            test.CollapseAll(this.faceCount);
            TriMeshUtil.FixIndex(Mesh);
            TriMeshUtil.SetUpNormalVertex(Mesh);
            OnChanged(EventArgs.Empty);
        }
Ejemplo n.º 3
0
        private void remove567ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Test567 test = new Test567(Mesh);

            this.faceCount = test.Mesh.Faces.Count;
            test.Step3();
            test.Step4();
            test.Subdivision();
            test.StepGT7();
            TriMeshUtil.FixIndex(Mesh);

            TriMeshUtil.SetUpNormalVertex(Mesh);
            OnChanged(EventArgs.Empty);
        }
Ejemplo n.º 4
0
        private void simplify567ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Test567 test = new Test567(Mesh);
            test.CollapseAll(this.faceCount);
            TriMeshUtil.FixIndex(Mesh);
            TriMeshUtil.SetUpNormalVertex(Mesh);
            OnChanged(EventArgs.Empty);

            
        }
Ejemplo n.º 5
0
        private void remove567ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Test567 test = new Test567(Mesh);
            this.faceCount = test.Mesh.Faces.Count;
            test.Step3();
            test.Step4();
            test.Subdivision();
            test.StepGT7();
            TriMeshUtil.FixIndex(Mesh);

            TriMeshUtil.SetUpNormalVertex(Mesh);
            OnChanged(EventArgs.Empty);
            
        }
Ejemplo n.º 6
0
        private void show567ToolStripMenuItem_Click(object sender, EventArgs e)
        {

            Test567 test = new Test567(Mesh);
            test.SetColor();
            OnChanged(EventArgs.Empty);
        }