SoVTK¶
-
InventorModule
¶ genre VTKAdapters
author MeVis Medical Solutions AG
package MeVisLab/VTK
dll MLVTKAdapters
definition MLVTKAdapters.def see also MLToVTKArray
,MLToVTKImage
,VTKToMLImage
,VTKView
,SoExaminerViewer
,WEMToVTKPolyData
,VTKPolyDataToWEM
,MLBaseToVTKPolyData
keywords converter
,wrapper
,adaptor
,draw
,render
,interface
,vtk
,OpenInventor
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.