使用BoxWidget控件切割、移动点云(stl)
用法:
BoxTool box;
private void 切割点云ToolStripMenuItem_Click(object sender, EventArgs e)
{
box = new BoxTool(renderWindowControl1);
var tagdata = vtk.LoadPTC(@"E:\tag.stl");
box.SetData(tagdata);
box.Load();
box.OnlyMove = false;
box.EnableCut(true);
}
1