Purpose

SoVTK is an Open Inventor module which allows for drawing vtk scenes into Open Inventor viewers. It is especially useful to mix vtk scenes with Open Inventor scenes.

Usage

Connect a vtkProp object to the input; it is required to be of type vtkProp, i.e. a vtkActor, a vtkProp2D, a vtkProp3D etc. object to make a rendering possible. Alternatively a vtkRenderer (or derived) object can be connected; in this case all vtkProp / vtkActor objects connected to the vtkRenderer are connected instead.

Details

Some Open Inventor operations on objects and triangles (such as selections) are not possible on vtk objects, because they are not converted to an Open Inventor scene but simple drawn with OpenGL.

Some vtkProp objects do not return 3D bounding box information - those ones are rendered into a box from [-1, 1] in x-, y-, and z-dimension. The center is assumed at (0,0,0) then.

Windows

Default Panel

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

Input Fields

inputVTKProp

name: inputVTKProp, type: MLBase, deprecated name: inputVTKProp3D

The module has one input which must be wrap a vtkProp or vtkRenderer object or one which is derived from it.

Output Fields

self

name: self, type: SoNode

The module has a normal Open Inventor connector which can be connected to SoGroup or derived nodes or inventor viewers.

Parameter Fields

Visible Fields

Status

name: status, type: String

Shows state information about the input connector.

Render Mode

name: renderMode, type: Enum, default: RENDER_DIRECT

The mode how the vtk scene is rendered. Currently only RENDER_DIRECT is provided.

Values:

Title Name Description
Render Direct RENDER_DIRECT Uses OpenGL to draw the vtk scene into the Open Inventor viewer.