Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
SoPatternElement Class Reference

VSG extension Stores current pattern value. More...

#include <Inventor/elements/SoPatternElement.h>

+ Inheritance diagram for SoPatternElement:

Public Member Functions

virtual void push (SoState *state)
 Push copies the values from the previous element.
 
- Public Member Functions inherited from SoReplacedElement
virtual void print (FILE *fp) const
 Prints element (for debugging).
 
- Public Member Functions inherited from SoElement
virtual void pop (SoState *state, const SoElement *prevTopElement)
 Pops element.
 
virtual SoType getTypeId () const
 Returns type identifier for element instance.
 
- Public Member Functions inherited from SoTypedObject
SbBool isOfType (const SoType &type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type.
 
template<typename TypedObjectClass >
SbBool isOfType () const
 Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
 

Static Public Member Functions

static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
static void set (SoState *state, SoNode *node, SbString category, SbString name)
 Sets the current pattern attributes in the state.
 
static void get (SoState *state, SbString &category, SbString &name, unsigned char *&pattern)
 Gets the current pattern attributes in the state pattern is NULL if no pattern has been set.
 
static void getDefault (SbString &category, SbString &name, unsigned char *&pattern)
 Default values.
 
- Static Public Member Functions inherited from SoReplacedElement
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
- Static Public Member Functions inherited from SoElement
static SoType getClassTypeId ()
 Returns type identifier for SoElement class.
 
- Static Public Member Functions inherited from SoTypedObject
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 

Detailed Description

VSG extension Stores current pattern value.

SEE ALSO

SoPattern

Definition at line 39 of file SoPatternElement.h.

Member Function Documentation

◆ get()

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.

◆ getClassStackIndex()

static int SoPatternElement::getClassStackIndex ( )
static

Returns the stack id for this element.


◆ getClassTypeId()

static SoType SoPatternElement::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getDefault()

static void SoPatternElement::getDefault ( SbString category,
SbString name,
unsigned char *&  pattern 
)
static

Default values.

◆ push()

virtual void SoPatternElement::push ( SoState state)
virtual

Push copies the values from the previous element.

Reimplemented from SoElement.

◆ set()

static void SoPatternElement::set ( SoState state,
SoNode node,
SbString  category,
SbString  name 
)
static

Sets the current pattern attributes in the state.


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