Stores current pattern value. More...
#include <Inventor/elements/SoPatternElement.h>
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, SbString category, SbString name) |
static void | get (SoState *state, SbString &category, SbString &name, unsigned char *&pattern) |
static void | getDefault (SbString &category, SbString &name, unsigned char *&pattern) |
static void SoPatternElement::get | ( | SoState * | state, | |
SbString & | category, | |||
SbString & | name, | |||
unsigned char *& | pattern | |||
) | [static] |
Gets the current pattern attributes in the state pattern is NULL if no pattern has been set.
static int SoPatternElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoReplacedElement.
static SoType SoPatternElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoReplacedElement.
static void SoPatternElement::getDefault | ( | SbString & | category, | |
SbString & | name, | |||
unsigned char *& | pattern | |||
) | [static] |
Default values.
virtual void SoPatternElement::push | ( | SoState * | state | ) | [virtual] |
Push copies the values from the previous element.
Reimplemented from SoElement.
static void SoPatternElement::set | ( | SoState * | state, | |
SoNode * | node, | |||
SbString | category, | |||
SbString | name | |||
) | [static] |
Sets the current pattern attributes in the state.