ViewerDrawOpenVRML

Opens an VRML file for use as a viewer. If you want to do graphics in this window, you must call ViewerDrawGetDraw() and perform the graphics on the Draw object.

Synopsis

int ViewerDrawOpenVRML(MPI_Comm comm,char* fname,char *title,Viewer *viewer)

Input Parameters

comm - communicator that will share window
fname - the filename on which to open, or null for stdout
title - the title to put in the title bar
x, y - the screen coordinates of the upper left corner of window
w, h - the screen width and height in pixels

Output Parameters

viewer -the viewer

Options Database Keys

-nox -Disables all x-windows output
-display <name> -Specifies name of machine for the X display

Keywords

draw, open, VRML, viewer

See Also

DrawOpenVRML()

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