Basic HTML version of Foils prepared March 4 1998

Foil 115 SphereSensor

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 2 Examples of a SphereSensor for Foil 115(Definition and Examples)
1 The SphereSensor node senses viewer drag actions, computes rotation axis and angles, and output these using rotation_changed eventOut.
2 By wiring rotation_changed eventOut of SphereSensor to the set_rotation eventIn of Transform node, it is possible to let viewer rotate the shape in any direction in the world.
  • SphereSensor { autoOffset TRUE # exposedField SFBool enabled TRUE # exposedField SFBool offset 0 1 0 0 # exposedField SFRotation isActive # eventOut SFBool rotation_changed # eventOut SFRotation trackPoint_changed # eventOut SFVec3f }

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 Apr 5 1998