类 SurfaceGraphics

  • 所有已实现的接口:
    java.util.Iterator

    public class SurfaceGraphics
    extends GraphicCollection3D
    作者:
    yaqiang
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      int getDim1()
      Get dimension 1
      int getDim2()
      Get dimension 2
      float[] getEdgeRGBA​(int i, int j)
      Get RGBA array of a vertex - edge
      org.meteoinfo.geometry.legend.ColorBreak getLegendBreak​(int i, int j)
      Get legend break of a vertex
      org.meteoinfo.geometry.legend.LegendScheme getLegendScheme()  
      float[] getRGBA​(int i, int j)
      Get RGBA array of a vertex
      org.meteoinfo.geometry.shape.PointZ getVertex​(int i, int j)
      Get vertex
      org.meteoinfo.geometry.shape.PointZ[][] getVertices()
      Get vertices
      boolean isEdgeInterp()
      get if user interpolated coloring for each edge
      boolean isFaceInterp()
      get if user interpolated coloring for each face
      boolean isMesh()
      Get if is mesh
      boolean isMultiColors()
      Check if the legend has multiple colors
      void setEdgeInterp​(boolean value)
      Set if use interpolated coloring for each edge
      void setFaceInterp​(boolean value)
      Set if use interpolated coloring for each face
      void setLegendScheme​(org.meteoinfo.geometry.legend.LegendScheme value)
      Set legend scheme
      void setMesh​(boolean value)
      Set if is mesh
      void setVertices​(org.meteoinfo.geometry.shape.PointZ[][] value)
      Set vertices
      void updateLegendIndex()
      Update legend index
      • 从类继承的方法 org.meteoinfo.geometry.graphic.GraphicCollection

        add, add, addAll, addLabel, addLabels, addLabelsContourDynamic, clear, clip, contains, get, getArrowZoom, getExtent, getGraphicN, getGraphics, getLabelPoints, getLabelSet, getLegend, getLegendBreak, getNumGraphics, getShapes, getShapeType, hasNext, indexOf, isCollection, isEmpty, isSingleLegend, join, next, remove, remove, removeAll, selectGraphics, setExtent, setGraphics, setLabelPoints, setLabelSet, setLegendBreak, setSingleLegend, size, updateExtent
      • 从类继承的方法 org.meteoinfo.geometry.graphic.Graphic

        addLegend, addShape, exportToXML, getResizeAbility, getShape, importFromXML, loadLegend, loadShape, setLegend, setShape, verticeAddUpdate, verticeMoveUpdate, verticeRemoveUpdate
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 从接口继承的方法 java.util.Iterator

        forEachRemaining, remove
    • 构造器详细资料

      • SurfaceGraphics

        public SurfaceGraphics()
        Constructor
    • 方法详细资料

      • getVertices

        public org.meteoinfo.geometry.shape.PointZ[][] getVertices()
        Get vertices
        返回:
      • setVertices

        public void setVertices​(org.meteoinfo.geometry.shape.PointZ[][] value)
        Set vertices
        参数:
        value - Vertices
      • getVertex

        public org.meteoinfo.geometry.shape.PointZ getVertex​(int i,
                                                             int j)
        Get vertex
        参数:
        i - Vertex index i
        j - Vertex index j
        返回:
        Vertex
      • isFaceInterp

        public boolean isFaceInterp()
        get if user interpolated coloring for each face
        返回:
        Boolean
      • setFaceInterp

        public void setFaceInterp​(boolean value)
        Set if use interpolated coloring for each face
        参数:
        value - Boolean
      • isEdgeInterp

        public boolean isEdgeInterp()
        get if user interpolated coloring for each edge
        返回:
        Boolean
      • setEdgeInterp

        public void setEdgeInterp​(boolean value)
        Set if use interpolated coloring for each edge
        参数:
        value - Boolean
      • isMesh

        public boolean isMesh()
        Get if is mesh
        返回:
        Boolean
      • setMesh

        public void setMesh​(boolean value)
        Set if is mesh
        参数:
        value - Boolean
      • getDim1

        public int getDim1()
        Get dimension 1
        返回:
        Dimension 1
      • getDim2

        public int getDim2()
        Get dimension 2
        返回:
        Dimension 2
      • setLegendScheme

        public void setLegendScheme​(org.meteoinfo.geometry.legend.LegendScheme value)
        Set legend scheme
        覆盖:
        setLegendScheme 在类中 org.meteoinfo.geometry.graphic.GraphicCollection
        参数:
        value - Legend scheme
      • isMultiColors

        public boolean isMultiColors()
        Check if the legend has multiple colors
        返回:
        Multiple colors or not
      • updateLegendIndex

        public void updateLegendIndex()
        Update legend index
      • getLegendBreak

        public org.meteoinfo.geometry.legend.ColorBreak getLegendBreak​(int i,
                                                                       int j)
        Get legend break of a vertex
        参数:
        i - Vertex index i
        j - Vertex index j
        返回:
        Legend break
      • getRGBA

        public float[] getRGBA​(int i,
                               int j)
        Get RGBA array of a vertex
        参数:
        i - Vertex index i
        j - Vertex index j
        返回:
        RGBA float array
      • getEdgeRGBA

        public float[] getEdgeRGBA​(int i,
                                   int j)
        Get RGBA array of a vertex - edge
        参数:
        i - Vertex index i
        j - Vertex index j
        返回:
        RGBA float array
      • getLegendScheme

        public org.meteoinfo.geometry.legend.LegendScheme getLegendScheme()
        覆盖:
        getLegendScheme 在类中 org.meteoinfo.geometry.graphic.GraphicCollection