SoDecimator Class Reference
[Large Model]

VSG extension Encapsulates an algorithm for simplifying shapes through mesh decimation. More...

#include <Inventor/simplifier/SoDecimator.h>

Inheritance diagram for SoDecimator:
SoSimplifier

List of all members.

Public Member Functions

 SoDecimator ()
 ~SoDecimator ()
virtual void beginShape (ShapeType)
virtual void endShape ()
virtual void setVertex (const SbVec3f &)
virtual void setSimplifiedShapeType (SoType simplifiedShapeType)
virtual SoNodesimplify (float)
virtual void clear ()
virtual void setVerbosity (SbBool v)

Detailed Description

VSG extension Encapsulates an algorithm for simplifying shapes through mesh decimation.

This class implements a mesh decimation algorithm for simplifying shapes.

Not all geometry nodes can be decimated. The following geometry nodes are decimated:

The following geometry nodes are not decimated:

The decimator does not decimate nodes such as SoCone, that adjust their complexity automatically (based on SoComplexity and/or the viewer-requested decimation level). The decimator also does not decimate nodes such as SoVRMLElevationGrid where decimation would not preserve the type of geometry. Decimated geometry is always an indexed face set.

SEE ALSO

SoSimplifier, SoSimplifyAction, SoShapeSimplifyAction, SoGlobalSimplifyAction

See related examples:

BumpMapping, InteractiveSimplification


Constructor & Destructor Documentation

SoDecimator::SoDecimator (  ) 

Constructor.

SoDecimator::~SoDecimator (  ) 

Destructor.


Member Function Documentation

virtual void SoDecimator::beginShape ( ShapeType   )  [virtual]

Starts a new shape.

Shape Type defines which triangle organization to use.

Reimplemented from SoSimplifier.

virtual void SoDecimator::clear (  )  [virtual]

Removes all shapes and reset.

Reimplemented from SoSimplifier.

virtual void SoDecimator::endShape (  )  [virtual]

End shape.

Reimplemented from SoSimplifier.

virtual void SoDecimator::setSimplifiedShapeType ( SoType  simplifiedShapeType  )  [virtual]

Sets the shape type used for building the simplified node.

Only SoIndexedFaceSet and SoFaceSet are supported. SoIndexedFaceSet is used by default.

virtual void SoDecimator::setVerbosity ( SbBool  v  )  [virtual]

Verbose mode.

Reimplemented from SoSimplifier.

virtual void SoDecimator::setVertex ( const SbVec3f  )  [virtual]

Methods used to specify data to simplify.

Reimplemented from SoSimplifier.

virtual SoNode* SoDecimator::simplify ( float   )  [virtual]

Performs the simplification on the shapes and builds the simplified node.

Implements SoSimplifier.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 3 Nov 2020
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/