Class ContourAxisBox

  • All Implemented Interfaces:
    IAxis

    public class ContourAxisBox
    extends AxisBox
    An axe box for displaying a contour map that remains on bottom of the box, whatever the box scale is.
    Author:
    Martin Pernollet
    • Field Detail

      • xmin

        protected float xmin
      • xmax

        protected float xmax
      • ymin

        protected float ymin
      • ymax

        protected float ymax
      • zmin

        protected float zmin
      • zmax

        protected float zmax
    • Method Detail

      • setContourMesh

        public void setContourMesh​(ContourMesh contour)
      • rebuildTexture

        protected void rebuildTexture()
      • getDefaultTextureMapping

        protected List<Coord2d> getDefaultTextureMapping()
      • setAxeBox

        protected void setAxeBox​(float xmin,
                                 float xmax,
                                 float ymin,
                                 float ymax,
                                 float zmin,
                                 float zmax)
        Description copied from class: AxisBox
        Set the parameters and data of the AxeBox.
        Overrides:
        setAxeBox in class AxisBox
      • draw

        public void draw​(IPainter painter)
        Description copied from class: AxisBox
        Draws the AxisBox. The camera is used to determine which axis is closest to the ur point ov view, in order to decide for an axis on which to diplay the tick values.
        Specified by:
        draw in interface IAxis
        Overrides:
        draw in class AxisBox