SoReorganizeAction Class Reference
[ActionsLarge Model]

VSG extension Reorganizes the scene graph by grouping shapes with common properties, then groups these shapes in a single shape and runs the simplifier on it. More...

#include <Inventor/actions/SoReorganizeAction.h>

Inheritance diagram for SoReorganizeAction:
SoSimplifyAction SoAction SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoReorganizeAction (SoSimplifier *_simplifier=NULL)
 ~SoReorganizeAction ()
SoSeparatorgetSimplifiedSceneGraph () const
void generateNormals (SbBool g)
SbBool areNormalGenerated () const
void generateTriangleStrips (SbBool g)
SbBool areTriangleStripGenerated () const
void generateTexCoords (SbBool g)
SbBool areTexCoordsGenerated () const
void generateVPNodes (SbBool g)
SbBool areVPNodesGenerated () const
void matchIndexArrays (SbBool g)
SbBool areIndexArraysMatched () const
SoSimplifiergetSimplifier () const

Static Public Member Functions

static SoType getClassTypeId ()
static SoNONUNICODE void startReport (const char *msg)
static void startReport (const SbString &msg)
static void finishReport ()

Detailed Description

VSG extension Reorganizes the scene graph by grouping shapes with common properties, then groups these shapes in a single shape and runs the simplifier on it.

This class reorganizes the scene graph by grouping shapes with common properties, then groups these shapes in a single shape and runs the simplifier on it. If a simplifier is not provided, it creates an indexed triangle strip set from this shape.

In order for shapes to be grouped together, they must:

SEE ALSO

SoAction, SoIndexedTriangleStripSet

See related examples:

InteractiveSimplification


Constructor & Destructor Documentation

SoReorganizeAction::SoReorganizeAction ( SoSimplifier _simplifier = NULL  ) 

Constructor.

SoReorganizeAction::~SoReorganizeAction (  ) 

Destructor.


Member Function Documentation

SbBool SoReorganizeAction::areIndexArraysMatched (  )  const [inline]

Gets whether to try to match index arrays during reorganization.

SbBool SoReorganizeAction::areNormalGenerated (  )  const [inline]

Gets whether normals should be generated during reorganization.

SbBool SoReorganizeAction::areTexCoordsGenerated (  )  const [inline]

Gets whether texture coordinates should be generated during reorganization.

SbBool SoReorganizeAction::areTriangleStripGenerated (  )  const [inline]

Gets whether triangle strips should be generated; if false, IndexedFaceSets are generated.

SbBool SoReorganizeAction::areVPNodesGenerated (  )  const [inline]

Gets whether vertex property nodes should be generated during reorganization.

static void SoReorganizeAction::finishReport (  )  [static]

Ends a report.

"Done" is sent to the console window.

void SoReorganizeAction::generateNormals ( SbBool  g  )  [inline]

Sets whether normals should be generated during reorganization.


Default is TRUE.

void SoReorganizeAction::generateTexCoords ( SbBool  g  )  [inline]

Sets whether texture coordinates should be generated during reorganization.


Default is TRUE.

void SoReorganizeAction::generateTriangleStrips ( SbBool  g  )  [inline]

Sets whether triangle strips should be generated.


Default is TRUE. If false, IndexedFaceSets are generated.

void SoReorganizeAction::generateVPNodes ( SbBool  g  )  [inline]

Sets whether vertex property nodes should be generated during reorganization.


Default is TRUE.

static SoType SoReorganizeAction::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoSimplifyAction.

SoSeparator* SoReorganizeAction::getSimplifiedSceneGraph (  )  const [inline]

Returns result of reorganization as new scene graph.

SoSimplifier* SoReorganizeAction::getSimplifier (  )  const [inline]

Returns the simplifier being used, may be NULL.

virtual SoType SoReorganizeAction::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoSimplifyAction.

void SoReorganizeAction::matchIndexArrays ( SbBool  g  )  [inline]

Sets whether to try to match index arrays during reorganization.


Default is TRUE.

static void SoReorganizeAction::startReport ( const SbString msg  )  [static]

Starts a report.

The specified message is sent to the console window.

static SoNONUNICODE void SoReorganizeAction::startReport ( const char *  msg  )  [static]

Starts a report.

The specified message is sent to the console window.

Non Unicode List:
This function should not be used in a Unicode application.

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

Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/