Difference between revisions of "CoordinateInterpolator"

From Web3D.org
Jump to: navigation, search
 
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
  
 
<pre>
 
<pre>
CADAssembly : X3DGroupingNode, X3DProductStructureChildNode {
+
CoordinateInterpolator : X3DInterpolatorNode {
   MFNode  [in]    addChildren
+
   SFFloat [in]    set_fraction      ()
   MFNode  [in]     removeChildren
+
   MFFloat [in,out] key          []  ()
   MFNode  [in,out] children      []       [X3DProductStructureChildNode]
+
   MFVec3f [in,out] keyValue      []   ()
   SFNode   [in,out] metadata       NULL     [X3DMetadataObject]
+
   SFNode [in,out] metadata     NULL [X3DMetadataObject]
   SFString [in,out] name ""
+
   MFVec3f [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 MFVec3f values to produce an MFVec3f 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:13, 1 February 2006

CoordinateInterpolator

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

This node linearly interpolates among a list of MFVec3f values to produce an MFVec3f 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.