Class SurfacePlot2

  • All Implemented Interfaces:
    ImageObserver, MenuContainer, Serializable, Accessible, PickAndClickProcessable

    public class SurfacePlot2
    extends ExtendedPlot3D
    Description : A 3D surface plot extending freehep's abstract plot builder, alternative to freehep's SurfacePlot. Characteristics : 2D section plane can be shown as a transparent square parallel to the XY basis and default value zone plane can be added, as a empty square with dashed lines, parallel to the Y axis. It can switch between two geometries, one with the surface, the other just with points to accelerate rendering when parameters are continuously changed, ex with sliders. Based on SurfacePlot class from freehep j3DPlot library
    See Also:
    Serialized Form
    • Field Detail

      • initial_defaultzonevalue

        public float initial_defaultzonevalue
      • writeimg_

        public boolean writeimg_
    • Constructor Detail

      • SurfacePlot2

        public SurfacePlot2()
      • SurfacePlot2

        public SurfacePlot2​(String[] Axislabels)
    • Method Detail

      • setAxes

        public void setAxes​(String[] Axislabels)
      • setupLights

        protected void setupLights​(javax.media.j3d.BranchGroup root)
        Overrides:
        setupLights in class ExtendedPlot3D
      • enableExtraLights

        protected void enableExtraLights​(boolean enable)
      • addDefaultValueIndicator

        public void addDefaultValueIndicator​(double min_value)
      • getXAxisLabel

        public String getXAxisLabel()
      • setXAxisLabel

        public void setXAxisLabel​(String s)
      • getYAxisLabel

        public String getYAxisLabel()
      • setYAxisLabel

        public void setYAxisLabel​(String s)
      • getZAxisLabel

        public String getZAxisLabel()
      • setZAxisLabel

        public void setZAxisLabel​(String s)
      • createPlot

        protected javax.media.j3d.Node createPlot()
        Specified by:
        createPlot in class org.freehep.j3d.plot.Plot3D
      • setDrawSurface

        public void setDrawSurface​(boolean b)
      • setDefaultzoneCoordinates

        public void setDefaultzoneCoordinates​(float defautZoneLevel)
      • setSectionCoordinates

        public void setSectionCoordinates​(float sectionLevel,
                                          int whichXorYaxis)
      • setSectionVisible

        public void setSectionVisible​(boolean setVisible)
      • isSectionVisible

        public boolean isSectionVisible()
      • setPickCapability

        public void setPickCapability()
      • processIntersection

        public void processIntersection​(com.sun.j3d.utils.picking.PickResult result)
      • processNoIntersection

        public void processNoIntersection()
      • processLeftClick

        public void processLeftClick​(com.sun.j3d.utils.picking.PickResult result)
      • processRightClick

        public void processRightClick​(com.sun.j3d.utils.picking.PickResult result)
      • processCenterClick

        public void processCenterClick​(com.sun.j3d.utils.picking.PickResult result)
      • processLeftDoubleClick

        public void processLeftDoubleClick​(com.sun.j3d.utils.picking.PickResult result)
      • getPickIntersectionPoint

        public javax.vecmath.Point3f getPickIntersectionPoint​(com.sun.j3d.utils.picking.PickResult result)