Documentation of 'org.jzy3d.plot3d.rendering.view.IImageViewport' Java class
IImageViewport
org.jzy3d.plot3d.rendering.view

Interface IImageViewport

    • Method Detail

      • render

        void render(com.jogamp.opengl.GL gl,
                    com.jogamp.opengl.glu.GLU glu)
        Renders the picture into the window, according to the viewport settings. If the picture is bigger than the viewport, it is simply centered in it, otherwise, it is scaled in order to fit into the viewport.
        Parameters:
        gl -
        glu -
      • getMinimumSize

        Dimension getMinimumSize()
        Return the minimum size for this graphic.
      • getPreferedSize

        Dimension getPreferedSize()
        Return the prefered size for this graphic.
      • setViewPort

        void setViewPort(int width,
                         int height)
      • setViewPort

        void setViewPort(int width,
                         int height,
                         float left,
                         float right)
        Set the view port (size of the renderer).
        Parameters:
        width - the width of the target window.
        height - the height of the target window.
        left - the width's ratio where this subscreen starts in the target window.
        right - the width's ratio where this subscreen stops in the target window.
        Throws:
        an - IllegalArgumentException if right is not greater than left.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.