Coin3D is Free Software, published under the BSD 3-clause license. |
https://coin3d.github.io https://www.kongsberg.com/en/kogt/ |
The SoShapeStyleElement class is yet to be documented. More...
#include <Inventor/elements/SoShapeStyleElement.h>
Public Member Functions | |
virtual void | init (SoState *state) |
virtual void | push (SoState *state) |
FIXME: write doc. | |
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 |
Public Member Functions inherited from SoElement | |
const SoType | getTypeId (void) const |
int | getStackIndex (void) const |
void | setDepth (const int depth) |
int | getDepth (void) const |
virtual void | print (FILE *file=stdout) const |
virtual | ~SoElement () |
Static Public Member Functions | |
static SoType | getClassTypeId (void) |
static int | getClassStackIndex (void) |
static void * | createInstance (void) |
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) |
Static Public Member Functions inherited from SoElement | |
static void | initClass (void) |
static SoType | getClassTypeId (void) |
static int | getClassStackIndex (void) |
static void | initElements (void) |
static int | getNumStackIndices (void) |
static SoType | getIdFromStackIndex (const int stackIndex) |
Protected Member Functions | |
virtual | ~SoShapeStyleElement () |
Protected Member Functions inherited from SoElement | |
SoElement (void) | |
void | capture (SoState *const state) const |
virtual void | captureThis (SoState *state) const |
void | setTypeId (const SoType typeId) |
void | setStackIndex (const int index) |
SoElement * | getNextInStack (void) const |
SoElement * | getNextFree (void) const |
Additional Inherited Members | |
Static Protected Member Functions inherited from SoElement | |
static SoElement * | getElement (SoState *const state, const int stackIndex) |
static const SoElement * | getConstElement (SoState *const state, const int stackIndex) |
static int | createStackIndex (const SoType id) |
Protected Attributes inherited from SoElement | |
SoType | typeId |
int | stackIndex |
int | depth |
Static Protected Attributes inherited from SoElement | |
static int | classStackIndex |
static SoTypeList * | stackToType |
The SoShapeStyleElement class is yet to be documented.
FIXME: write doc.
|
protectedvirtual |
Destructor.
|
static |
This static method returns the SoType object associated with objects of this class.
|
static |
This static method returns the state stack index for the class.
|
static |
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Creates a new instance of the class type corresponding to the SoType object.
|
static |
Initialize relevant common data for all instances, like the type system.
|
virtual |
Initializes the element to its default value. The default value for flags is SoShapeStyleElement::LIGHTING.
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.
FIXME: write doc.
This function is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
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.
Sets bumpmap enabled.
Sets bigimage enabled.
Sets if vertex array rendering might be used.
Sets material transparency.
Sets texture transparency.
Sets whether we are rendering to a shadow (depth) map or not.
Sets whether we are rendering with shadows or not.