1 #ifndef COIN_SOSHAPESTYLEELEMENT_H 2 #define COIN_SOSHAPESTYLEELEMENT_H 36 #include <Inventor/elements/SoSubElement.h> 51 LIGHTING = 0x00000100,
52 TEXENABLED = 0x00000200,
54 BBOXCMPLX = 0x00000800,
55 INVISIBLE = 0x00001000,
57 OVERRIDE = 0x00004000,
58 TEX3ENABLED = 0x00008000,
59 BIGIMAGE = 0x00010000,
61 VERTEXARRAY = 0x00040000,
62 TRANSP_TEXTURE = 0x00080000,
63 TRANSP_MATERIAL = 0x00100000,
64 TRANSP_SORTED_TRIANGLES = 0x00200000,
65 SHADOWMAP = 0x00400000,
79 unsigned int getFlags(
void)
const;
80 SbBool mightNotRender(
void)
const;
81 SbBool needNormals(
void)
const;
82 SbBool needTexCoords(
void)
const;
83 int getRenderCaseMask(
void)
const;
85 static void setDrawStyle(
SoState *
const state,
const int32_t value);
86 static void setComplexityType(
SoState *
const state,
88 static void setTransparencyType(
SoState *
const state,
90 static void setTextureEnabled(
SoState *
const state,
const SbBool value);
91 static void setTexture3Enabled(
SoState *
const state,
const SbBool value);
92 static void setTextureFunction(
SoState *
const state,
94 static void setLightModel(
SoState *
const state,
const int32_t value);
95 static void setOverrides(
SoState *
const state,
const SbBool value);
97 static SbBool isScreenDoor(
SoState *
const state);
98 static int getTransparencyType(
SoState *
const state);
99 SbBool isTextureFunction(
void)
const;
101 static void setBumpmapEnabled(
SoState * state,
const SbBool value);
102 static void setBigImageEnabled(
SoState * state,
const SbBool value);
103 static void setVertexArrayRendering(
SoState * state,
const SbBool value);
105 static void setTransparentMaterial(
SoState * state,
const SbBool value);
106 static void setTransparentTexture(
SoState * state,
const SbBool value);
108 static void setShadowMapRendering(
SoState * state,
const SbBool value);
109 static void setShadowsRendering(
SoState * state,
const SbBool value);
119 #endif // !COIN_SOSHAPESTYLEELEMENT_H The SoShapeStyleElement class is yet to be documented.
Definition: SoShapeStyleElement.h:38
static const SoElement * getConstElement(SoState *const state, const int stackIndex)
Definition: SoElement.h:123
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
static SoElement * getElement(SoState *const state, const int stackIndex)
Definition: SoElement.h:110
SoElement is the abstract base class for all elements.
Definition: SoElement.h:43
The SoState class manages the Coin scenegraph traversal state data.
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