25#ifndef _SO_SIMPLIFIER_
26#define _SO_SIMPLIFIER_
59 numData (0), data (NULL), verbosity (
FALSE) {};
#define FALSE
Possible value of SbBool.
Abstract base class for all database nodes.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
virtual SoNode * simplify(float)=0
Performs the simplification on the shapes and returns a simplified node.
void setData(int numData, const float *)
Method to set optional vertex data (data).
virtual void endShape()
Ends a shape started by beginShape().
void setNormal(const SbVec3f &)
Method to set optional vertex data (normal).
SbBool getVerbosity() const
Gets whether to print messages while simplifying.
@ TRIANGLE_FAN
TRIANGLE_FAN.
@ TRIANGLE_STRIP
TRIANGLE_STRIP.
virtual void setVerbosity(SbBool v)
Sets whether to print messages while simplifying.
virtual int getNumTriangles()
Returns the number of triangles actually stored in the object.
virtual void beginShape(ShapeType)
Starts a new shape, ShapeType defines which triangle organization to use.
virtual ~SoSimplifier()
Destructor.
virtual void setVertex(const SbVec3f &)
Specifies a new vertex location.
virtual void clear()
Removes all shapes and reset.
void setColor(const unsigned long &)
Method to set optional vertex data (color).
SoSimplifier()
Constructor.