![]() |
http://www.sim.no/ http://www.coin3d.org/ |
The SoShapeStyleElement class is yet to be documented.FIXME: write doc. More...
#include <Inventor/elements/SoShapeStyleElement.h>
Public Types | |
enum | Flags { LIGHTING = 0x00000100, TEXENABLED = 0x00000200, TEXFUNC = 0x00000400, BBOXCMPLX = 0x00000800, INVISIBLE = 0x00001000, ABORTCB = 0x00002000, OVERRIDE = 0x00004000, TEX3ENABLED = 0x00008000, BIGIMAGE = 0x00010000, BUMPMAP = 0x00020000, VERTEXARRAY = 0x00040000, TRANSP_TEXTURE = 0x00080000, TRANSP_MATERIAL = 0x00100000, TRANSP_SORTED_TRIANGLES = 0x00200000, SHADOWMAP = 0x00400000, SHADOWS = 0x00800000 } |
Public Member Functions | |
virtual void | init (SoState *state) |
FIXME: write doc. | |
virtual void | push (SoState *state) |
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
FIXME: write doc. | |
virtual SbBool | matches (const SoElement *element) const |
FIXME: write doc. | |
virtual SoElement * | copyMatchInfo (void) const |
FIXME: write doc. | |
unsigned int | getFlags (void) const |
SbBool | mightNotRender (void) const |
SbBool | needNormals (void) const |
SbBool | needTexCoords (void) const |
int | getRenderCaseMask (void) const |
SbBool | isTextureFunction (void) const |
Static Public Member Functions | |
static void | initClass (void) |
static const SoShapeStyleElement * | get (SoState *const state) |
FIXME: write doc. | |
static void | setDrawStyle (SoState *const state, const int32_t value) |
FIXME: write doc. | |
static void | setComplexityType (SoState *const state, const int32_t value) |
FIXME: write doc. | |
static void | setTransparencyType (SoState *const state, const int32_t value) |
FIXME: write doc. | |
static void | setTextureEnabled (SoState *const state, const SbBool value) |
FIXME: write doc. | |
static void | setTexture3Enabled (SoState *const state, const SbBool value) |
static void | setTextureFunction (SoState *const state, const SbBool value) |
FIXME: write doc. | |
static void | setLightModel (SoState *const state, const int32_t value) |
FIXME: write doc. | |
static void | setOverrides (SoState *const state, const SbBool value) |
FIXME: write doc. | |
static SbBool | isScreenDoor (SoState *const state) |
FIXME: write doc. | |
static int | getTransparencyType (SoState *const state) |
static void | setBumpmapEnabled (SoState *state, const SbBool value) |
static void | setBigImageEnabled (SoState *state, const SbBool value) |
static void | setVertexArrayRendering (SoState *state, const SbBool value) |
static void | setTransparentMaterial (SoState *state, const SbBool value) |
static void | setTransparentTexture (SoState *state, const SbBool value) |
static void | setShadowMapRendering (SoState *state, const SbBool value) |
static void | setShadowsRendering (SoState *state, const SbBool value) |
Protected Member Functions | |
virtual | ~SoShapeStyleElement () |
The SoShapeStyleElement class is yet to be documented.
FIXME: write doc.
SoShapeStyleElement::~SoShapeStyleElement | ( | ) | [protected, virtual] |
The destructor.
void SoShapeStyleElement::initClass | ( | void | ) | [static] |
This static method initializes static data for the SoShapeStyleElement class.
Reimplemented from SoElement.
unsigned int SoShapeStyleElement::getFlags | ( | void | ) | const |
Returns the state flags. Used internally to optimize rendering.
\ since Coin 2.4
SbBool SoShapeStyleElement::mightNotRender | ( | void | ) | const |
FIXME: write doc.
SbBool SoShapeStyleElement::needNormals | ( | void | ) | const |
FIXME: write doc.
SbBool SoShapeStyleElement::needTexCoords | ( | void | ) | const |
FIXME: write doc.
int SoShapeStyleElement::getRenderCaseMask | ( | void | ) | const |
Not implemented in Coin. It is used by SoVertexProperty in SGI OIV.
void SoShapeStyleElement::setTexture3Enabled | ( | SoState *const | state, |
const SbBool | value | ||
) | [static] |
FIXME: write doc.
This function is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
int SoShapeStyleElement::getTransparencyType | ( | SoState *const | state | ) | [static] |
Returns the current transparency type.
This function is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
SbBool SoShapeStyleElement::isTextureFunction | ( | void | ) | const |
Returns if texture function is currently enabled.
void SoShapeStyleElement::setBumpmapEnabled | ( | SoState * | state, |
const SbBool | value | ||
) | [static] |
Sets bumpmap enabled.
void SoShapeStyleElement::setBigImageEnabled | ( | SoState * | state, |
const SbBool | value | ||
) | [static] |
Sets bigimage enabled.
void SoShapeStyleElement::setVertexArrayRendering | ( | SoState * | state, |
const SbBool | value | ||
) | [static] |
Sets if vertex array rendering might be used.
void SoShapeStyleElement::setTransparentMaterial | ( | SoState * | state, |
const SbBool | value | ||
) | [static] |
Sets material transparency.
void SoShapeStyleElement::setTransparentTexture | ( | SoState * | state, |
const SbBool | value | ||
) | [static] |
Sets texture transparency.
void SoShapeStyleElement::setShadowMapRendering | ( | SoState * | state, |
const SbBool | value | ||
) | [static] |
Sets whether we are rendering to a shadow (depth) map or not.
void SoShapeStyleElement::setShadowsRendering | ( | SoState * | state, |
const SbBool | value | ||
) | [static] |
Sets whether we are rendering with shadows or not.
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated for Coin by Doxygen 1.7.5.1.