1#ifndef COIN_SOSHAPEHINTSELEMENT_H
2#define COIN_SOSHAPEHINTSELEMENT_H
27#include <Inventor/elements/SoSubElement.h>
29class COIN_DLL_API SoShapeHintsElement :
public SoElement {
32 SO_ELEMENT_HEADER(SoShapeHintsElement);
36 virtual ~SoShapeHintsElement();
66 const VertexOrdering vertexOrdering,
67 const ShapeType shapeType,
const FaceType faceType);
68 static void set(
SoState *
const state,
69 const VertexOrdering vertexOrdering,
70 const ShapeType shapeType,
const FaceType faceType);
71 static void get(
SoState *
const state, VertexOrdering & vertexOrdering,
72 ShapeType & shapeType, FaceType & faceType);
74 static VertexOrdering getVertexOrdering(
SoState *
const state);
75 static ShapeType getShapeType(
SoState *
const state);
76 static FaceType getFaceType(
SoState *
const state);
78 static VertexOrdering getDefaultVertexOrdering();
79 static ShapeType getDefaultShapeType();
80 static FaceType getDefaultFaceType();
82 virtual void print(FILE * file)
const;
85 void updateLazyElement(
SoState * state);
86 virtual void setElt(VertexOrdering vertexOrdering,
87 ShapeType shapeType, FaceType faceType);
89 VertexOrdering vertexOrdering;
SoElement is the abstract base class for all elements.
Definition SoElement.h:34
virtual void pop(SoState *state, const SoElement *prevTopElement)
Definition SoElement.cpp:585
virtual SbBool matches(const SoElement *element) const =0
Definition SoElement.cpp:609
static void initClass(void)
Definition SoElement.cpp:507
virtual SoElement * copyMatchInfo(void) const =0
virtual void init(SoState *state)
Definition SoElement.cpp:553
virtual void push(SoState *state)
Definition SoElement.cpp:570
virtual void print(FILE *file=stdout) const
Definition SoElement.cpp:595
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:47
The SoState class manages the Coin scenegraph traversal state data.
Definition SoState.h:35