类 GraphicCollection3D
- java.lang.Object
-
- org.meteoinfo.geometry.graphic.Artist
-
- org.meteoinfo.geometry.graphic.Graphic
-
- org.meteoinfo.geometry.graphic.GraphicCollection
-
- org.meteoinfo.geometry.graphic.GraphicCollection3D
-
- 所有已实现的接口:
Iterator
public class GraphicCollection3D extends GraphicCollection
- 作者:
- Yaqiang Wang
-
-
字段概要
字段 修饰符和类型 字段 说明 protected booleanallConvexPolygonprotected booleanallQuadsprotected booleanallTriangleprotected booleansphereprotected booleanusingLight-
从类继承的字段 org.meteoinfo.geometry.graphic.GraphicCollection
avoidCollision, extent, graphics, index, labelPoints, labelSet, legendBreak, legendScheme, singleLegend
-
-
构造器概要
构造器 构造器 说明 GraphicCollection3D()Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<Number>getSEPoint()Get start and end points [xstart, ystart, xend, yend]StringgetZDir()Get z direction - x, y or zdoublegetZValue()Get fixed z valuebooleanis3D()Get if is 3DbooleanisAllConvexPolygon()Get is all convex polygon or notbooleanisAllQuads()Get is all quads or notbooleanisAllTriangle()Get is all triangle or notbooleanisFixZ()Get if is fixed z graphicsbooleanisSphere()Get is render point as sphere or notbooleanisUsingLight()Get using light or notGraphicCollection3DrandomShift(int exponent)X or Y random shiftvoidsaveFile(String fileName)Save to filevoidsetAllConvexPolygon(boolean value)Set is all convex polygon or notvoidsetAllQuads(boolean value)Set is all quads or notvoidsetAllTriangle(boolean value)Set is all triangle or notvoidsetFixZ(boolean value)Set if is fixed z graphicsvoidsetLegendScheme(LegendScheme value)Set legend schemevoidsetSEPoint(List<Number> value)Set start and end pointsvoidsetSphere(boolean value)Set is render point as sphere or notvoidsetUsingLight(boolean value)Set using light or notvoidsetZDir(String value)Set z direction - x, y or zvoidsetZValue(double value)Set fixed z valuevoidupdateLegendScheme(LegendScheme value)Update legend schemeGraphicCollection3DxRandomShift(int exponent)X random shiftGraphicCollection3DxShift(double xs)X coordinate shiftGraphicCollection3DyRandomShift(int exponent)Y random shift-
从类继承的方法 org.meteoinfo.geometry.graphic.GraphicCollection
add, add, addAll, addLabel, addLabels, addLabelsByColor, addLabelsContourDynamic, clear, clip, contains, get, getArrowZoom, getExtent, getGraphicN, getGraphics, getLabel, getLabelPoints, getLabelSet, getLegend, getLegendBreak, getLegendScheme, getNumGraphics, getShape, getShape, getShapes, getShapeType, hasNext, indexOf, isAvoidCollision, isCollection, isEmpty, isSingleLegend, join, moveLabel, moveLabel, next, remove, remove, removeAll, removeLabels, selectGraphics, setAvoidCollision, setExtent, setGraphicN, setGraphics, setLabelPoints, setLabelSet, setLegendBreak, setSingleLegend, size, updateExtent, xShiftCopy
-
从类继承的方法 org.meteoinfo.geometry.graphic.Graphic
addLegend, addShape, doTransform, exportToXML, getClipGraphic, getClipPath, getHandle, getResizeAbility, getTransform, importFromXML, isClip, loadLegend, loadShape, setClipGraphic, setClipPath, setClipPath, setHandle, setLegend, setShape, setTransform, verticeAddUpdate, verticeMoveUpdate, verticeRemoveUpdate
-
从类继承的方法 org.meteoinfo.geometry.graphic.Artist
isAntiAlias, isVisible, setAntiAlias, setVisible
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 java.util.Iterator
forEachRemaining, remove
-
-
-
-
方法详细资料
-
setLegendScheme
public void setLegendScheme(LegendScheme value)
Set legend scheme- 覆盖:
setLegendScheme在类中GraphicCollection- 参数:
value- Legend scheme
-
is3D
public boolean is3D()
Get if is 3D- 覆盖:
is3D在类中GraphicCollection- 返回:
- Boolean
-
isFixZ
public boolean isFixZ()
Get if is fixed z graphics- 返回:
- Boolean
-
setFixZ
public void setFixZ(boolean value)
Set if is fixed z graphics- 参数:
value- Boolean
-
getZValue
public double getZValue()
Get fixed z value- 返回:
- Fixed z value
-
setZValue
public void setZValue(double value)
Set fixed z value- 参数:
value- Fixed z value
-
getZDir
public String getZDir()
Get z direction - x, y or z- 返回:
- Z direction
-
setZDir
public void setZDir(String value)
Set z direction - x, y or z- 参数:
value- Z direction
-
getSEPoint
public List<Number> getSEPoint()
Get start and end points [xstart, ystart, xend, yend]- 返回:
- Start and end points
-
setSEPoint
public void setSEPoint(List<Number> value)
Set start and end points- 参数:
value- Start and end points
-
isAllQuads
public boolean isAllQuads()
Get is all quads or not- 返回:
- All quads or not
-
setAllQuads
public void setAllQuads(boolean value)
Set is all quads or not- 参数:
value- All quads or not
-
isAllTriangle
public boolean isAllTriangle()
Get is all triangle or not- 返回:
- All triangle or not
-
setAllTriangle
public void setAllTriangle(boolean value)
Set is all triangle or not- 参数:
value- All triangle or not
-
isAllConvexPolygon
public boolean isAllConvexPolygon()
Get is all convex polygon or not- 返回:
- All convex polygon or not
-
setAllConvexPolygon
public void setAllConvexPolygon(boolean value)
Set is all convex polygon or not- 参数:
value- All convex polygon or not
-
isUsingLight
public boolean isUsingLight()
Get using light or not- 返回:
- Boolean
-
setUsingLight
public void setUsingLight(boolean value)
Set using light or not- 参数:
value- Boolean
-
isSphere
public boolean isSphere()
Get is render point as sphere or not- 返回:
- Render point as sphere or not
-
setSphere
public void setSphere(boolean value)
Set is render point as sphere or not- 参数:
value- Render point as sphere or not
-
updateLegendScheme
public void updateLegendScheme(LegendScheme value)
Update legend scheme- 参数:
value- Legend scheme
-
xShift
public GraphicCollection3D xShift(double xs)
X coordinate shift- 覆盖:
xShift在类中GraphicCollection- 参数:
xs- X shift value- 返回:
- Shifted result
-
xRandomShift
public GraphicCollection3D xRandomShift(int exponent)
X random shift- 参数:
exponent- Exponent- 返回:
- Shifted result
-
yRandomShift
public GraphicCollection3D yRandomShift(int exponent)
Y random shift- 参数:
exponent- Exponent- 返回:
- Shifted result
-
randomShift
public GraphicCollection3D randomShift(int exponent)
X or Y random shift- 参数:
exponent- Exponent- 返回:
- Shifted result
-
saveFile
public void saveFile(String fileName) throws IOException
Save to file- 参数:
fileName- The file name- 抛出:
IOException
-
-