Presentation is loading. Please wait.

Presentation is loading. Please wait.

Viewpoint { eventIn SFBool set_bind exposedField SFFloat fieldOfView 0.785398 # (0,  ) exposedField SFBool jump TRUE exposedField SFRotation orientation.

Similar presentations


Presentation on theme: "Viewpoint { eventIn SFBool set_bind exposedField SFFloat fieldOfView 0.785398 # (0,  ) exposedField SFBool jump TRUE exposedField SFRotation orientation."— Presentation transcript:

1 Viewpoint { eventIn SFBool set_bind exposedField SFFloat fieldOfView 0.785398 # (0,  ) exposedField SFBool jump TRUE exposedField SFRotation orientation 0 0 1 0 # [-1,1],(- ,  ) exposedField SFVec3f position 0 0 10 # (- ,  ) field SFString description "" eventOut SFTime bindTime eventOut SFBool isBound } Public interface Specification of Nodes Node field or event type Data Type Field/event name Default Values Range

2 Viewpoint {... exposedField SFFloat fieldOfView 0.785398 # (0,  )... } Viewpoint {... eventIn SFFloat set_fieldOfView 0.785398 # (0,  ) field SFFloat fieldOfView 0.785398 # (0,  ) eventOut SFFloat fieldOfView_changed 0.785398 # (0,  )... } What is exposedField? Equivalent NOTE : ”set_” and “_changed”are optional

3 What is a Node? Viewpoint fieldOfView set_fieldOfView fieldOfView_changed jump set_jump jump_changed orientation set_ orientation orientation _changed position set_ position position _changed description set_Bind bindTime isBound Example :

4 Elementary Data Type Data type Meaning SFBool Boolean, true or false value SFColor, MFColor RGB color value SFFloat, MFFloat Floating point value SFImage Image value SFInt32, MFInt32 Integer value SFNode, MFNode Node value SFRotation, MFRotation Rotation value SFString, MFString Text string value SFTime, MFTime Time value SFVec2f, MFVec2f XY floating point value SFVec3f, MFVec3f XYZ floating point value

5 TimeSensor startTimeset_startTime fraction_changed stopTimeset_stopTime TouchSensor touchTime OrinentationInterpolator set_fraction value_changed Routing eventIn and eventOut

6 Pointing-device Sensors / Action Sensors Anchor TouchSensor CylinderSensor PlaneSensor SphereSensor Environmental sensors TimeSensor VisibilitySensor ProximitySensor Collision Type of Sensors

7 ColorInterpolator CoordinateInterpolator NormalInterpolator OrientationInterpolator PositionInterpolator ScalarInterpolator Type of Interpolators


Download ppt "Viewpoint { eventIn SFBool set_bind exposedField SFFloat fieldOfView 0.785398 # (0,  ) exposedField SFBool jump TRUE exposedField SFRotation orientation."

Similar presentations


Ads by Google