1 #ifndef COIN_SOTOVRMLACTION_H
2 #define COIN_SOTOVRMLACTION_H
27 #include <Inventor/actions/SoAction.h>
28 #include <Inventor/actions/SoSubAction.h>
44 virtual void apply(
const SoPathList & pathlist, SbBool obeysrules = FALSE);
46 SoNode * getVRMLSceneGraph(
void)
const;
48 void expandSoFile(SbBool flag);
49 SbBool areSoFileExpanded(
void)
const;
51 void setUrlName(
const SbString name);
54 void writeTexCoords(SbBool flag);
55 SbBool areTexCoordWritten(
void)
const;
57 void expandTexture2Node(SbBool flag);
58 SbBool areTexture2NodeExpanded(
void)
const;
60 void keepUnknownNodes(SbBool flag);
61 SbBool areUnknownNodeKept(
void)
const;
63 void convertInlineNodes(SbBool flag);
64 SbBool doConvertInlineNodes(
void)
const;
66 void conditionalConversion(SbBool flag);
67 SbBool doConditionalConversion(
void)
const;
69 void setVerbosity(SbBool flag);
70 SbBool isVerbose(
void)
const;
76 class SoToVRMLActionP * pimpl;
77 friend class SoToVRMLActionP;
80 #endif // !COIN_SOTOVRMLACTION_H
SoSFInt32 whichChoice
Definition: SoVRMLSwitch.h:54
SoMFInt32 normalIndex
Definition: SoIndexedShape.h:44
The SoIndexedLineSet class is used to render and otherwise represent indexed lines.
Definition: SoIndexedLineSet.h:34
SoSFFloat shininess
Definition: SoVRMLMaterial.h:47
Response
Definition: SoCallbackAction.h:85
SoSFBool side
Definition: SoVRMLCylinder.h:43
SoMFInt32 normalIndex
Definition: SoVRMLIndexedShape.h:41
int getNum(void) const
Definition: SoMField.h:86
The SoCube class is for rendering cubes.
Definition: SoCube.h:33
const SbVec3f & getNormal(void) const
Definition: SoPrimitiveVertex.cpp:100
SoSFFloat radius
Definition: SoSphere.h:40
SoSFFloat height
Definition: SoCone.h:49
The SbName class stores strings by reference.
Definition: SbName.h:31
@ PER_FACE_INDEXED
Definition: SoMaterialBinding.h:45
The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition: SbVec2f.h:36
virtual void apply(SoNode *root)
Definition: SoAction.cpp:476
SoSFBool colorPerVertex
Definition: SoVRMLVertexShape.h:51
SoMFColor specularColor
Definition: SoMaterial.h:45
SoSFNode color
Definition: SoVRMLVertexPoint.h:42
SoSFBitMask parts
Definition: SoCone.h:47
virtual void apply(SoNode *node)
Definition: SoToVRMLAction.cpp:331
const SbVec3f & getPoint(void) const
Definition: SoPrimitiveVertex.cpp:91
Part
Definition: SoCylinder.h:41
The SoVRMLNavigationInfo class is used to specify avatar and viewer settings.
Definition: SoVRMLNavigationInfo.h:36
The SoVRMLElevationGrid class is used to represent elevation grids.
Definition: SoVRMLElevationGrid.h:41
The SoVRMLSphere class is used to represent a spherical 3D object.
Definition: SoVRMLSphere.h:31
The SoIndexedFaceSet class is used to handle generic indexed facesets.
Definition: SoIndexedFaceSet.h:36
The SoNormal class is a node for providing normals to the state.
Definition: SoNormal.h:33
SoMFVec2f point
Definition: SoVRMLTextureCoordinate.h:40
The SoVRMLText class is used to represent text in a scene.
Definition: SoVRMLText.h:36
SoSFFloat radius
Definition: SoCylinder.h:48
The SoVRMLSphereSensor class maps pointer motion into rotations on a sphere.
Definition: SoVRMLSphereSensor.h:34
The SoVRMLTextureTransform class defines a transformation applied to texture coordinates.
Definition: SoVRMLTextureTransform.h:34
The SoVRMLCylinder class is used to represent a cylinder object.
Definition: SoVRMLCylinder.h:32
void truncate(const int length)
Definition: SoBaseList.cpp:156
The SoVRMLBox class is used for representing a 3D box.
Definition: SoVRMLBox.h:31
@ COUNTERCLOCKWISE
Definition: SoShapeHints.h:44
SoMFVec3f vector
Definition: SoVRMLNormal.h:40
int getMaterialIndex(void) const
Definition: SoPrimitiveVertex.cpp:119
SoMFInt32 coordIndex
Definition: SoIndexedShape.h:42
The SoVRMLInline class is used to insert VRML files into a scene.
Definition: SoVRMLInline.h:44
SoSFNode color
Definition: SoVRMLVertexLine.h:41
SoSFBool bottom
Definition: SoVRMLCone.h:44
virtual void beginTraversal(SoNode *node)
Definition: SoAction.cpp:1208
int addPoint(const SbVec3f &pt, void *const userdata=NULL)
Definition: SbBSPTree.cpp:426
virtual SbName getName(void) const
Definition: SoBase.cpp:730
The SoVRMLPointSet class is used to represent a set of 3D points.
Definition: SoVRMLPointSet.h:31
SoSFNode coord
Definition: SoVRMLVertexPoint.h:41
SoSFFloat height
Definition: SoVRMLCylinder.h:42
The SoLOD class is used to choose a child based distance between viewer and object.
Definition: SoLOD.h:34
SoSFImage image
Definition: SoTexture2.h:60
The SoMaterialBinding class is a node for setting up how materials are mapped to shapes.
Definition: SoMaterialBinding.h:31
The SoVRMLAnchor class is used for linking to other URL resources.
Definition: SoVRMLAnchor.h:38
The SoVRMLVisibilitySensor class will generate events based on visibility.
Definition: SoVRMLVisibilitySensor.h:33
SoSFBool colorPerVertex
Definition: SoVRMLVertexLine.h:42
The SoSearchAction class provides methods for searching through scene graphs.
Definition: SoSearchAction.h:32
The SoCylinder class is for rendering cylinder shapes.
Definition: SoCylinder.h:32
SoSFFloat depth
Definition: SoCube.h:44
SoSFBool convex
Definition: SoVRMLIndexedFaceSet.h:48
SoSFFloat creaseAngle
Definition: SoVRMLElevationGrid.h:52
The SoAction class is the base class for all traversal actions.
Definition: SoAction.h:67
The SoVRMLViewpoint class is a perspective camera class.
Definition: SoVRMLViewpoint.h:38
The SoFullPath class allows examination of hidden children in paths.
Definition: SoFullPath.h:29
SoMFVec3f point
Definition: SoCoordinate3.h:39
The SoVRMLCylinderSensor class maps pointer motion into rotations around the Y axis.
Definition: SoVRMLCylinderSensor.h:32
The SoSwitch class is a group node which selects one child subgraph for traversal.
Definition: SoSwitch.h:37
int numPoints() const
Definition: SbBSPTree.cpp:365
The SoNormalBinding class is a node for specifying normal vector bindings.
Definition: SoNormalBinding.h:31
SoSFInt32 whichChild
Definition: SoSwitch.h:47
SoSFString filename
Definition: SoTexture2.h:59
SoSFFloat transparency
Definition: SoVRMLMaterial.h:48
const SbVec3f * getPointsArrayPtr() const
Definition: SbBSPTree.cpp:543
virtual void addChild(SoNode *node)
Definition: SoGroup.cpp:393
SoSFFloat creaseAngle
Definition: SoVRMLIndexedFaceSet.h:49
The SoPathList class is a container for pointers to SoPath objects.
Definition: SoPathList.h:31
The SoVRMLTimeSensor class is a multi-purpose time event generator.
Definition: SoVRMLTimeSensor.h:36
The SbString class is a string class with convenience functions for string operations.
Definition: SbString.h:42
SoNode * getTail(void) const
Definition: SoFullPath.cpp:74
The SoVRMLColorInterpolator class is used to interpolate color values.
Definition: SoVRMLColorInterpolator.h:34
SoSFFloat ambientIntensity
Definition: SoVRMLMaterial.h:44
static SbBool isSearchingChildren(void)
Definition: SoBaseKit.cpp:1527
SoMFVec2f point
Definition: SoTextureCoordinate2.h:39
@ SOLID
Definition: SoShapeHints.h:49
SoSFBitMask parts
Definition: SoCylinder.h:50
SoSFBool solid
Definition: SoVRMLElevationGrid.h:51
const int32_t * getValues(const int start) const
Definition: SoMFInt32.h:33
SoMFColor ambientColor
Definition: SoMaterial.h:43
@ CLOCKWISE
Definition: SoShapeHints.h:43
SoSFFloat width
Definition: SoCube.h:42
SoSFEnum value
Definition: SoNormalBinding.h:55
The SoVRMLNormal class is used to bind normals to geometry.
Definition: SoVRMLNormal.h:31
The SbVec2s class is a 2 dimensional vector with short integer coordinates.
Definition: SbVec2s.h:37
SoSFColor emissiveColor
Definition: SoVRMLMaterial.h:46
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: SoToVRMLAction.cpp:355
const SbColor * getValues(const int start) const
Definition: SoMFColor.h:34
@ UNKNOWN_FACE_TYPE
Definition: SoShapeHints.h:53
The SoVRMLWorldInfo class contains information about the VRML scene.
Definition: SoVRMLWorldInfo.h:32
SoSFBool ccw
Definition: SoVRMLElevationGrid.h:50
The SoVRMLBackground class is used for specifying a viewer panorama.
Definition: SoVRMLBackground.h:36
The SoType class is the basis for the run-time type system in Coin.
Definition: SoType.h:50
The SoVRMLMaterial class is used to assign a material to geometry.
Definition: SoVRMLMaterial.h:34
const char * getString(void) const
Definition: SbName.cpp:278
SoMFFloat range
Definition: SoVRMLLOD.h:45
The SoVRMLExtrusion class is a a geometry node for extruding a cross section along a spine.
Definition: SoVRMLExtrusion.h:35
The SoPointSet class is used to display a set of 3D points.
Definition: SoPointSet.h:31
const SbVec3f * getValues(const int start) const
Definition: SoMFVec3f.h:34
SoMFFloat shininess
Definition: SoMaterial.h:47
SoSFFloat radius
Definition: SoVRMLSphere.h:40
SoMFColor color
Definition: SoVRMLColor.h:42
SoSFEnum vertexOrdering
Definition: SoShapeHints.h:57
SoSFBool bottom
Definition: SoVRMLCylinder.h:45
The SoTexture2 class is used to map a 2D texture onto subsequent geometry in the scenegraph.
Definition: SoTexture2.h:38
The SoVRMLLOD class is used to represent various levels of detail based on distance.
Definition: SoVRMLLOD.h:35
SoSFFloat bottomRadius
Definition: SoVRMLCone.h:41
The SoVRMLAudioClip class is used to load and store audio data.
Definition: SoVRMLAudioClip.h:39
Part
Definition: SoCone.h:41
The SoPrimitiveVertex class represents a single vertex of a generated primitive.
Definition: SoPrimitiveVertex.h:33
The SbColor class contains the red, green and blue components which make up a color value.
Definition: SbColor.h:30
The SbBSPTree class provides a binary space partitioning container.
Definition: SbBSPTree.h:45
const unsigned char * getValue(SbVec2s &size, int &nc) const
Definition: SoSFImage.cpp:322
The SoInfo class is a node for holding text information.
Definition: SoInfo.h:30
The SoVRMLCone class is used to represent a Cone object.
Definition: SoVRMLCone.h:32
@ UNKNOWN_SHAPE_TYPE
Definition: SoShapeHints.h:48
SoMFInt32 coordIndex
Definition: SoVRMLIndexedShape.h:39
SoSFNode normal
Definition: SoVRMLVertexShape.h:49
SoSFEnum value
Definition: SoMaterialBinding.h:55
The SoVRMLSound class is used to represent a sound source.
Definition: SoVRMLSound.h:37
The SoVRMLImageTexture class is used for mapping a texture file onto geometry.
Definition: SoVRMLImageTexture.h:39
The SoVRMLFog class is used to specify a global scene fog.
Definition: SoVRMLFog.h:36
void ref(void) const
Definition: SoBase.cpp:574
SoSFEnum shapeType
Definition: SoShapeHints.h:58
static void setSearchingChildren(const SbBool newval)
Definition: SoBaseKit.cpp:1537
The SoVRMLCoordinateInterpolator class is used to interpolate 3D coordinates.
Definition: SoVRMLCoordinateInterpolator.h:33
virtual ~SoToVRMLAction()
Definition: SoToVRMLAction.cpp:317
SoSFEnum faceType
Definition: SoShapeHints.h:59
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:37
The SoVRMLSpotLight class defines a spot light source.
Definition: SoVRMLSpotLight.h:32
The SoVRMLIndexedLineSet class is used to represent a generic 3D line shape.
Definition: SoVRMLIndexedLineSet.h:35
SoSFNode coord
Definition: SoVRMLVertexLine.h:40
SoSFFloat radius
Definition: SoVRMLCylinder.h:41
The SoVRMLGroup class is used for grouping VRML nodes.
Definition: SoVRMLGroup.h:35
SoSFString string
Definition: SoInfo.h:39
SoMFInt32 textureCoordIndex
Definition: SoIndexedShape.h:45
const float * getValues(const int start) const
Definition: SoMFFloat.h:33
@ CONTINUE
Definition: SoCallbackAction.h:85
The SoVRMLDirectionalLight class is a node type for specifying directional light sources.
Definition: SoVRMLDirectionalLight.h:31
SoSFBool side
Definition: SoVRMLCone.h:43
SbString & sprintf(const char *formatstr,...)
Definition: SbString.h:105
SoSFVec3f size
Definition: SoVRMLBox.h:40
The SoCallbackAction class invokes callbacks at specific nodes.
Definition: SoCallbackAction.h:70
@ PER_VERTEX_INDEXED
Definition: SoMaterialBinding.h:47
The SoSphere class is for rendering sphere shapes.
Definition: SoSphere.h:31
SoMFVec3f point
Definition: SoVRMLCoordinate.h:41
SoMFInt32 colorIndex
Definition: SoVRMLIndexedShape.h:40
SoMFColor emissiveColor
Definition: SoMaterial.h:46
SoSFBool normalPerVertex
Definition: SoVRMLVertexShape.h:52
The SoVRMLSwitch class is a group node for traversing selected children.
Definition: SoVRMLSwitch.h:43
The SoTextureCoordinate2 class contains a set of coordinates for the mapping of 2D textures.
Definition: SoTextureCoordinate2.h:30
virtual SoType getTypeId(void) const =0
SoSFFloat bottomRadius
Definition: SoCone.h:48
The SoVRMLTextureCoordinate class binds texture coordinates to vertex-based geometry.
Definition: SoVRMLTextureCoordinate.h:31
SoMFInt32 materialIndex
Definition: SoIndexedShape.h:43
The SoCone class is for rendering cone shapes.
Definition: SoCone.h:32
SoSFNode color
Definition: SoVRMLElevationGrid.h:60
SoSFBool ccw
Definition: SoVRMLIndexedFaceSet.h:46
@ CONVEX
Definition: SoShapeHints.h:54
SoSFBool solid
Definition: SoVRMLIndexedFaceSet.h:47
SoToVRMLAction(void)
Definition: SoToVRMLAction.cpp:233
The SoVRMLPointLight class is used to represent a point light.
Definition: SoVRMLPointLight.h:32
The SoVRMLNormalInterpolator class is used to interpolate normals.
Definition: SoVRMLNormalInterpolator.h:33
static void initClass(void)
Definition: SoAction.cpp:392
The SoSeparator class is a state-preserving group node.
Definition: SoSeparator.h:34
SoSFBool top
Definition: SoVRMLCylinder.h:44
SoMFInt32 texCoordIndex
Definition: SoVRMLIndexedShape.h:42
The SoVRMLTouchSensor class tracks to pointer position and sends events based on user interaction.
Definition: SoVRMLTouchSensor.h:33
The SoVRMLProximitySensor class is used to generate events when the viewer enters or exits a region.
Definition: SoVRMLProximitySensor.h:34
SoSFNode coord
Definition: SoVRMLVertexShape.h:47
void setNum(const int num)
Definition: SoMField.cpp:615
The SoToVRMLAction class builds a new scene graph using only VRML 1.0 nodes.
Definition: SoToVRMLAction.h:31
The SoVRMLPositionInterpolator class is used to interpolate 3D points.
Definition: SoVRMLPositionInterpolator.h:35
The SoNodeList class is a container for pointers to SoNode objects.
Definition: SoNodeList.h:31
void setValue(const SbVec2s &size, const int nc, const unsigned char *pixels, CopyPolicy copypolicy=COPY)
Definition: SoSFImage.cpp:362
SoSFFloat creaseAngle
Definition: SoShapeHints.h:60
virtual SoNode * getChild(int index) const
Definition: SoGroup.cpp:257
SbBool isOfType(SoType type) const
Definition: SoBase.cpp:710
SoMFFloat transparency
Definition: SoMaterial.h:48
The SoMaterial class is a node type for setting up material values for scene geometry.
Definition: SoMaterial.h:34
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:47
The SoVRMLMovieTexture class is used the map movies onto geometry.
Definition: SoVRMLMovieTexture.h:36
virtual int getNumChildren(void) const
Definition: SoGroup.cpp:271
SoSFVec3f center
Definition: SoLOD.h:46
SoMFColor diffuseColor
Definition: SoMaterial.h:44
SbName getName(void) const
Definition: SoType.cpp:628
The SoVRMLColor class is used to specify multiple colors for a single shape.
Definition: SoVRMLColor.h:33
The SoVRMLPixelTexture class is used for mapping a texture image onto geometry..
Definition: SoVRMLPixelTexture.h:33
SoSFColor specularColor
Definition: SoVRMLMaterial.h:45
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:33
const SbVec2f * getValues(const int start) const
Definition: SoMFVec2f.h:34
SoSFFloat height
Definition: SoVRMLCone.h:42
The SoShapeHints class is a node containing hints about how to render geometry.
Definition: SoShapeHints.h:32
The SoVRMLScript class is used to control the scene using scripts.
Definition: SoVRMLScript.h:37
@ PER_FACE
Definition: SoMaterialBinding.h:44
The SoVRMLFontStyle class is used to define the current font.
Definition: SoVRMLFontStyle.h:41
SoSFNode color
Definition: SoVRMLVertexShape.h:50
SoSFVec3f center
Definition: SoVRMLLOD.h:46
static SoNode * getByName(const SbName &name)
Definition: SoNode.cpp:729
The SoVRMLCoordinate class is used to define 3D coordinates for shapes.
Definition: SoVRMLCoordinate.h:32
The SoCoordinate3 class is a node for providing coordinates to shape nodes.
Definition: SoCoordinate3.h:30
SoMFFloat range
Definition: SoLOD.h:45
SoSFFloat height
Definition: SoCube.h:43
SoSFFloat height
Definition: SoCylinder.h:49
SoSFColor diffuseColor
Definition: SoVRMLMaterial.h:43
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:37
The SoVRMLScalarInterpolator class is used to interpolate scalar values.
Definition: SoVRMLScalarInterpolator.h:32
virtual void setName(const SbName &newname)
Definition: SoBase.cpp:763
SoMFVec3f vector
Definition: SoNormal.h:42
const SbVec4f & getTextureCoords(void) const
Definition: SoPrimitiveVertex.cpp:109
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Jul 24 2019 for Coin by Doxygen. 1.8.17