DrawOpenVRML

Opens an VRML viewer for use with the Draw routines.

Synopsis

int DrawOpenVRML(MPI_Comm comm,char* fname,char *title, Draw* inctx)

Input Parameters

comm - the communicator that will share the viewer
fname - the file on which to open, or null for stdout
title - the title to put in the title bar

Output Parameter

ctx -the drawing context.

Options Database Keys

-novrml - Disables all output
-vrmlfile <name> - Specifies name of VRML output file. Overrides the parameter fname
-vrmlnolod - Does not use LOD (level of detail nodes)
-vrmllodthresh <value> - Set distance for LOD thresholding
-vrmlwww <name> - Generates separate WWW files for each page. <name> is the name of the URL; it MUST contain a %d to indicate the page number.
-vrmlwwwform <name> - Specifies the string that names the files used by -vrmlwww ; it must contain a %d to indicate the page number.
-vrmliv - Uses Inventor form instead of VRML
-vrmlgcoord - Uses graphics (z in, y down) rather than human (z up, y in) coordinate system. This is automatic for VRML version 2.
-vrml2 - Uses VRML version 2 (not yet supported)

Note

When finished with the drawing context, it should be destroyedwith DrawDestroy().

Keywords

draw, open, VRML

See Also

DrawSynchronizedFlush(), DrawDestroy()

Location: src/draw/impls/vrml/vrmlops.c
Graphics (Draw) Index
Table of Contents