SoPolygonOffsetElement Class Reference
[Elements]

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

#include <Inventor/elements/SoPolygonOffsetElement.h>

Inheritance diagram for SoPolygonOffsetElement:
SoReplacedElement SoElement SoTypedObject

List of all members.

Public Types

enum  Style {
  FILLED = SbEnums::OFFSET_SOLID,
  LINES = SbEnums::OFFSET_WIREFRAME,
  POINTS = SbEnums::OFFSET_WIREFRAME
}

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.

static SoType SoPolygonOffsetElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoReplacedElement.

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.

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 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/