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

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

../../../Modules/ML/MLVTKAdapters/mhelp/Images/Screenshots/VTKCopyPolyData._default.png

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 vtkPolyData found in any connected input object. If no vtkPolyData could be copied, the output is an empty vtkPolyData object.

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 vtkPolyData from any connected module.

If no vtkPolyData is found, the outputvtkPolyData output is reset to an empty object.