VTKRemoteRendering¶
-
MLModule
¶ author MeVis Medical Solutions AG
package MeVisLab/VTK
dll MLVTKRemoteRendering
definition MLVTKRemoteRendering.def see also RemoteRendering
keywords offscreen
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.
Parameter Fields¶
Field Index¶
<Double-click intercepted> : Trigger |
Use stencil buffer : Bool |
Enable Multi Sampling : Bool |
|
imageRendered : Trigger |
|
Intercept double-clicks : Bool |
|
Multi Sampling : Integer |
|
storeTransparency : Bool |
|
Supported : Bool |
|
Suppress render updates : Bool |
Visible Fields¶
Supported¶
-
name:
supported
, type:
Bool
, default:
TRUE
¶ 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.
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.
Suppress render updates¶
-
name:
suppressUpdates
, type:
Bool
, default:
FALSE
¶ If enabled, no render updates are propagated.