SoVTK¶
- InventorModule¶
genre
author
MeVis Medical Solutions AG
package
dll
definition
see also
MLToVTKArray,MLToVTKImage,VTKToMLImage,VTKView,SoExaminerViewer,WEMToVTKPolyData,VTKPolyDataToWEM,MLBaseToVTKPolyDatakeywords
converter,wrapper,adaptor,draw,render,interface,vtk,OpenInventor
Purpose¶
The module SoVTK is an Open Inventor module, which allows for drawing VTK scenes into Open Inventor viewers.
It is especially useful when combining VTK and Open Inventor scenes.
Usage¶
Connect a vtkProp object to the input; it is required to be of type vtkProp, e.g., a VTKActor, a vtkProp2D, or a vtkProp3D 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 directly drawn with OpenGL.
Some vtkProp objects do not return 3D bounding box information - those 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¶
Input Fields¶
inputVTKProp¶
- name: inputVTKProp, type: MLBase, deprecated name: inputVTKProp3D¶
The module has one input that must be wrap a
vtkProporvtkRendererobject or one that is derived from it.
Output Fields¶
self¶
Parameter Fields¶
Visible Fields¶
Status¶
- name: status, type: String¶
Shows state information about the input connector.
Clear VTKState¶
- name: clearVTKState, type: Trigger¶
When pressed, the VTK state is cleared.