man SoNormalBinding () - node that specifies how multiple surface normals are bound to shapes

NAME

SoNormalBinding - node that specifies how multiple surface normals are bound to shapes

INHERITS FROM

SoBase > SoFieldContainer > SoNode > SoNormalBinding

SYNOPSIS

#include <Inventor/nodes/SoNormalBinding.h> enum Binding { c } c } Whole object has same normal

c } c } One normal for each part of object

c } c } One normal for each part, indexed

c } c } One normal for each face of object

c } c } One normal for each face, indexed

c } c } One normal for each vertex of object

c } c } One normal for each vertex, indexed

} Fields from class SoNormalBinding: c } c } value Methods from class SoNormalBinding: c } c } SoNormalBinding()

c } c } getClassTypeId() Methods from class SoNode: c } c } setOverride(SbBool state)

c } c } isOverride() const

c } c } copy(SbBool copyConnections = FALSE) const

c } c } affectsState() const

c } c } getByName(const SbName &name)

c } c } getByName(const SbName &name, SoNodeList &list) Methods from class SoFieldContainer: c } c } setToDefaults()

c } c } hasDefaultValues() const

c } c } fieldsAreEqual(const SoFieldContainer *fc) const

c } c } copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)

c } c } set(const char *fieldDataString)

c } c } get(SbString &fieldDataString)

c } c } getFields(SoFieldList &resultList) const

c } c } getField(const SbName &fieldName) const

c } c } getFieldName(const SoField *field, SbName &fieldName) const

c } c } isNotifyEnabled() const

c } c } enableNotify(SbBool flag) Methods from class SoBase: c } c } ref()

c } c } unref() const

c } c } unrefNoDelete() const

c } c } touch()

c } c } getTypeId() const

c } c } isOfType(SoType type) const

c } c } setName(const SbName &name)

c } c } getName() const

DESCRIPTION

This node specifies how the current normals are bound to shapes that follow in the scene graph. Each shape node may interpret bindings differently. The bindings for faces and vertices are meaningful only for shapes that are made from faces and vertices. Similarly, the indexed bindings are only used by the shapes that allow indexing. For bindings that require multiple normals, be sure to have at least as many normals defined as are necessary; otherwise, errors will occur.

FIELDS

c } c } value

Specifies how to bind normals to shapes.

METHODS

c } c } SoNormalBinding()

Creates a normal binding node with default settings. c } c } getClassTypeId()

Returns type identifier for this class.

ACTION BEHAVIOR

SoGLRenderAction, SoCallbackAction, SoRayPickAction

Sets the current normal binding type.

FILE FORMAT/DEFAULTS

NormalBinding {
value	PER_VERTEX_INDEXED
}

SEE ALSO

SoMaterialBinding, SoNormal, SoTextureCoordinateBinding, SoVertexShape