Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 vtkDistancePolyDataFilter,我想将结果保存为 .vtk 文件。结果是正确的,我可以用vtkRenderer显示出来。但是我不能用 vtk writer 保存它,因为他们需要一个对象作为输入。
如何保存我的输出?也许有一种方法可以将 vktActor 转换为对象?
提前致谢。
Just create a vtkPolyDataWriter and set its input connection from the vtkDistancePolyDataFilter's output port. You don't need much more here.