VTKRemoteRendering¶
- MLModule¶
 author
package
dll
definition
see also
keywords
Purpose¶
The VTKRemoteRendering module allows to render a VTK visualization (represented as a vtkRenderer) using the MeVisLab remote rendering protocol.
In addition to the single vtkRenderer input, the module is also scriptable to:
access the render window and interactor
set the interactor style
add multiple renderers
To access the scripting API, just do:
API = ctx.object()
e.g. to add a renderer dynamically:
import vtk
ren = vtk.vtkRenderer()
ctx.object().GetRenderWindow().AddRenderer(ren)
Note: VTK cursor shapes are currently not supported, since vtkRenderWindow.SetCurrentCursor() seems to be used seldomly. If you require VTK cursors, please send a feature request.
Input Fields¶
inputVtkRenderer¶
- name: inputVtkRenderer, type: VTKObjectWrapper(MLBase)¶
 A vtkRenderer is expected.
Output Fields¶
output¶
- name: output, type: RemoteRendering(MLBase)¶
 The remote rendering base object.
For accessing this object via scripting, see the Scripting Reference:
MLRemoteRenderingWrapper.
Parameter Fields¶
Field Index¶
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
Visible Fields¶
Enable Multi Sampling¶
- name: enableMultiSampling, type: Bool, default: FALSE¶
 Enable the usage of a MSAA buffer.
Multi Sampling¶
- name: multiSampling, type: Integer, default: 16¶
 Defines the multi sampling for MSAA buffers.
Intercept double-clicks¶
- name: interceptDoubleClicks, type: Bool, default: FALSE¶
 Defines if double clicks are to be intercepted.
<Double-click intercepted>¶
- name: doubleClickIntercepted, type: Trigger¶
 Is triggered if a double click was intercepted.
Supported¶
- name: supported, type: Bool, persistent: no¶
 Shows if the module is supported by the hardware (requires Pbuffers or framebuffer objects).
Use stencil buffer¶
- name: stencilBuffer, type: Bool, default: FALSE¶
 Enable/Disable the stencil buffer.
Suppress render updates¶
- name: suppressUpdates, type: Bool, default: FALSE¶
 If enabled, no render updates are propagated.