vtkWRITEVRML Procedure

Creates a Virtual Reality Modeling Language file (VRML .wrl file) from a scene in a VTK window.

Usage

vtkWRITEVRML, filename[, WindowID=id, Speed=s]

Input Parameters

Filename—A string, the file to write (should end in “.wrl”).

Keywords

Windowid—An integer, the VTK window to use as the source. (Default: the currently active VTK window)

Speed—A float, the navigation speed. (Default: 4.0)

Discussion

To view a VRML .wrl file in a browser, you need a plug-in. Consult the FAQ at http://www.vrml.org for current information and to obtain a plug-in.

See Also

VRML Routines