Interpolates among a set of normals. More...
#include <Inventor/VRMLnodes/SoVRMLNormalInterpolator.h>
Public Member Functions | |
SoVRMLNormalInterpolator () | |
Public Attributes | |
SoMFFloat | key |
SoMFVec3f | keyValue |
See the VRML97 Specification, below.
NOTE: This class does not exist in Open Inventor 10.0 and later.This section may reference portions of the VRML97 specification that are not present in this help file. The complete VRML97 spec is available at http://www.web3d.org .
This node interpolates among a set of multi-valued Vec3f values, suitable for transforming normal vectors. All output vectors will have been normalized by the interpolator.
The number of normals in the keyValue field must be an integer multiple of the number of keyframes in the key field; that integer multiple defines how many normals will be contained in the value_changed events.
Normal interpolation is to be performed on the surface of the unit sphere. That is, the output values for a linear interpolation from a point P on the unit sphere to a point Q also on unit sphere should lie along the shortest arc (on the unit sphere) connecting points P and Q. Also, equally spaced input fractions will result in arcs of equal length. Cases where P and Q are diagonally opposing allow an infinite number of arcs. The interpolation for this case can be along any one of these arcs.
Refer to "Concepts - Interpolators" for a more detailed discussion of interpolators.
key | [] |
keyValue | [] |
metadata | NULL |
SoSFFloat | set_fraction |
SoMFFloat | set_key |
SoMFVec3f | set_keyValue |
SoSFNode | set_metadata |
SoMFVec3f | value_changed |
SoMFFloat | key_changed |
SoMFVec3f | keyValue_changed |
SoSFNode | metadata_changed |
SoVRMLNormalInterpolator::SoVRMLNormalInterpolator | ( | ) |
Constructor.