52#ifndef _SO_VERTEX_PROPERTY
53#define _SO_VERTEX_PROPERTY
65#pragma warning( push )
66#pragma warning(disable:4251)
352 {
override.setValue(state); }
358 {
return override.getValue(); }
361 virtual void doAction(
SoAction *action);
379 enum { NUM_FIELDS = 6 };
416 inline void invalidate()
422 inline bool isInvalid()
const
424 return m_data.bits == 0;
428 inline bool isValid()
const
430 return (m_data.bits&((1 << NUM_FIELDS) - 1)) == ((1 << NUM_FIELDS) - 1);
434 static void initClass();
435 static void exitClass();
440 void setupElements(
SoState* state);
449 inline uint32_t getVextexTimeStamp()
const
450 {
return m_vertexTimeStamp; }
453 virtual void notify(SoNotList *list);
460 Transparent transparent;
461 uint32_t m_vertexTimeStamp;
467#pragma warning( pop )
#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.
Computes bounding box of a scene.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Counts number of...
Multiple-value field containing any number of uint32_t integers.
Multiple-value field containing any number of two-dimensional vectors.
Multiple-value field containing any number of three-dimensional vectors.
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.
SoSFEnum materialBinding
Material binding.
SoMFVec3f tangent
Tangent vector(s).
SoMFVec3f normal
Normal vector(s).
virtual SbBool isOverride() const
Returns the state of the override field.
SoSFEnum normalBinding
Normal binding.
SoSFEnum tangentBinding
Tangent binding.
virtual void setOverride(const SbBool state)
Set the state of the override field.
SoVertexProperty()
Creates an SoVertexProperty node with default settings.
SoMFUInt32 orderedRGBA
Packed color(s), including transparencies.
SoMFVec3f texCoord3
3D texture coordinate(s).
SoMFVec3f vertex
Vertex coordinate(s).
SoMFVec2f texCoord
2D texture coordinate(s).
SoSFBool forceSending
Forces the texture coordinates to be sent to the GPU even if no texture is bound.
@ PER_VERTEX
One material/normal/tangent for each vertex of object.
@ PER_PART_INDEXED
One material/normal/tangent for each part, indexed.
@ PER_FACE_INDEXED
One material/normal/tangent for each face, indexed.
@ PER_FACE
One material/normal/tangent for each face of object.
@ PER_PART
One material/normal/tangent for each part of object.
@ PER_VERTEX_INDEXED
One material/normal/tangent for each vertex, indexed.
@ OVERALL
Whole object has same material/normal/tangent.
unsigned char bits
Allow to initialize/test all members in one shot.
struct SoVertexProperty::ValidityBits::Data::foo attr