1 #ifndef COIN_SOSHAPEHINTSELEMENT_H
2 #define COIN_SOSHAPEHINTSELEMENT_H
27 #include <Inventor/elements/SoSubElement.h>
29 class 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;
95 #endif // !COIN_SOSHAPEHINTSELEMENT_H
static void initClass(void)
Definition: SoElement.cpp:507
virtual SbBool matches(const SoElement *element) const =0
Definition: SoElement.cpp:609
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.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:47
SoElement is the abstract base class for all elements.
Definition: SoElement.h:34
The SoState class manages the Coin scenegraph traversal state data.The SoState class is used by actio...
Definition: SoState.h:35
virtual void init(SoState *state)
Definition: SoElement.cpp:553
virtual SoElement * copyMatchInfo(void) const =0
virtual void pop(SoState *state, const SoElement *prevTopElement)
Definition: SoElement.cpp:585