VTKCopyPolyData¶
-
MLModule
¶ genre VTKAdapters
author MeVis Medical Solutions AG
package MeVisLab/VTK
dll MLVTKAdapters
definition MLVTKAdapters.def keywords renderwindow
,render
,polydata
,surface
,copy
,displayed
Purpose¶
When Copy
is pressed then the connected input is checked whether it contains valid vtkPolyData. If possible a copy of that vtkPolyData is created and passed to the output, otherwise the output is cleared.
If multiple objects with polydata are available (for example if collections are connected), then currently the polydata is searched/copied only from the first ones.
Checked input class types are vtkRenderWindow, vtkRenderer, VTKActor, vtkMapper, or vtkDataSet or classes derived from them.
After creating a copy the connected input can be disconnected and the created copy remains until the module is deleted or Copy
is pressed again to create a new copy or on open inputs to clear the current copy.