55#ifndef _SO_MATERIAL_BINDING_
56#define _SO_MATERIAL_BINDING_
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_NODE_HEADER(className)
Non-abstract classes have everything abstract classes have, plus a way to create an instance.
Abstract base class for all actions.
Performs a generic traversal of the scene graph.
Renders a scene graph using OpenGL.
@ PER_VERTEX_INDEXED
One material for each vertex, indexed.
@ OVERALL
Whole object has same material.
@ PER_PART_INDEXED
One material for each part, indexed.
@ PER_VERTEX
One material for each vertex.
@ PER_FACE_INDEXED
One material for each face, indexed.
@ PER_FACE
One material for each face of object.
@ PER_PART
One material for each part of object.
Node that specifies how multiple materials are bound to shapes.
virtual void doAction(SoAction *action)
This method performs the "typical" operation of a node for any action.
SoSFEnum value
Specifies how to bind materials to shapes.
virtual void pick(SoPickAction *action)
virtual void GLRender(SoGLRenderAction *action)
These virtual functions implement all of the actions for nodes, Most of the default implementations d...
virtual void callback(SoCallbackAction *action)
SoMaterialBinding()
Creates a material binding node with default settings.
virtual ~SoMaterialBinding()
virtual bool readInstance(SoInput *in, unsigned short flags)
Reads stuff into instance. Upgrades old bindings.
Abstract base class for all database nodes.
Abstract base class for picking objects in a scene.
Field containing an enumerated value.