25#include <Inventor/fields/SoSFString.h>
26#include <Inventor/fields/SoSFBool.h>
28#include <Inventor/nodes/SoNode.h>
30#include <Inventor/SbPImpl.h>
186 const char* category = NULL );
196 SoNONUNICODE
static void addPattern(
const char* category,
const char* name,
197 const unsigned char* bytes );
206 const unsigned char* bytes );
215 SoNONUNICODE
static void getPattern(
const char* category,
const char* name,
unsigned char*& bytes );
229 {
override.setValue(state); }
235 {
return override.getValue(); }
238 virtual void doAction(
SoAction *action );
245 static void initClass();
246 static void exitClass();
Class for smart character strings.
Abstract base class for all actions.
Performs a generic traversal of a scene graph or path.
Renders a scene graph using Open Inventor's Render Engine.
Abstract base class for all database nodes.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Node that define...
SoSFString category
Specifies the name of a group of patterns.
static void addPattern(const SbString &category, const SbString &name, const unsigned char *bytes)
Adds a new pattern specified as an array of 128 bytes.
static void getPatternNames(int &number, SbString *&names, const char *category=NULL)
Gets the names of loaded patterns.
static SoNONUNICODE SbBool loadPatterns(const char *fileName, int numFilters=0, const SbString *filterNames=NULL, FilterType filterType=INCLUSIVE_FILTER)
Loads a pattern file, with optional filtering of patterns.
static SoNONUNICODE void addPattern(const char *category, const char *name, const unsigned char *bytes)
Adds a new pattern specified as an array of 128 bytes.
static SbBool loadPatterns(const SbString &fileName, int numFilters=0, const SbString *filterNames=NULL, FilterType filterType=INCLUSIVE_FILTER)
Loads a pattern file, with optional filtering of patterns.
static void getPattern(const SbString &category, const SbString &name, unsigned char *&bytes)
Retrieves a pattern bitmap (an array of 128 bytes) specified by its category and name.
static SoNONUNICODE void getPattern(const char *category, const char *name, unsigned char *&bytes)
Retrieves a pattern bitmap (an array of 128 bytes) specified by its category and name.
SoSFString name
Specifies the name of a pattern within a category.
virtual void setOverride(const SbBool state)
Set the state of the override field.
FilterType
Possible value of the filterType used by the method loadPatterns.
@ INCLUSIVE_FILTER
Load only the patterns that are in the list of pattern names.
virtual SbBool isOverride() const
Returns the state of the override field.
Field containing a single Boolean value.
Field containing a string.