Basic HTML version of Foils prepared April 6 1997

Foil 111 SphereSensor

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


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