Difference between revisions of "CoordinateInterpolator2D"

From Web3D.org
Jump to: navigation, search
 
 
Line 3: Line 3:
  
 
<pre>
 
<pre>
CADAssembly : X3DGroupingNode, X3DProductStructureChildNode {
+
CoordinateInterpolator2D : X3DInterpolatorNode {
   MFNode  [in]    addChildren
+
   SFFloat [in]    set_fraction      ()
   MFNode  [in]     removeChildren
+
   MFFloat [in,out] key          []  ()
   MFNode  [in,out] children      []       [X3DProductStructureChildNode]
+
   MFVec2f [in,out] keyValue      []   ()
   SFNode   [in,out] metadata       NULL     [X3DMetadataObject]
+
   SFNode [in,out] metadata     NULL [X3DMetadataObject]
   SFString [in,out] name ""
+
   MFVec2f [out]    value_changed
  SFVec3f  []      bboxCenter    0 0 0   (-∞,∞)
+
  SFVec3f  []      bboxSize      -1 -1 -1 [0,∞) or −1 −1 −1
+
 
}
 
}
 
</pre>
 
</pre>
The CADAssembly node holds a set of assemblies or parts grouped together.
 
  
 
+
This node linearly interpolates among a list of MFVec2f values to produce an MFVec2f value_changed event. The number of coordinates in the ''keyValue'' field shall be an integer multiple of the number of key frames in the ''key'' field. That integer multiple defines how many coordinates will be contained in the value_changed events.
The ''children'' field can contain X3DProductStructureChildNode types. Each child will be either a sub-assembly or a part.
+
 
+
 
+
The ''name'' field documents the name of this CADAssembly.
+
  
 
* [[Node Reference]]
 
* [[Node Reference]]

Latest revision as of 23:15, 1 February 2006

CoordinateInterpolator2D

CoordinateInterpolator2D : X3DInterpolatorNode {
  SFFloat [in]     set_fraction       ()
  MFFloat [in,out] key           []   ()
  MFVec2f [in,out] keyValue      []   ()
  SFNode  [in,out] metadata      NULL [X3DMetadataObject]
  MFVec2f [out]    value_changed
}

This node linearly interpolates among a list of MFVec2f values to produce an MFVec2f value_changed event. The number of coordinates in the keyValue field shall be an integer multiple of the number of key frames in the key field. That integer multiple defines how many coordinates will be contained in the value_changed events.