Class PoBar

  • All Implemented Interfaces:
    SafeDisposable
    Direct Known Subclasses:
    PoConicBar, PoCylindricalBar, PoGeneralizedBar, PoLinearBar, PoProfileBar

    public class PoBar
    extends PoChart
    Abstract base class for bar representations. This is the abstract base class for building bars 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 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.
    • Field Detail

      • threshold

        public final SoSFFloat threshold
        Defines the threshold of the origin of the bars. This value is either an ordinate (VERTICAL orientation) or an abscissas (HORIZONTAL orientation).