Class PoProfileBar

  • All Implemented Interfaces:
    SafeDisposable

    public class PoProfileBar
    extends PoBar
    Class to build profile bars. Build bars defined by a profile (PoProfile) on 1D mesh (PoIrregularMesh1D or PoRegularMesh1D). The orientation of the bars can be horizontal or vertical. The abscissas (ordinates if HORIZONTAL orientation) of the bars are given by the geometry of the current mesh 1D, and the height (width if HORIZONTAL orientation) are given by one of the value-set of the current mesh 1D specified by the field yValuesIndex. A threshold defines the origin of the bars. This value is either an ordinate (VERTICAL orientation) or an abscissas (HORIZONTAL orientation). This class also takes into account of the current mesh 1D hints (PoMesh1DHints) and the current mesh 1D filter (PoMesh1DFilter) to filter the geometry of the current mesh 1D. The shape of the profile is given by the current profile (PoProfile and its derived nodes). The current complexity (SoComplexity) is used to determine the tessellation of the current profile.

    The interpretation of colorBinding is the following :

    • INHERITED: All bars are colored with the same inherited color.
    • PER_PART or PER_VERTEX : A color is used for each bar.

    File format/default:

    PoProfileBar {

      colorBinding INHERITED
      yValuesIndex 0
      colorValuesIndex 1
      material NULL
      orientation VERTICAL
      threshold 0.0
    }

    <html> <head> <link REL="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="GENERATOR" content="Microsoft FrontPage 3.0"> <title></title> </head> <body> <h4><a name="Heading249">CATALOG PARTS</a></h4> <blockquote> <p><b>PoProfileBar</b> {</p> </blockquote> <blockquote> <blockquote> <p><b>Separator</b> <tt>alternateRep</tt> (from PoBase) {</p> </blockquote> <blockquote> <blockquote> <p><b>AppearanceKit</b> <tt>appearance</tt> (from PoBase)</p> </blockquote> </blockquote> <blockquote> <blockquote> <p><i>Specifies the appearance of all the kit. By default lightModel.model=PHONG.</i></p> </blockquote> </blockquote> <blockquote> <blockquote> <p><b>MatrixTransform</b> <tt>domainTransform</tt> (from PoBase)</p> </blockquote> </blockquote> <blockquote> <blockquote> <p><i>Corresponds to the domain transformation.</i></p> <p><b>Group</b> <tt>bar </tt>(from PoBar)</p> </blockquote> </blockquote> <blockquote> <blockquote> <p><i>Contains a list of couple SoMaterial and SoIndexedTriangleStripSet if the field colorBinding is different from INHERITED, a list of SoIndexedTriangleStripSet otherwise.</i></p> </blockquote> <p>}</p> </blockquote> </blockquote> <blockquote> <p>}</p> </blockquote> </body> </html>

    • Constructor Detail

      • PoProfileBar

        public PoProfileBar()
        Constructor.