1 #ifndef COIN_SOSHAPEHINTSELEMENT_H 2 #define COIN_SOSHAPEHINTSELEMENT_H 36 #include <Inventor/elements/SoSubElement.h> 38 class COIN_DLL_API SoShapeHintsElement :
public SoElement {
41 SO_ELEMENT_HEADER(SoShapeHintsElement);
45 virtual ~SoShapeHintsElement();
75 const VertexOrdering vertexOrdering,
76 const ShapeType shapeType,
const FaceType faceType);
77 static void set(
SoState *
const state,
78 const VertexOrdering vertexOrdering,
79 const ShapeType shapeType,
const FaceType faceType);
80 static void get(
SoState *
const state, VertexOrdering & vertexOrdering,
81 ShapeType & shapeType, FaceType & faceType);
83 static VertexOrdering getVertexOrdering(
SoState *
const state);
84 static ShapeType getShapeType(
SoState *
const state);
85 static FaceType getFaceType(
SoState *
const state);
87 static VertexOrdering getDefaultVertexOrdering();
88 static ShapeType getDefaultShapeType();
89 static FaceType getDefaultFaceType();
91 virtual void print(FILE * file)
const;
94 void updateLazyElement(
SoState * state);
95 virtual void setElt(VertexOrdering vertexOrdering,
96 ShapeType shapeType, FaceType faceType);
98 VertexOrdering vertexOrdering;
104 #endif // !COIN_SOSHAPEHINTSELEMENT_H static void initClass(void)
Definition: SoElement.cpp:506
virtual SbBool matches(const SoElement *element) const =0
Definition: SoElement.cpp:608
virtual void push(SoState *state)
Definition: SoElement.cpp:569
virtual void print(FILE *file=stdout) const
Definition: SoElement.cpp:594
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:56
SoElement is the abstract base class for all elements.
Definition: SoElement.h:43
The SoState class manages the Coin scenegraph traversal state data.The SoState class is used by actio...
Definition: SoState.h:44
virtual void init(SoState *state)
Definition: SoElement.cpp:552
virtual SoElement * copyMatchInfo(void) const =0
virtual void pop(SoState *state, const SoElement *prevTopElement)
Definition: SoElement.cpp:584