1 #ifndef COIN_SOREORGANIZEACTION_H
2 #define COIN_SOREORGANIZEACTION_H
27 #include <Inventor/actions/SoSimplifyAction.h>
30 class SoReorganizeActionP;
42 static void initClass(
void);
45 void generateNormals(SbBool onoff);
46 SbBool areNormalGenerated(
void)
const;
47 void generateTriangleStrips(SbBool onoff);
48 SbBool areTriangleStripGenerated(
void)
const;
49 void generateTexCoords(SbBool onoff);
50 SbBool areTexCoordsGenerated(
void)
const;
51 void generateVPNodes(SbBool onoff);
52 SbBool areVPNodesGenerated(
void);
53 void matchIndexArrays(SbBool onoff);
54 SbBool areIndexArraysMatched(
void)
const;
55 SoSimplifier * getSimplifier(
void)
const;
59 virtual void apply(
const SoPathList & pathlist, SbBool obeysrules = FALSE);
61 static void startReport(
const char * msg);
62 static void finishReport(
void);
68 SoReorganizeActionP * pimpl;
71 #endif // !COIN_SOREORGANIZEACTION_H
int getLength(void) const
Definition: SbPList.h:94
SoMFInt32 normalIndex
Definition: SoIndexedShape.h:44
The SoIndexedLineSet class is used to render and otherwise represent indexed lines.
Definition: SoIndexedLineSet.h:34
Response
Definition: SoCallbackAction.h:85
SoMFInt32 normalIndex
Definition: SoVRMLIndexedShape.h:41
The SoState class manages the Coin scenegraph traversal state data.
Definition: SoState.h:35
The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition: SbVec2f.h:36
SoSFBool colorPerVertex
Definition: SoVRMLVertexShape.h:51
void push(const int childindex)
Definition: SoPath.h:127
The SoIndexedFaceSet class is used to handle generic indexed facesets.
Definition: SoIndexedFaceSet.h:36
SoMFVec2f point
Definition: SoVRMLTextureCoordinate.h:40
The SbColor4f class contains the red, green, blue and alpha components which make up a color value.
Definition: SbColor4f.h:32
SoMFVec3f vector
Definition: SoVRMLNormal.h:40
SoMFInt32 coordIndex
Definition: SoIndexedShape.h:42
SoSFNode color
Definition: SoVRMLVertexLine.h:41
The SoReorganizeAction class reorganizes your scene graph to optimize traversal/rendering.
Definition: SoReorganizeAction.h:34
SoSFBool colorPerVertex
Definition: SoVRMLVertexLine.h:42
The SoSearchAction class provides methods for searching through scene graphs.
Definition: SoSearchAction.h:32
The SoFullPath class allows examination of hidden children in paths.
Definition: SoFullPath.h:29
virtual void apply(SoNode *root)
Definition: SoReorganizeAction.cpp:468
SoMFVec2f texCoord
Definition: SoVertexProperty.h:54
void pop(void)
Definition: SoFullPath.h:48
SoSFFloat creaseAngle
Definition: SoVRMLIndexedFaceSet.h:49
The SoPathList class is a container for pointers to SoPath objects.
Definition: SoPathList.h:31
SoNode * getTail(void) const
Definition: SoFullPath.cpp:74
SoSFEnum materialBinding
Definition: SoVertexProperty.h:59
The SoVRMLNormal class is used to bind normals to geometry.
Definition: SoVRMLNormal.h:32
SoSFNode texCoord
Definition: SoVRMLVertexShape.h:48
The SoPath class is a container class for traversal path descriptions.
Definition: SoPath.h:43
virtual void beginTraversal(SoNode *node)
Definition: SoSimplifyAction.cpp:64
SoMFUInt32 orderedRGBA
Definition: SoVertexProperty.h:58
Binding
Definition: SoVertexProperty.h:43
const char * getString(void) const
Definition: SbName.cpp:278
SoMFColor color
Definition: SoVRMLColor.h:42
The SoPrimitiveVertex class represents a single vertex of a generated primitive.
Definition: SoPrimitiveVertex.h:33
int getIndexFromTail(const int index) const
Definition: SoFullPath.cpp:96
The SbColor class contains the red, green and blue components which make up a color value.
Definition: SbColor.h:30
SoState * getState(void) const
Definition: SoAction.cpp:1028
The SoSimplifyAction class is the base class for the simplify action classes.
Definition: SoSimplifyAction.h:32
SoMFInt32 coordIndex
Definition: SoVRMLIndexedShape.h:39
SoSFNode normal
Definition: SoVRMLVertexShape.h:49
void ref(void) const
Definition: SoBase.cpp:574
The SoVRMLIndexedLineSet class is used to represent a generic 3D line shape.
Definition: SoVRMLIndexedLineSet.h:36
SoSFNode coord
Definition: SoVRMLVertexLine.h:40
virtual ~SoReorganizeAction(void)
Definition: SoReorganizeAction.cpp:390
virtual void replaceChild(int index, SoNode *newchild)
Definition: SoGroup.cpp:719
SoMFInt32 textureCoordIndex
Definition: SoIndexedShape.h:45
SoMFVec3f normal
Definition: SoVertexProperty.h:56
@ CONTINUE
Definition: SoCallbackAction.h:85
The SoCallbackAction class invokes callbacks at specific nodes.
Definition: SoCallbackAction.h:70
SoNode * getNodeFromTail(const int index) const
Definition: SoFullPath.cpp:85
SoMFVec3f point
Definition: SoVRMLCoordinate.h:41
SoMFInt32 colorIndex
Definition: SoVRMLIndexedShape.h:40
The SbViewportRegion class is a viewport within a full window.
Definition: SbViewportRegion.h:31
SoSFBool normalPerVertex
Definition: SoVRMLVertexShape.h:52
SoMFVec3f vertex
Definition: SoVertexProperty.h:53
virtual void apply(SoNode *root)
Definition: SoSimplifyAction.cpp:70
virtual SoType getTypeId(void) const =0
SoSFNode geometry
Definition: SoVRMLShape.h:49
SoReorganizeAction(SoSimplifier *simplifier=NULL)
Definition: SoReorganizeAction.cpp:380
The SoVertexProperty class collects the functionality of various appearance nodes.
Definition: SoVertexProperty.h:33
The SoVRMLTextureCoordinate class binds texture coordinates to vertex-based geometry.
Definition: SoVRMLTextureCoordinate.h:32
SoMFInt32 materialIndex
Definition: SoIndexedShape.h:43
SoSFBool ccw
Definition: SoVRMLIndexedFaceSet.h:46
SoSFBool solid
Definition: SoVRMLIndexedFaceSet.h:47
virtual void beginTraversal(SoNode *node)
Definition: SoReorganizeAction.cpp:531
The SoSeparator class is a state-preserving group node.
Definition: SoSeparator.h:34
SoMFInt32 texCoordIndex
Definition: SoVRMLIndexedShape.h:42
SoSFNode coord
Definition: SoVRMLVertexShape.h:47
void setNum(const int num)
Definition: SoMField.cpp:615
SbBool isOfType(SoType type) const
Definition: SoBase.cpp:710
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:47
SoSFEnum normalBinding
Definition: SoVertexProperty.h:57
SbName getName(void) const
Definition: SoType.cpp:628
The SoVRMLColor class is used to specify multiple colors for a single shape.
Definition: SoVRMLColor.h:34
The SoGroup class is a node which managed other node instances.
Definition: SoGroup.h:31
The SoVRMLShape class holds geometry and geometry appearance nodes.
Definition: SoVRMLShape.h:34
void unrefNoDelete(void) const
Definition: SoBase.cpp:665
SoSFNode vertexProperty
Definition: SoVertexShape.h:50
SoSFNode color
Definition: SoVRMLVertexShape.h:50
The SoVRMLCoordinate class is used to define 3D coordinates for shapes.
Definition: SoVRMLCoordinate.h:33
The SbVec4f class is a 4 dimensional vector with floating point coordinates.
Definition: SbVec4f.h:34
The SoVRMLIndexedFaceSet class is used for representing a generic 3D shape.
Definition: SoVRMLIndexedFaceSet.h:38
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Mon Jul 27 2020 for Coin by Doxygen. 1.8.18