SoNormal Class Reference
[Properties]

Node that defines surface normals for shapes. More...

#include <Inventor/nodes/SoNormal.h>

Inheritance diagram for SoNormal:
SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoNormal ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoMFVec3f vector

Detailed Description

Node that defines surface normals for shapes.

This node defines a set of 3D surface normal vectors to be used by vertex-based shape nodes that follow it in the scene graph. This node does not produce a visible result during rendering; it simply replaces the current normals in the rendering state for subsequent nodes to use. This node contains one multiple-valued field that contains the normal vectors.

Surface normals are needed to compute lighting when the Phong lighting model is used. Most vertex-based shapes that use normals can compute default normals if none are specified, depending on the current normal binding.

FILE FORMAT/DEFAULT

ACTION BEHAVIOR

SEE ALSO

SoCoordinate3, SoLightModel, SoNormalBinding, SoVertexShape, SoVertexProperty


Constructor & Destructor Documentation

SoNormal::SoNormal (  ) 

Creates a surface normal node with default settings.


Member Function Documentation

static SoType SoNormal::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoNode.

virtual SoType SoNormal::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoNode.


Member Data Documentation

Surface normal vectors.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/