24#ifndef _SO_SIMPLIFY_ACTION_
25#define _SO_SIMPLIFY_ACTION_
30#include <Inventor/actions/SoAction.h>
31#include <Inventor/actions/SoSubAction.h>
32#include <Inventor/fields/SoMFFloat.h>
33#include <Inventor/simplifier/SoSimplifier.h>
35#include <Inventor/SoType.h>
211 static void initClass();
212 static void exitClass();
224 int numSimplificationLevels;
225 float *simplificationLevels;
261 SoNode *simplifySingleLevel();
262 SoNode *simplifyMultiLevelsWithInline();
263 SoNode *simplifyMultiLevels();
Class for smart character strings.
Abstract base class for all actions.
Abstract base class for all database nodes.
<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...
SbString getUrlName() const
Gets the name used when creating Inline files for each simplified child.
int getNumRanges() const
Gets the number of ranges that will be used in the LevelOfSimplification node to decide which level o...
const float * getSimplificationLevels() const
Gets percentages to produce at each level of detail.
int getNumSimplificationLevels() const
Gets number of levels of detail to produce.
void setVerbosity(SbBool v)
Sets verbosity flag.
void setMinTriangles(int mt)
Sets the minimum number of triangles for a simplified child; if a given percentage would create a sim...
void setInlineLOD(SbBool i)
Sets inlineLOD flag.
void setSimplificationLevels(int num, const float levels[])
Sets number of levels of detail to produce and what percentage to produce at each level.
void setRenderCulling(SbBool r)
Sets render culling flag.
SoSimplifyAction(SoSimplifier *_simplifier)
Constructor.
int isRenderCulling() const
Gets render culling flag.
const float * getRanges() const
Gets the ranges that will be used in the LevelOfSimplification node to decide which level of detail t...
SbBool isInlineLOD() const
Gets inlineLOD flag.
int getMinTriangles() const
Gets the minimum number of triangles for a simplified child.
void setRanges(int num, const float newRanges[])
Sets the ranges that will be used in the LevelOfSimplification node to decide which level of detail t...
SbBool isVerbose() const
Gets verbosity flag.
void setSizeFactor(float size)
Sets the scale factor to use to decide what values of ranges to use in the LevelOfSimplification node...
float getSizeFactor() const
Gets the scale factor to use to decide what values of ranges to use in the LevelOfSimplification node...
~SoSimplifyAction()
Destructor.
void setUrlName(const SbString name)
Sets the name used when creating Inline files for each simplified child.