visad
Class ContourLabelGeometry

java.lang.Object
  extended by visad.VisADSceneGraphObject
      extended by visad.VisADGeometryArray
          extended by visad.ContourLabelGeometry
All Implemented Interfaces:
Serializable, Cloneable

public class ContourLabelGeometry
extends VisADGeometryArray
implements Cloneable

VisADGeometryArray stands in for j3d.GeometryArray and is Serializable.

See Also:
Serialized Form

Field Summary
 VisADLineArray expSegLeft
           
 VisADLineArray expSegRight
           
 boolean isStyled
           
 VisADGeometryArray label
           
 VisADLineArray labelAnchor
           
 VisADLineArray segLeftAnchor
           
 float[] segLeftScaleInfo
           
 VisADLineArray segRightAnchor
           
 float[] segRightScaleInfo
           
 
Fields inherited from class visad.VisADGeometryArray
colors, coordinates, normals, texCoords, vertexCount, vertexFormat
 
Constructor Summary
ContourLabelGeometry(VisADGeometryArray label, VisADLineArray labelAnchor, VisADLineArray expSegLeft, VisADLineArray segLeftAnchor, float[] segLeftScaleInfo, VisADLineArray expSegRight, VisADLineArray segRightAnchor, float[] segRightScaleInfo)
           
 
Method Summary
 ContourLabelGeometry adjustLongitude(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 points
 ContourLabelGeometry adjustSeam(DataRenderer renderer)
          eliminate any vectors or triangles crossing seams of map projections, defined by display-side CoordinateSystems; this default implementation does nothing
 Object clone()
           
 ContourLabelGeometry removeMissing()
           
 
Methods inherited from class visad.VisADGeometryArray
adjustLongitudeBulk, copy, toString
 
Methods inherited from class visad.VisADSceneGraphObject
detach
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

label

public VisADGeometryArray label

labelAnchor

public VisADLineArray labelAnchor

expSegLeft

public VisADLineArray expSegLeft

segLeftAnchor

public VisADLineArray segLeftAnchor

segLeftScaleInfo

public float[] segLeftScaleInfo

expSegRight

public VisADLineArray expSegRight

segRightAnchor

public VisADLineArray segRightAnchor

segRightScaleInfo

public float[] segRightScaleInfo

isStyled

public boolean isStyled
Constructor Detail

ContourLabelGeometry

public ContourLabelGeometry(VisADGeometryArray label,
                            VisADLineArray labelAnchor,
                            VisADLineArray expSegLeft,
                            VisADLineArray segLeftAnchor,
                            float[] segLeftScaleInfo,
                            VisADLineArray expSegRight,
                            VisADLineArray segRightAnchor,
                            float[] segRightScaleInfo)
Method Detail

adjustSeam

public ContourLabelGeometry 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

Overrides:
adjustSeam in class VisADGeometryArray
Throws:
VisADException

adjustLongitude

public ContourLabelGeometry 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

Overrides:
adjustLongitude in class VisADGeometryArray
Throws:
VisADException

removeMissing

public ContourLabelGeometry removeMissing()
Overrides:
removeMissing in class VisADGeometryArray

clone

public Object clone()
Specified by:
clone in class VisADGeometryArray