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)
1 Each eventIn in the prototype declaration is associated with an eventIn or exposedField defined in the prototype's node definition via the IS syntax.
2 PROTO FooTransform
3 [ eventIn SFVec3f set_position ]
4 {
5 Transform { set_translation IS set_position }
6 }
7 This definition exposes a Transform node's set_translation event by giving it a new name (set_position) in the prototype interface.

in Table To:


© 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 Nov 29 1998