50#ifndef _SO_MATERIAL_BINDING_
51#define _SO_MATERIAL_BINDING_
172 {
override.setValue(state); }
178 {
return override.getValue(); }
181 virtual void doAction(
SoAction *action);
188 static void initClass();
189 static void exitClass();
197 virtual SbBool readInstance(
SoInput *in,
unsigned short flags);
#define SO_NODE_HEADER(className)
@ PER_FACE
One attribute for each face of object.
@ PER_FACE_INDEXED
One attribute for each face, indexed.
@ PER_PART_INDEXED
One attribute for each part, indexed.
@ PER_VERTEX_INDEXED
One attribute for each vertex, indexed.
@ OVERALL
Whole object has same attribute.
@ PER_PART
One attribute for each part of object.
@ PER_VERTEX
One attribute for each vertex.
Abstract base class for all actions.
Performs a generic traversal of a scene graph or path.
Renders a scene graph using Open Inventor's Render Engine.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Counts number of...
Node that specifies how multiple materials are bound to shapes.
SoSFEnum value
Specifies how to bind materials to shapes.
@ OVERALL
Whole object has same material.
@ PER_VERTEX
One material for each vertex of object.
@ PER_PART_INDEXED
One material for each part, indexed.
@ PER_PART
One material for each part of object.
@ PER_VERTEX_INDEXED
One material for each vertex, indexed.
@ PER_FACE_INDEXED
One material for each face, indexed.
@ PER_FACE
One material for each face of object.
virtual SbBool isOverride() const
Returns the state of the override field.
SoMaterialBinding()
Creates a material binding node with default settings.
virtual void setOverride(const SbBool state)
Set the state of the override field.
Abstract base class for all database nodes.
Abstract base class for picking objects in a scene.
Field containing a single Boolean value.
Field containing an enumerated value.