ParallelGraphics  
Home  »  Developer Zone  »  Products  »  Cortona3D Viewer  »  VRML Extensions  »  Interpolator Nodes in Cortona  »  PositionInterpolator2DEx Node
PositionInterpolator2DEx Node
The PositionInterpolator2DEx node interpolates among a list of SFVec2f values using a specified interpolation method. This node extends the ParallelGraphics extension node Position2Interpolator.

EXTERNPROTO PositionInterpolator2DEx [ 
  eventIn         SFFloat   set_fraction               # (-inf,inf)
  exposedField    MFFloat   key             []         # (-inf,inf)
  exposedField    MFVec2f   keyValue        []         # (-inf,inf)
  exposedField    MFFloat   params          [0, 0, 0]  # (-inf,inf)  
  exposedField    SFString  type            "LINEAR"  
  eventOut        SFVec2f   value_changed
]
[
  "urn:inet:parallelgraphics.com:cortona:PositionInterpolator2DEx"
  "http://www.parallelgraphics.com/vrml/proto/Cortona/extensions.wrl
  #PositionInterpolator2DEx"
]

The type field defines the interpolation method. The possible values of this field are "CONSTANT", "LINEAR", "COSINE", "CUBIC" and "HERMITE". In the case of the Hermite interpolation, the params field specifies three interpolation parameters: Tension, Continuity and Bias.

Definitions of the other fields and events of the PositionInterpolator2DEx node are similar to the corresponding definitions for the ParallelGraphics extension node Position2Interpolator.


Last updated: Sun, 12 Feb 2012
© 2000-2008 ParallelGraphics. All rights reserved.