Basic HTML version of Foils prepared March 4 1998

Foil 78 IS Statement

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

Definition and Examples of IS/Prototypes for Foil 78(Definition and Examples)
Each eventIn in the prototype declaration is associated with an eventIn or exposedField defined in the prototype's node definition via the IS syntax.
PROTO FooTransform
[ eventIn SFVec3f set_position ]
{
Transform { set_translation IS set_position }
}
This definition exposes a Transform node's set_translation event by giving it a new name (set_position) in the prototype interface.



© 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