import vtk

import vtk

import vtk reads a dataset from any of the following 9 VTK file formats. Please note that VTK’s file formats do not include coordinate units information, nor analyte units. There is a parameter which allows you to specify coordinate units (meters are the default).

  • vtk: legacy format
  • vtr: Rectilinear grids
  • vtp: Polygons (surfaces)
  • vts: Structured grids
  • vtu: Unstructured grids
  • pvtp: Partitioned Polygons (surfaces)
  • pvtr: Partitioned Rectilinear grids
  • pvts: Partitioned Structured grids
  • pvtu: Partitioned Unstructured grids

Ports

DirectionNameTypeDescription
OutputOutputFieldA field containing VTK file contents.
OutputOutput ObjectRenderableA renderable object displaying the VTK file contents.

Properties

PropertyTypeDescription
FilenameStringThe field file to read.
Use Application OriginBooleanWhen true, the module will apply the Application Origin. When false, data will be left in internal model space. Turn off when loading data intended to use as a glyph or similar.
ExecuteButtonThe Execute button forces the module to run.
UnitsStringThe coordinate units.