Basic HTML version of Foils prepared April 6 1997

Foil 51 Naming Conventions for Fields/Events

From VRML 2 Basic Concepts and Definitions CPS616 -- Information Track of CPS -- Spring Semester 97. by Zeynep Ozdemir(Geoffrey C. Fox)


The rules for naming fields, exposedFields, eventOuts and eventIns for the built-in nodes are as follows:
  • All names containing multiple words start with a lower case letter and the first letter of all subsequent words are capitalized (e.g. bboxCenter), with the exception of get_ and _changed described below.
  • All eventIns have the prefix set_ - with the exception of the addChildren and removeChildren eventIns.
  • All eventOuts have the suffix _changed appended - with the exception of eventOuts of type SFBool. Boolean eventOuts begin with the word is (e.g. isFoo) for better readability.
  • All eventIns and eventOuts of type SFTime do not use the set_ prefix or _changed suffix



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 Mar 15 1998