Class PoMeshSkeleton

  • 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. See PoMesh 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 field PoMesh.valuesIndex is defined (and if coloringType != COLOR_INHERITED), the representation is colored by using the current data mapping applied to each mesh node value. (see PoMesh for more explanations about the current data-mapping).

    The vector data of the mesh for this representation is unused.

    File format/default:

    PoMeshSkeleton {

      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>

    • 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.
    • Constructor Detail

      • PoMeshSkeleton

        public PoMeshSkeleton()
        Constructor.