public class SoToVRML2Action extends SoToVRMLAction
<font color="#0000FF">NOTE:</font> This class does not exist in Open Inventor 10.0 and later.
During the conversion process, a temporary intermediate copy of the scene graph may be created. If your input scene graph is large, the three copies of the scene graph (initial, intermediate, and final) may use a lot of memory.
There is not always an exact match between Open Inventor items and VRML 2.0 items. Some Open Inventor items, for example, 2D text (SoText2
) do not exist in VRML 2.0 and will not be converted. Other items may be converted, but with subtle differences in behavior.
Texture Modeling : 3- and 4-component textures work differently in Open Inventor and VRML 2.0. In Open Inventor, by default, the texture color is multiplied by the material surface color ("modulate" mode). In VRML 2.0, a texture's RGB colors and transparency replace the material's current diffuse color and transparency (like "decal" mode). For example, if an object is red with a colored texture, in Open Inventor, the red would affect the appearance of the object. Once converted to VRML 2.0, the object would display the colors of the texture, without any influence of the red.
Texture Coordinates : Open Inventor and VRML 2.0 handle texture coordinates differently. If your scene graph uses texture coordinates for precise application of a texture to a shape, the visual results may be different after conversion to VRML 2.0.
See also:
SoAction
, SoToVRMLActionDeprecated since Open Inventor 9500
The VRML API is no longer supported. See section
SoAction.AppliedCodes, SoAction.DistribModes, SoAction.PathCodes, SoAction.PathIndices
Inventor.ConstructorCommand
ALL, BELOW_PATH, CLUSTER_ONLY, IN_PATH, LOCAL_ONLY, NO_PATH, NODE, OFF_PATH, PATH, PATH_LIST
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoToVRML2Action()
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
areTextureNodeExpanded()
Deprecated.
|
boolean |
doReuseAppearanceNodes()
Deprecated.
Returns whether shared materials should be organized into shared appearance nodes in the new scene graph.
|
boolean |
doReuseGeometryNodes()
Deprecated.
Returns whether shared geometry nodes should be shared in the new scene graph.
|
boolean |
doReusePropertyNodes()
Deprecated.
Returns whether shared properties should be organized into shared nodes in the new scene graph.
|
static void |
enableElement(java.lang.Class<? extends Inventor> t,
int stkIndex)
Deprecated.
|
void |
expandTexture2Node(boolean e)
Deprecated.
Sets whether to bring the contents of texture files into the new scene graph , or to leave them as references to files.
|
SoVRMLGroup |
getVRML2SceneGraph()
Deprecated.
Returns result as VRML 2.0 scene graph.
|
void |
reuseAppearanceNodes(boolean appearance)
Deprecated.
Sets whether shared materials should be organized into shared appearance nodes in the new scene graph.
|
void |
reuseGeometryNodes(boolean geometry)
Deprecated.
Sets whether shared geometry nodes should be shared in the new scene graph.
|
void |
reusePropertyNodes(boolean property)
Deprecated.
Sets whether shared properties should be organized into shared nodes in the new scene graph.
|
areSoFileExpanded, areTexCoordWritten, areTexture2NodeExpanded, areUnknownNodeKept, conditionalConversion, convertInlineNodes, doConditionalConversion, doConvertInlineNodes, expandSoFile, getUrlName, getVRMLSceneGraph, keepUnknownNodes, setUrlName, writeTexCoords
apply, apply, clearApplyResult, forwardTraversal, getContinueActionInBranchFlag, getCurPath, getNodeAppliedTo, getOriginalPathListAppliedTo, getPathAppliedTo, getPathCode, getPathListAppliedTo, getPipeId, getSceneManager, getState, getWhatAppliedTo, hasTerminated, invalidateState, isBeingApplied, isLastPathListAppliedTo, isUsingAlternateRep, nullAction, postDelayedTraversal, preDelayedTraversal, resetContinueActionInBranchFlag, setPipeId, setSceneManager, setUpState, stopActionInBranch, traverse, useAlternateRep
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public void reuseAppearanceNodes(boolean appearance)
public static void enableElement(java.lang.Class<? extends Inventor> t, int stkIndex)
public void reusePropertyNodes(boolean property)
public boolean doReusePropertyNodes()
public SoVRMLGroup getVRML2SceneGraph()
public boolean doReuseAppearanceNodes()
public void reuseGeometryNodes(boolean geometry)
public boolean areTextureNodeExpanded()
public boolean doReuseGeometryNodes()
public void expandTexture2Node(boolean e)
SoToVRMLAction
expandTexture2Node
in class SoToVRMLAction
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com