25#ifndef _SO_SHAPE_SIMPLIFY_ACTION_
26#define _SO_SHAPE_SIMPLIFY_ACTION_
32#include <Inventor/actions/SoAction.h>
33#include <Inventor/actions/SoSubAction.h>
34#include <Inventor/actions/SoCallbackAction.h>
35#include <Inventor/actions/SoSimplifyAction.h>
36#include <Inventor/nodes/SoLevelOfSimplification.h>
37#include <Inventor/nodes/SoMaterial.h>
38#include <Inventor/nodes/SoGroup.h>
39#include <Inventor/fields/SoMFFloat.h>
40#include <Inventor/nodes/SoIndexedFaceSet.h>
41#include <Inventor/SoLists.h>
43#include <Inventor/SoType.h>
109 static void initClass();
110 static void exitClass();
111 SbBool isDecimated() {
return wasDecimated; }
115 virtual void beginTraversal(
SoNode *) { beginTraversal();}
116 virtual void endTraversal (
SoNode *) { endTraversal() ;}
122 int enabledElementsCounter;
127 virtual void beginTraversal();
128 virtual void endTraversal ();
141 SoNode *getGroup ()
const {
return groupStack[groupStack.
getLength()-1];}
176 static void addTriangleCB (
void *userData,
int getLength() const
Returns number of pointers in list.
virtual void remove(int which)
Removes pointer with given index.
Performs a generic traversal of a scene graph or path.
Response
Possible responses from a pre or post callback.
Abstract base class for all database nodes.
Maintains a list of pointers to nodes.
void append(SoNode *ptr)
Adds a pointer to the end of the list.
Path that points to a list of hierarchical nodes.
Maintains a list of pointers to paths.
Represents a vertex of a generated primitive.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Simplify action ...
virtual void apply(SoNode *node)
Initiates an action on the graph defined by a node.
SoShapeSimplifyAction(SoSimplifier *_simplifier)
Constructor.
~SoShapeSimplifyAction()
Destructor.
virtual void apply(const SoPathList &path_list, SbBool obeys_rules=FALSE)
Initiates an action on the graph defined by a list of paths.
virtual void apply(SoPath *path)
Initiates an action on the graph defined by a path.
<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...