SoPolygonOffsetElement Class Reference
[Elements]

VSG extension Stores current polygon offset state. More...

#include <Inventor/elements/SoPolygonOffsetElement.h>

Inheritance diagram for SoPolygonOffsetElement:
SoReplacedElement SoElement SoTypedObject SoGLPolygonOffsetElement

List of all members.

Public Types

enum  Style {
  FILLED = 0x01,
  LINES = 0x02,
  POINTS = 0x04
}

Public Member Functions

virtual void push (SoState *state)

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()
static void set (SoState *state, SoNode *node, float factor, float units, Style styles, SbBool on)
static void get (SoState *state, float &factor, float &units, Style &styles, SbBool &on)
static void getDefault (float &factor, float &units, Style &styles, SbBool &on)

Detailed Description

VSG extension Stores current polygon offset state.

SEE ALSO

SoPolygonOffset


Member Enumeration Documentation

PolygonOffset style.

Enumerator:
FILLED 

FILLED.

LINES 

LINES.

POINTS 

POINTS.


Member Function Documentation

static void SoPolygonOffsetElement::get ( SoState state,
float &  factor,
float &  units,
Style styles,
SbBool on 
) [static]

Gets the current polygon offset attributes in the state.

static int SoPolygonOffsetElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoReplacedElement.

Reimplemented in SoGLPolygonOffsetElement.

static SoType SoPolygonOffsetElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoReplacedElement.

Reimplemented in SoGLPolygonOffsetElement.

static void SoPolygonOffsetElement::getDefault ( float &  factor,
float &  units,
Style styles,
SbBool on 
) [static]

Default values.

virtual void SoPolygonOffsetElement::push ( SoState state  )  [virtual]

Push copies the values from the previous element.

Reimplemented from SoElement.

Reimplemented in SoGLPolygonOffsetElement.

static void SoPolygonOffsetElement::set ( SoState state,
SoNode node,
float  factor,
float  units,
Style  styles,
SbBool  on 
) [static]

Sets the current polygon offset attributes in the state.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/