Node that defines surface normals for shapes. More...
#include <Inventor/VRMLnodes/SoVRMLNormal.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoVRMLNormal () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFVec3f | vector |
This node defines a set of 3D surface normal vectors to be used in the vector field of some geometry nodes (SoVRMLIndexedFaceSet, SoVRMLElevationGrid). This node contains one multiple-valued field that contains the normal vectors. Normals should be unit-length or results are undefined. Default normals are generated if none are given.
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 defines a set of 3D surface normal vectors to be used in the vector field of some geometry nodes (SoVRMLIndexedFaceSet, SoVRMLElevationGrid). This node contains one multiple-valued field that contains the normal vectors. Normals should be unit-length or results are undefined.
To save network bandwidth, it is expected that implementations will be able to automatically generate appropriate normals if none are given. However, the results will vary from implementation to implementation.
vector | [] |
metadata | NULL |
SoMFVec3f | set_vector |
SoSFNode | set_metadata |
SoMFVec3f | vector_changed |
SoSFNode | metadata_changed |
SoVRMLNormal::SoVRMLNormal | ( | ) |
Constructor.
static SoType SoVRMLNormal::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoVRMLNode.
virtual SoType SoVRMLNormal::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoVRMLNode.
Normal vectors.