83 SoInt32Element::set(
getClassTypeId(), classStackIndex, state,
static_cast<int32_t
>(binding) );
91 set( state, binding );
113 virtual void print( FILE* fp )
const;
121 static void initClass();
122 static void exitClass();
#define SoEXTENDER_Documented
#define SO_ELEMENT_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.
Stores a single int32_t, int, or enum value.
Abstract base class for all database nodes.
Stores current tangent binding.
static Binding get(SoState *state)
Returns current tangent binding from the state.
Binding
The choice of values is for compatibility with Open Inventor 2.0 binary format files:
@ PER_PART
One tangent for each part of object.
@ OVERALL
Whole object has same tangent.
@ PER_FACE
One tangent for each face of object.
@ PER_PART_INDEXED
One tangent for each part, indexed.
@ PER_VERTEX_INDEXED
One tangent for each vertex, indexed.
@ PER_VERTEX
One tangent for each vertex.
@ PER_FACE_INDEXED
One tangent for each face, indexed.
static void set(SoState *state, Binding binding)
Sets the current tangent binding in the state.
static Binding getDefault()
Returns the default tangent binding.
virtual void print(FILE *fp) const
Prints element (for debugging).
static void set(SoState *state, SoNode *, Binding binding)
Sets the current tangent binding in the state.
static SoType getClassTypeId()
Returns the type identifier for this class.