Basic HTML version of Foils prepared
April 6 1997
Foil 112 CylinderSensor
From
VRML 2 Basic Concepts and Definitions CPS616 -- Information Track of CPS --
Spring Semester 97
.
by
Zeynep Ozdemir(Geoffrey C. Fox)
The CylinderSensor node senses viewer drag actions, computes rotation axis and angles, and output these using rotation_changed eventOut.
By using this sensor, it is possible to define a shape, like disk, than can be turned via draging the mouse.
CylinderSensor { autoOffset TRUE # exposedField SFBool diskAngle 0.262 # exposedField SFFloat enabled TRUE # exposedField SFBool maxAngle -1 # exposedField SFFloat minAngle 0 # exposedField SFFloat offset 0 # exposedField SFFloat isActive # eventOut SFBool rotation_changed # eventOut SFRotation trackPoint_changed # eventOut SFVec3f }
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