Class PoChart

    • Field Detail

      • colorBinding

        public final SoSFEnum<PoChart.ColorBindings> colorBinding
        Specify how the colors are bound to the representation. INHERITED: The entire representation is colored with the same inherited color whatever values of the fields colorValuesIndex and material.

        PER_VERTEX: Each vertex of the representation is colored with a different color from the field material or colorValuesIndex.

        PER_PART: Each part of the representation is colored with a different color from the field material or colorValuesIndex.

        The interpretation of colorBinding is retailed in the derived classes. If not enough colors is provided, they are circular used.

      • yValuesIndex

        public final SoSFInt32 yValuesIndex
        Defines the index of the set of values used by a charting representation as a y-coordinate of each mesh node.
      • colorValuesIndex

        public final SoSFInt32 colorValuesIndex
        Defines the index of the set of values for the coloring. If colorValuesIndex = -1, (the colorValuesIndex is called undefined) the charting representation is colored with only one color which is inherited. If colorValuesIndex >= 0, the representation is colored relating to values of the specified set, and relating to the color binding method defined by the field colorBinding. If the field material is different from NULL and not ignored (cf setIgnored method of SoField class), this is the field material which is used for coloring.
      • material

        public final SoSFNode material
        Defines the list of materials used for the coloring. The representation is colored relating to the color binding method defined by the field colorBinding. If this field is ignored (cf setIgnored method of SoField class) or NULL, this is the field colorValuesIndex (if this one is also ignored, the color will be inherited) which is used for coloring.