Basic HTML version of Foils prepared March 4 1998

Foil 114 PlaneSensor

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 PlaneSensor for Foil 114(Definition and Examples)
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 Apr 5 1998