visad
Class VisADGeometryArray
- java.lang.Object
-
- visad.VisADSceneGraphObject
-
- visad.VisADGeometryArray
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- ContourLabelGeometry, VisADIndexedTriangleStripArray, VisADLineArray, VisADLineStripArray, VisADPointArray, VisADQuadArray, VisADTriangleArray, VisADTriangleStripArray
public abstract class VisADGeometryArray extends VisADSceneGraphObject implements java.lang.Cloneable
VisADGeometryArray stands in for j3d.GeometryArray and is Serializable.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description byte[]colorsfloat[]coordinatesfloat[]normalsfloat[]texCoordsintvertexCountintvertexFormat
-
Constructor Summary
Constructors Constructor and Description VisADGeometryArray()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description VisADGeometryArrayadjustLongitude(DataRenderer renderer)split any vectors or triangles crossing crossing longitude seams when Longitude is mapped to a Cartesian display axis; default implementation: rotate if necessary, then return pointsVisADGeometryArrayadjustLongitudeBulk(DataRenderer renderer)like adjustLongitude, but rather than splitting vectors or triangles, keep the VisADGeometryArray intact but possibly move it in longitude (try to keep its centroid on the "main" side of the seam)VisADGeometryArrayadjustSeam(DataRenderer renderer)eliminate any vectors or triangles crossing seams of map projections, defined by display-side CoordinateSystems; this default implementation does nothingabstract java.lang.Objectclone()voidcopy(VisADGeometryArray array)VisADGeometryArrayremoveMissing()java.lang.StringtoString()-
Methods inherited from class visad.VisADSceneGraphObject
detach
-
-
-
-
Field Detail
-
vertexCount
public int vertexCount
-
vertexFormat
public int vertexFormat
-
coordinates
public float[] coordinates
-
normals
public float[] normals
-
colors
public byte[] colors
-
texCoords
public float[] texCoords
-
-
Method Detail
-
adjustSeam
public VisADGeometryArray adjustSeam(DataRenderer renderer) throws VisADException
eliminate any vectors or triangles crossing seams of map projections, defined by display-side CoordinateSystems; this default implementation does nothing- Throws:
VisADException
-
adjustLongitudeBulk
public VisADGeometryArray adjustLongitudeBulk(DataRenderer renderer) throws VisADException
like adjustLongitude, but rather than splitting vectors or triangles, keep the VisADGeometryArray intact but possibly move it in longitude (try to keep its centroid on the "main" side of the seam)- Throws:
VisADException
-
adjustLongitude
public VisADGeometryArray adjustLongitude(DataRenderer renderer) throws VisADException
split any vectors or triangles crossing crossing longitude seams when Longitude is mapped to a Cartesian display axis; default implementation: rotate if necessary, then return points- Throws:
VisADException
-
removeMissing
public VisADGeometryArray removeMissing()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
copy
public void copy(VisADGeometryArray array)
-
clone
public abstract java.lang.Object clone()
- Overrides:
clonein classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG