Class PoCartesianAxis

All Implemented Interfaces:
SafeDisposable
Direct Known Subclasses:
PoGenAxis, PoLinearAxis, PoLogAxis

public class PoCartesianAxis extends PoAxis
Abstract class for cartesian axes. This class handles the start, end, and the type of the cartesian axis.
  • Field Details

    • start

      public final SoSFVec3f start
      Defines the start of the axis.
    • end

      public final SoSFFloat end
      Defines the end of the axis.
    • gradStart

      public final SoSFFloat gradStart
      Defines the value of the graduation (tick label) corresponding to the starting coordinate of this axis. For instance if an horizontal axis start is (5,0,0), the end is 10, the gradStart is -3 and gradEnd is +4, the X coordinates of this horizontal axis are in the range [5, 10], but the text of the displayed graduations are in the range [-3, +4] for linear axis and in the range [10E-3, 10E+4] for logarithmic axis.

      If gradStart and gradEnd are equal, these fields are ignored and the text of the graduations correspond to the coordinates of the axis.

      This field is ignored by PoGenAxis.

      Since:
      Open Inventor 9.5.1

    • gradEnd

      public final SoSFFloat gradEnd
      Defines the value of the graduation (tick label) corresponding to the end coordinate of this axis. See gradStart for details.

      This field is ignored by PoGenAxis.

      Since:
      Open Inventor 9.5.1

    • type

      public final SoSFEnum<PoCartesianAxis.Types> type
      Type of the axis (XY, XZ, YX, ... axis). For instance if the type is XY, it means an X-Axis in the plane XY.
  • Method Details