Basic HTML version of Foils prepared March 4 1998

Foil 76 Prototypes - II

From VRML 2 Basic Concepts and Definitions CPS616 -- Information Track of CPS -- Spring Semester 98. by Zeynep Ozdemir, Rob Baker, Meryem Ispirli, Geoffrey C. Fox

Prototype Definition and Examples for Foil 76(Definition and Examples)
The prototype declaration contains:
  • a list of public eventIns and eventOuts that can send and receive events
  • a list of public exposedFields and fields, with default values
The prototype definition contains a list of one or more nodes, and zero or more routes and prototypes.
The first node in definition is used to define node type
  • e.g. if first node is sphere, then this prototype can be used wehenever a sphere node could
Following nodes can be used in routes and scripts but are NOT rendered
  • rendering based on declaration
The nodes in this declaration list may also contain the IS syntax associates field and event names contained within the prototype definition with the events and fields names in the prototype declaration.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Apr 5 1998