VTKCopyPolyData¶
- MLModule¶
genre
author
MeVis Medical Solutions AG
package
dll
definition
keywords
Purpose¶
The module VTKCopyPolyData copies VTK vtkPolyData.
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 vtkPolyData are available (for example, if collections are connected), then the vtkPolyData is searched/copied only from the first ones.
Checked input class types are vtkRenderWindow, vtkRenderer, VTKActor, vtkMapper, vtkDataSet, and classes derived from them.
After creating a copy, the connected input can be disconnected and the created copy remains until the module is deleted, Copy is pressed again to create a new copy, or on inputs opened to clear the current copy.
Windows¶
Default Panel¶
Input Fields¶
inputvtkRenderWindow¶
- name: inputvtkRenderWindow, type: VTKObjectWrapper(MLBase)¶
The connected input object to be searched for copyable
vtkPolyData.
Output Fields¶
outputvtkPolyData¶
- name: outputvtkPolyData, type: VTKObjectWrapper(MLBase)¶
The copy of the
vtkPolyDatafound in any connected input object. If novtkPolyDatacould be copied, the output is an emptyvtkPolyDataobject.
Parameter Fields¶
Visible Fields¶
Status¶
- name: status, type: String, persistent: no¶
Shows the connection state or whether copying has been done before.
Copy¶
- name: copy, type: Trigger¶
When pressed, the module tries to create a copy of the
vtkPolyDatafrom any connected module.If no
vtkPolyDatais found, theoutputvtkPolyDataoutput is reset to an empty object.