26#include <Inventor/elements/SoReplacedElement.h>
39SoEXTENDER_Documented
class SoPatternElement :
public SoReplacedElement {
40 SO_ELEMENT_HEADER( SoPatternElement );
68 virtual void init(
SoState* state);
71 virtual SbBool matches(
const SoElement* elt)
const;
74 virtual SoElement* copyMatchInfo()
const;
78 static void initClass();
79 static void exitClass();
84 unsigned char* m_pattern;
86 virtual void setElt(
SbString category,
SbString name,
unsigned char* pattern );
88 virtual ~SoPatternElement() ;
Class for smart character strings.
Abstract base class for all database nodes.
static void getDefault(SbString &category, SbString &name, unsigned char *&pattern)
Default values.
virtual void push(SoState *state)
Push copies the values from the previous element.
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 set(SoState *state, SoNode *node, SbString category, SbString name)
Sets the current pattern attributes in the state.