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