NASA World Wind

gov.nasa.worldwind.render.markers
Class BasicMarkerShape.CompoundShape

java.lang.Object
  extended by gov.nasa.worldwind.render.markers.BasicMarkerShape.CompoundShape
All Implemented Interfaces:
Disposable, MarkerShape
Enclosing class:
BasicMarkerShape

protected static class BasicMarkerShape.CompoundShape
extends Object
implements MarkerShape, Disposable


Field Summary
protected  String name
           
protected  double offset
           
protected  ArrayList<MarkerShape> shapes
           
protected  String shapeType
           
 
Constructor Summary
BasicMarkerShape.CompoundShape(String shapeType, String name, MarkerShape shape1, MarkerShape shape2)
           
BasicMarkerShape.CompoundShape(String shapeType, String name, MarkerShape shape1, MarkerShape shape2, double offset)
           
 
Method Summary
 void dispose()
          Disposes of any internal resources allocated by the object.
 String getName()
           
 String getShapeType()
           
 void render(DrawContext dc, Marker marker, Vec4 point, double radius)
           
 void render(DrawContext dc, Marker marker, Vec4 point, double radius, boolean isRelative)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

offset

protected double offset

shapes

protected ArrayList<MarkerShape> shapes

shapeType

protected String shapeType
Constructor Detail

BasicMarkerShape.CompoundShape

public BasicMarkerShape.CompoundShape(String shapeType,
                                      String name,
                                      MarkerShape shape1,
                                      MarkerShape shape2)

BasicMarkerShape.CompoundShape

public BasicMarkerShape.CompoundShape(String shapeType,
                                      String name,
                                      MarkerShape shape1,
                                      MarkerShape shape2,
                                      double offset)
Method Detail

dispose

public void dispose()
Description copied from interface: Disposable
Disposes of any internal resources allocated by the object.

Specified by:
dispose in interface Disposable

getName

public String getName()

getShapeType

public String getShapeType()
Specified by:
getShapeType in interface MarkerShape

render

public void render(DrawContext dc,
                   Marker marker,
                   Vec4 point,
                   double radius)
Specified by:
render in interface MarkerShape

render

public void render(DrawContext dc,
                   Marker marker,
                   Vec4 point,
                   double radius,
                   boolean isRelative)
Specified by:
render in interface MarkerShape

NASA World Wind