Documentation API of the 'jhplot.HView3D' Java class
HView3D
jhplot

Class HView3D

    • Field Detail

      • set

        public boolean set
    • Constructor Detail

      • HView3D

        public HView3D(String title,               int xsize,               int ysize,               int n1,               int n2,               boolean set)
        Create a HView3D canvas with several plots showing 3D shapes
        Parameters:
        title - Title
        xsize - size in x direction
        ysize - size in y direction
        n1 - number of plots/graphs in x
        n2 - number of plots/graphs in y
        set - set or not the graph
      • HView3D

        public HView3D(String title,               int xs,               int ys)
        Construct a HView3D canvas with a single plot/graph
        Parameters:
        title - Title for the canvas
        xs - size in x
        ys - size in y
      • HView3D

        public HView3D(String title,               int xs,               int ys,               boolean set)
        Construct a HView3D canvas with a single plot/graph
        Parameters:
        title - Title for the canvas
        xs - size in x
        ys - size in y
        set - set or not the graph (boolean)
      • HView3D

        public HView3D(String title,               int xs,               int ys,               int n1,               int n2)
        Construct a HView3D canvas with plots/graphs
        Parameters:
        title - Title for the canvas
        xs - size in x
        ys - size in y
        n1 - number of plots/graphs in x
        n2 - number of plots/graphs in y
      • HView3D

        public HView3D(String title)
        Construct a HGraph canvas with a plot with the default parameters 600 by 400, and 10% space for the global title
        Parameters:
        title - Title
      • HView3D

        public HView3D()
        Construct a HGraph canvas with a plot with the default parameters 600 by 400, and 10% space for the global title "Default"
    • Method Detail

      • visible

        public void visible(boolean vs)
        Set the canvas frame visible or not
        Parameters:
        vs - (boolean) true: visible, false: not visible
      • visible

        public void visible()
        Set the canvas frame visible
      • destroy

        public void destroy()
        Destroy the canvas frame
      • update

        public void update(int n1,                   int n2)
        Refresh only a particular plot
        Parameters:
        n1 - the location of the plot in x
        n2 - the location of the plot in y
      • update

        public void update()
        Just update the current plot selected using cd() method
      • updateAll

        public void updateAll()
        Refresh all the plots on the same canvas HPLOT
      • setZoomIn

        public void setZoomIn(double zoom)
        Zoom in the current plot.
        Parameters:
        zoom - current zoom. =1 : no zoom, =1.1 : 10% zoom
      • setZoomOut

        public void setZoomOut(double zoom)
        Zoom out the current plot.
        Parameters:
        zoom - current zoom. Set to 1 for no zoom. 1.1 means 10% zoom etc.
      • setMove

        public void setMove(double x,                    double y,                    double z)
        Move the current plot
        Parameters:
        x - in X
        y - in Y
        z - in Z
      • setRotate

        public void setRotate(double x,                      double y,                      double z)
        Rotate the current plot
        Parameters:
        x - around X
        y - around Y
        z - around Z
      • getModel

        public Model3d getModel()
        Get the current model to build a object.
        Returns:
        current model.
      • draw

        public void draw(Object3d object)
        Draw an object.
        Parameters:
        object - Object to be drawn
      • clear

        public void clear()
        Clear the current graph including graph settings. Note: the current graph is set by the cd() method
      • clear

        public void clear(int i1,                  int i2)
        Clear the graph characterized by an index in X and Y. This method cleans the data and all graph settings.
        Parameters:
        i1 - location of the graph in X
        i2 - location of the graph in Y
      • clearAll

        public void clearAll()
        Clear all graphs from data and settings.
      • close

        public void close()
        Close the canvas (and dispose all components) Note: a memory leak is found - no time to study it. set to null all the stuff
      • quit

        public void quit()
      • doc

        public void doc()
        Show online documentation.

DMelt 1.2 © DataMelt by jWork.ORG

HView3D
jhplot

Class HView3D

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.