50#ifndef _SO_LINE_PATTERN_ELEMENT
51#define _SO_LINE_PATTERN_ELEMENT
53#include <Inventor/elements/SoReplacedElement.h>
76 u_short pattern,
int factor = 1);
82 u_short pattern,
int factor = 1)
83 {
set(state, pattern, factor); }
123 virtual void init(
SoState *state);
134 virtual SoElement* copyMatchInfo()
const;
138 static void initClass();
139 static void exitClass();
142 int m_pattern, m_factor;
145 virtual void setElt(u_short pattern,
int factor);
Abstract base class for all state elements.
Stores the current line stipple pattern.
static int getDefaultScaleFactor()
Returns the default line pattern scale factor.
virtual void print(FILE *fp) const
Prints element (for debugging).
static u_short getDefaultPattern()
Returns the default line pattern.
static u_short get(SoState *state, int &factor)
Returns current line pattern from the state.
static void set(SoState *state, SoNode *, u_short pattern, int factor=1)
Sets the current line pattern in the state.
static u_short getDefault()
Deprecated: Returns the default line pattern.
static void set(SoState *state, u_short pattern, int factor=1)
Sets the current line pattern in the state.
Abstract base class for all database nodes.
Abstract base class for each state element whose value is replaced whenever it is set.