Basic HTML version of Foils prepared April 6 1997

Foil 110 PlaneSensor

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


1 The PlaneSensor node senses viewer drag actions, computes the translation distances and outputs these using its translation_changed eventOut.
2 By wiring translation_changed eventOut of PlaneSensor to the set_translation eventIn of Transform node, it is possible to let viewer drag a shape in the world.
  • PlaneSensor { autoOffset TRUE # exposedField SFBool enabled TRUE # exposedField SFBool maxPosition -1 -1 # exposedField SFVec2f minPosition 0 0 # exposedField SFVec2f offset 0 0 0 # exposedField SFVec3f isActive # eventOut SFBool trackPoint_changed # eventOut SFVec3f translation_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