Class PoMeshSkeleton
- java.lang.Object
-
- All Implemented Interfaces:
SafeDisposable
public class PoMeshSkeleton extends PoMesh3D
Representation of the skeleton of a volume mesh. Class to build a skeleton of the current volume mesh. This skeleton is built by a list of numXContour cross-contours orthogonal to X-axis, a list of numYContour cross-contours orthogonal to Y-axis and a list of numZContour cross-contours orthogonal to Z-axis. SeePoMesh
for more explanations about the current mesh.The distance between 2 consecutive X cross-contours is a constant defined by the X-size of the mesh skin divided by numXContour. This is identical for Y and Z.
If the field
PoMesh.valuesIndex
is not defined (or if coloringType = COLOR_INHERITED), the representation uses only one inherited color. If the fieldPoMesh.valuesIndex
is defined (and if coloringType != COLOR_INHERITED), the representation is colored by using the current data mapping applied to each mesh node value. (seePoMesh
for more explanations about the current data-mapping).The vector data of the mesh for this representation is unused.
File format/default:
numXContour 3 numYContour 3 numZContour 3 valuesIndex -1 coloringType COLOR_INHERITED vecsIndex -1 valuesIndexForCellFilter -1 moduleDataMapping NULL <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <link REL="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"> <title></title> </head> <BODY> <h1></h1> <h4> <A NAME="Heading1064">CATALOG PARTS</A></h4> <ul><b>PoMeshSkeleton</b> {</ul> <ul><ul><b>Separator</b> <tt>alternateRep</tt> (from PoBase) {<br> </ul></ul> <ul><ul><ul><b>AppearanceKit</b> <tt>appearance</tt> (from PoBase)</ul></ul></ul> <ul><ul><ul><i>Specifies the appearance of all the kit. By default lightModel.model=PHONG. material.diffuseColor is set when the kit is rebuilt, if the field coloringType is different from COLOR_INHERITED.</i></ul></ul></ul> <ul><ul><ul><b>MatrixTransform</b> <tt>domainTransform</tt> (from PoBase)</ul></ul></ul> <ul><ul><ul><i>Corresponds to the domain transformation.</i></ul></ul></ul> <ul><ul><ul><ul></ul></ul></ul></ul> <ul><ul><ul><b>Separator</b> <tt>skeletonXContourSep</tt> {</ul></ul></ul> <ul><ul><ul><i>Contains properties and shapes to draw X-contours of the skeleton.</i></ul></ul></ul> <ul><ul><ul><ul><b>AppearanceKit</b> <tt>skeletonXContourApp</tt></ul></ul></ul></ul> <ul><ul><ul><ul><i>Specifies the appearance of the X-contours.</i></ul></ul></ul></ul> <ul><ul><ul><ul><b>Group</b> <tt>skeletonXContourGroup</tt></ul></ul></ul></ul> <ul><ul><ul><ul><i>Contains SoIndexedLineSet shapes to draw the X-contours.</i></ul></ul></ul></ul> <ul><ul><ul>}<br> <br> <b>Separator</b> <tt>skeletonYContourSep</tt> {</ul></ul></ul> <ul><ul><ul><i>Contains properties and shapes to draw Y-contours of the skeleton.</i></ul></ul></ul> <ul><ul><ul><ul><b>AppearanceKit</b> <tt>skeletonYContourApp</tt></ul></ul></ul></ul> <ul><ul><ul><ul><i>Specifies the appearance of the Y-contours.</i></ul></ul></ul></ul> <ul><ul><ul><ul><b>Group</b> <tt>skeletonYContourGroup</tt></ul></ul></ul></ul> <ul><ul><ul><ul><i>Contains SoIndexedLineSet shapes to draw the Y-contours.</i></ul></ul></ul></ul> <ul><ul><ul>}<br> <br> <b>Separator</b> <tt>skeletonZContourSep</tt> {</ul></ul></ul> <ul><ul><ul><i>Contains properties and shapes to draw Z-contours of the skeleton.</i></ul></ul></ul> <ul><ul><ul><ul><b>AppearanceKit</b> <tt>skeletonZContourApp</tt></ul></ul></ul></ul> <ul><ul><ul><ul><i>Specifies the appearance of the Z-contours.</i></ul></ul></ul></ul> <ul><ul><ul><ul><b>Group</b> <tt>skeletonZContourGroup</tt></ul></ul></ul></ul> <ul><ul><ul><ul><i>Contains SoIndexedLineSet shapes to draw the Z-contours.</i></ul></ul></ul></ul> <ul><ul><ul>}<br> </ul></ul></ul> <ul><ul>}</ul></ul> <ul>}<br> <br> </ul> </body> </html>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.meshviz.data.PoMesh
PoMesh.ColoringTypes
-
Nested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoBase
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoSFInt32
numXContour
Number of cross-contours orthogonal to X-axis.SoSFInt32
numYContour
Number of cross-contours orthogonal to Y-axis.SoSFInt32
numZContour
Number of cross-contours orthogonal to Z-axis.-
Fields inherited from class com.openinventor.meshviz.data.PoMesh
coloringType, creaseAngle, moduleDataMapping, smoothTextureContouring, valuesIndex, valuesIndexForCellFilter, vecsIndex
-
Fields inherited from class com.openinventor.inventor.nodekits.SoBaseKit
boundingBoxIgnoring
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description PoMeshSkeleton()
Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SoNodekitCatalog
getClassNodekitCatalog()
Returns theSoNodekitCatalog
for this class.-
Methods inherited from class com.openinventor.meshviz.data.PoMesh
getDataMapping, getIsovaluesList, getModuleDataMapping, setDataMapping, setIsovaluesList, setMesh, setModuleDataMapping
-
Methods inherited from class com.openinventor.meshviz.graph.PoBase
addPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKit
-
Methods inherited from class com.openinventor.inventor.nodekits.SoBaseKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildren
-
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
numXContour
public final SoSFInt32 numXContour
Number of cross-contours orthogonal to X-axis. 3 by default.
-
numYContour
public final SoSFInt32 numYContour
Number of cross-contours orthogonal to Y-axis. 3 by default.
-
numZContour
public final SoSFInt32 numZContour
Number of cross-contours orthogonal to Z-axis. 3 by default.
-
-
Method Detail
-
getClassNodekitCatalog
public static SoNodekitCatalog getClassNodekitCatalog()
Returns theSoNodekitCatalog
for this class.
-
-