25#ifndef _SO_REORGANIZE_ACTION_
26#define _SO_REORGANIZE_ACTION_
169 virtual void beginTraversal(
SoNode *) { beginTraversal();}
170 virtual void endTraversal (
SoNode *) { endTraversal() ;}
173 static void initClass();
174 static void exitClass();
178 virtual void beginTraversal();
179 virtual void endTraversal ();
190 SbBool generateTriangleStrip;
201 void simplifySingleLevel();
202 void simplifyMultiLevelsWithInline();
203 void simplifyMultiLevels();
#define FALSE
Possible value of SbBool.
#define SO_ACTION_HEADER(className)
Class for smart character strings.
Abstract base class for all database nodes.
Path that points to a list of hierarchical nodes.
Maintains a list of pointers to paths.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Reorganizes the ...
SoSimplifier * getSimplifier() const
Returns the simplifier being used, may be NULL.
~SoReorganizeAction()
Destructor.
void generateTexCoords(SbBool g)
Sets whether texture coordinates should be generated during reorganization.
void generateTriangleStrips(SbBool g)
Sets whether triangle strips should be generated.
void matchIndexArrays(SbBool g)
Sets whether to try to match index arrays during reorganization.
void generateNormals(SbBool g)
Sets whether normals should be generated during reorganization.
SoSeparator * getSimplifiedSceneGraph() const
Returns result of reorganization as new scene graph.
virtual void apply(const SoPathList &path_list, SbBool obeys_rules=FALSE)
Initiates an action on the graph defined by a list of paths.
SbBool areVPNodesGenerated() const
Gets whether vertex property nodes should be generated during reorganization.
virtual void apply(SoPath *path)
Initiates an action on the graph defined by a path.
SoReorganizeAction(SoSimplifier *_simplifier=NULL)
Constructor.
void generateVPNodes(SbBool g)
Sets whether vertex property nodes should be generated during reorganization.
static SoNONUNICODE void startReport(const char *msg)
Starts a report.
SbBool areNormalGenerated() const
Gets whether normals should be generated during reorganization.
SbBool areIndexArraysMatched() const
Gets whether to try to match index arrays during reorganization.
static void startReport(const SbString &msg)
Starts a report.
SbBool areTexCoordsGenerated() const
Gets whether texture coordinates should be generated during reorganization.
SbBool areTriangleStripGenerated() const
Gets whether triangle strips should be generated; if false, IndexedFaceSets are generated.
virtual void apply(SoNode *node)
Initiates an action on the graph defined by a node.
static void finishReport()
Ends a report.
Group node that saves and restores traversal state.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...