Coin  4.0.3
Coin3D core library
Loading...
Searching...
No Matches
SoShapeStyleElement Class Reference

The SoShapeStyleElement class is yet to be documented. More...

#include <Inventor/elements/SoShapeStyleElement.h>

Inheritance diagram for SoShapeStyleElement:
SoElement

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 SoElementcopyMatchInfo (void) const
 FIXME: write doc.
 
unsigned int getFlags (void) const
 
int getRenderCaseMask (void) const
 
virtual void init (SoState *state)
 
SbBool isTextureFunction (void) const
 
virtual SbBool matches (const SoElement *element) const
 FIXME: write doc.
 
SbBool mightNotRender (void) const
 
SbBool needNormals (void) const
 
SbBool needTexCoords (void) const
 
virtual void pop (SoState *state, const SoElement *prevTopElement)
 FIXME: write doc.
 
virtual void push (SoState *state)
 FIXME: write doc.
 
- Public Member Functions inherited from SoElement
virtual ~SoElement ()
 
int getDepth (void) const
 
int getStackIndex (void) const
 
const SoType getTypeId (void) const
 
virtual void print (FILE *file=stdout) const
 
void setDepth (const int depth)
 

Static Public Member Functions

static voidcreateInstance (void)
 
static const SoShapeStyleElementget (SoState *const state)
 FIXME: write doc.
 
static int getClassStackIndex (void)
 
static SoType getClassTypeId (void)
 
static int getTransparencyType (SoState *const state)
 
static void initClass (void)
 
static SbBool isScreenDoor (SoState *const state)
 FIXME: write doc.
 
static void setBigImageEnabled (SoState *state, const SbBool value)
 
static void setBumpmapEnabled (SoState *state, const SbBool value)
 
static void setComplexityType (SoState *const state, const int32_t value)
 FIXME: write doc.
 
static void setDrawStyle (SoState *const state, const int32_t 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 void setShadowMapRendering (SoState *state, const SbBool value)
 
static void setShadowsRendering (SoState *state, const SbBool value)
 
static void setTexture3Enabled (SoState *const state, const SbBool value)
 
static void setTextureEnabled (SoState *const state, const SbBool value)
 FIXME: write doc.
 
static void setTextureFunction (SoState *const state, const SbBool value)
 FIXME: write doc.
 
static void setTransparencyType (SoState *const state, const int32_t value)
 FIXME: write doc.
 
static void setTransparentMaterial (SoState *state, const SbBool value)
 
static void setTransparentTexture (SoState *state, const SbBool value)
 
static void setVertexArrayRendering (SoState *state, const SbBool value)
 
- Static Public Member Functions inherited from SoElement
static int getClassStackIndex (void)
 
static SoType getClassTypeId (void)
 
static SoType getIdFromStackIndex (const int stackIndex)
 
static int getNumStackIndices (void)
 
static void initClass (void)
 
static void initElements (void)
 

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
 
SoElementgetNextFree (void) const
 
SoElementgetNextInStack (void) const
 
void setStackIndex (const int index)
 
void setTypeId (const SoType typeId)
 

Additional Inherited Members

- Static Protected Member Functions inherited from SoElement
static int createStackIndex (const SoType id)
 
static const SoElementgetConstElement (SoState *const state, const int stackIndex)
 
static SoElementgetElement (SoState *const state, const int stackIndex)
 
- Protected Attributes inherited from SoElement
int depth
 
int stackIndex
 
SoType typeId
 
- Static Protected Attributes inherited from SoElement
static int classStackIndex
 
static SoTypeListstackToType
 

Detailed Description

The SoShapeStyleElement class is yet to be documented.

FIXME: write doc.

Constructor & Destructor Documentation

◆ ~SoShapeStyleElement()

SoShapeStyleElement::~SoShapeStyleElement ( )
protectedvirtual

Destructor.

Member Function Documentation

◆ copyMatchInfo()

SoElement * SoShapeStyleElement::copyMatchInfo ( void ) const
virtual

FIXME: write doc.

Implements SoElement.

◆ createInstance()

void * SoShapeStyleElement::createInstance ( void )
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.

◆ getClassStackIndex()

int SoShapeStyleElement::getClassStackIndex ( void )
static

This static method returns the state stack index for the class.

◆ getClassTypeId()

SoType SoShapeStyleElement::getClassTypeId ( void )
static

This static method returns the SoType object associated with objects of this class.

◆ getFlags()

unsigned int SoShapeStyleElement::getFlags ( void ) const

Returns the state flags. Used internally to optimize rendering.

\ since Coin 2.4

◆ getRenderCaseMask()

int SoShapeStyleElement::getRenderCaseMask ( void ) const

Not implemented in Coin. It is used by SoVertexProperty in SGI OIV.

◆ getTransparencyType()

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.

Since
Coin 2.0

◆ init()

void SoShapeStyleElement::init ( SoState * state)
virtual

Initializes the element to its default value. The default value for flags is SoShapeStyleElement::LIGHTING.

Reimplemented from SoElement.

◆ initClass()

void SoShapeStyleElement::initClass ( void )
static

Initialize relevant common data for all instances, like the type system.

◆ isTextureFunction()

SbBool SoShapeStyleElement::isTextureFunction ( void ) const

Returns if texture function is currently enabled.

◆ matches()

SbBool SoShapeStyleElement::matches ( const SoElement * element) const
virtual

FIXME: write doc.

Implements SoElement.

◆ mightNotRender()

SbBool SoShapeStyleElement::mightNotRender ( void ) const

FIXME: write doc.

◆ needNormals()

SbBool SoShapeStyleElement::needNormals ( void ) const

FIXME: write doc.

◆ needTexCoords()

SbBool SoShapeStyleElement::needTexCoords ( void ) const

FIXME: write doc.

◆ pop()

void SoShapeStyleElement::pop ( SoState * state,
const SoElement * prevTopElement )
virtual

FIXME: write doc.

Reimplemented from SoElement.

◆ push()

void SoShapeStyleElement::push ( SoState * state)
virtual

FIXME: write doc.

Reimplemented from SoElement.

◆ setBigImageEnabled()

void SoShapeStyleElement::setBigImageEnabled ( SoState * state,
const SbBool value )
static

Sets bigimage enabled.

Since
Coin 2.4

◆ setBumpmapEnabled()

void SoShapeStyleElement::setBumpmapEnabled ( SoState * state,
const SbBool value )
static

Sets bumpmap enabled.

Since
Coin 2.4

◆ setShadowMapRendering()

void SoShapeStyleElement::setShadowMapRendering ( SoState * state,
const SbBool value )
static

Sets whether we are rendering to a shadow (depth) map or not.

Since
Coin 2.5

◆ setShadowsRendering()

void SoShapeStyleElement::setShadowsRendering ( SoState * state,
const SbBool value )
static

Sets whether we are rendering with shadows or not.

Since
Coin 2.5

◆ setTexture3Enabled()

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.

Since
Coin 2.0

◆ setTransparentMaterial()

void SoShapeStyleElement::setTransparentMaterial ( SoState * state,
const SbBool value )
static

Sets material transparency.

Since
Coin 2.4

◆ setTransparentTexture()

void SoShapeStyleElement::setTransparentTexture ( SoState * state,
const SbBool value )
static

Sets texture transparency.

Since
Coin 2.4

◆ setVertexArrayRendering()

void SoShapeStyleElement::setVertexArrayRendering ( SoState * state,
const SbBool value )
static

Sets if vertex array rendering might be used.

Since
Coin 2.4

The documentation for this class was generated from the following files: