1 #ifndef COIN_SOSHAPESTYLEELEMENT_H
2 #define COIN_SOSHAPESTYLEELEMENT_H
27 #include <Inventor/elements/SoSubElement.h>
42 LIGHTING = 0x00000100,
43 TEXENABLED = 0x00000200,
45 BBOXCMPLX = 0x00000800,
46 INVISIBLE = 0x00001000,
48 OVERRIDE = 0x00004000,
49 TEX3ENABLED = 0x00008000,
50 BIGIMAGE = 0x00010000,
52 VERTEXARRAY = 0x00040000,
53 TRANSP_TEXTURE = 0x00080000,
54 TRANSP_MATERIAL = 0x00100000,
55 TRANSP_SORTED_TRIANGLES = 0x00200000,
56 SHADOWMAP = 0x00400000,
70 unsigned int getFlags(
void)
const;
71 SbBool mightNotRender(
void)
const;
72 SbBool needNormals(
void)
const;
73 SbBool needTexCoords(
void)
const;
74 int getRenderCaseMask(
void)
const;
76 static void setDrawStyle(
SoState *
const state,
const int32_t value);
77 static void setComplexityType(
SoState *
const state,
79 static void setTransparencyType(
SoState *
const state,
81 static void setTextureEnabled(
SoState *
const state,
const SbBool value);
82 static void setTexture3Enabled(
SoState *
const state,
const SbBool value);
83 static void setTextureFunction(
SoState *
const state,
85 static void setLightModel(
SoState *
const state,
const int32_t value);
86 static void setOverrides(
SoState *
const state,
const SbBool value);
88 static SbBool isScreenDoor(
SoState *
const state);
89 static int getTransparencyType(
SoState *
const state);
90 SbBool isTextureFunction(
void)
const;
92 static void setBumpmapEnabled(
SoState * state,
const SbBool value);
93 static void setBigImageEnabled(
SoState * state,
const SbBool value);
94 static void setVertexArrayRendering(
SoState * state,
const SbBool value);
96 static void setTransparentMaterial(
SoState * state,
const SbBool value);
97 static void setTransparentTexture(
SoState * state,
const SbBool value);
99 static void setShadowMapRendering(
SoState * state,
const SbBool value);
100 static void setShadowsRendering(
SoState * state,
const SbBool value);
110 #endif // !COIN_SOSHAPESTYLEELEMENT_H
The SoShapeStyleElement class is yet to be documented.FIXME: write doc.
Definition: SoShapeStyleElement.h:29
static const SoElement * getConstElement(SoState *const state, const int stackIndex)
Definition: SoElement.h:114
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
static SoElement * getElement(SoState *const state, const int stackIndex)
Definition: SoElement.h:101
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