类 VolumeGraphics
- java.lang.Object
-
- org.meteoinfo.geometry.graphic.Graphic
-
- org.meteoinfo.geometry.graphic.GraphicCollection
-
- org.meteoinfo.chart.graphic.GraphicCollection3D
-
- org.meteoinfo.chart.graphic.VolumeGraphics
-
- 所有已实现的接口:
java.util.Iterator
public class VolumeGraphics extends GraphicCollection3D
-
-
字段概要
字段 修饰符和类型 字段 说明 static java.nio.Bufferbufferstatic float[]colorRangestatic byte[]colorsstatic float[]opacityLevelsstatic float[]opacityNodes-
从类继承的字段 org.meteoinfo.chart.graphic.GraphicCollection3D
allConvexPolygon, allQuads, allTriangle, usingLight
-
-
构造器概要
构造器 构造器 说明 VolumeGraphics(byte[] data, int width, int height, int depth, byte[] colors)ConstructorVolumeGraphics(org.meteoinfo.ndarray.Array value, org.meteoinfo.common.colors.ColorMap colorMap, double vMin, double vMax)ConstructorVolumeGraphics(org.meteoinfo.ndarray.Array value, org.meteoinfo.geometry.legend.LegendScheme ls)Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 float[]getAabbMax()float[]getAabbMin()intgetColorNum()byte[]getData()Get data arrayintgetDepth()Get depthintgetHeight()Get heightfloat[]getScale()Get scalefloatgetScale(int i)Get scale by indexfloat[]getVertexBufferData()Get vertex buffer datafloat[]getVertexBufferData(Transform transform)intgetWidth()Get widthvoidupdateColors()-
从类继承的方法 org.meteoinfo.chart.graphic.GraphicCollection3D
getSEPoint, getZDir, getZValue, is3D, isAllConvexPolygon, isAllQuads, isAllTriangle, isFixZ, isUsingLight, randomShift, saveFile, setAllConvexPolygon, setAllQuads, setAllTriangle, setFixZ, setSEPoint, setUsingLight, setZDir, setZValue, xRandomShift, xShift, yRandomShift
-
从类继承的方法 org.meteoinfo.geometry.graphic.GraphicCollection
add, add, addAll, addLabel, addLabels, addLabelsContourDynamic, clear, clip, contains, get, getArrowZoom, getExtent, getGraphicN, getGraphics, getLabelPoints, getLabelSet, getLegend, getLegendBreak, getLegendScheme, getNumGraphics, getShapes, getShapeType, hasNext, indexOf, isCollection, isEmpty, isSingleLegend, join, next, remove, remove, removeAll, selectGraphics, setExtent, setGraphics, setLabelPoints, setLabelSet, setLegendBreak, setLegendScheme, setSingleLegend, size, updateExtent
-
从类继承的方法 org.meteoinfo.geometry.graphic.Graphic
addLegend, addShape, exportToXML, getResizeAbility, getShape, importFromXML, loadLegend, loadShape, setLegend, setShape, verticeAddUpdate, verticeMoveUpdate, verticeRemoveUpdate
-
-
-
-
构造器详细资料
-
VolumeGraphics
public VolumeGraphics(byte[] data, int width, int height, int depth, byte[] colors)Constructor- 参数:
data- Byte datawidth- 3D texture widthheight- 3D texture heightdepth- 3D texture depthcolors- Colors byte array
-
VolumeGraphics
public VolumeGraphics(org.meteoinfo.ndarray.Array value, org.meteoinfo.common.colors.ColorMap colorMap, double vMin, double vMax)Constructor- 参数:
value- Value array - 3DcolorMap- Color mapvMin- Minimum valuevMax- Maximum value
-
VolumeGraphics
public VolumeGraphics(org.meteoinfo.ndarray.Array value, org.meteoinfo.geometry.legend.LegendScheme ls)Constructor- 参数:
value- Value array - 3Dls- LegendScheme
-
-
方法详细资料
-
updateColors
public void updateColors()
-
getWidth
public int getWidth()
Get width- 返回:
- Width
-
getHeight
public int getHeight()
Get height- 返回:
- Height
-
getDepth
public int getDepth()
Get depth- 返回:
- Depth
-
getData
public byte[] getData()
Get data array- 返回:
- Data array
-
getScale
public float[] getScale()
Get scale- 返回:
- Scale
-
getScale
public float getScale(int i)
Get scale by index- 参数:
i- Index- 返回:
- Scale
-
getColorNum
public int getColorNum()
-
getAabbMin
public float[] getAabbMin()
-
getAabbMax
public float[] getAabbMax()
-
getVertexBufferData
public float[] getVertexBufferData()
Get vertex buffer data- 返回:
- Vertex buffer data
-
getVertexBufferData
public float[] getVertexBufferData(Transform transform)
-
-