NASA World Wind

gov.nasa.worldwind.render.markers
Class BasicMarkerAttributes

java.lang.Object
  extended by gov.nasa.worldwind.render.markers.BasicMarkerAttributes
All Implemented Interfaces:
MarkerAttributes

public class BasicMarkerAttributes
extends Object
implements MarkerAttributes


Field Summary
protected  double headingScale
           
 
Constructor Summary
BasicMarkerAttributes()
           
BasicMarkerAttributes(BasicMarkerAttributes that)
           
BasicMarkerAttributes(Material material, String shapeType, double opacity)
           
BasicMarkerAttributes(Material material, String shapeType, double opacity, double markerPixels, double minMarkerSize)
           
BasicMarkerAttributes(Material material, String shapeType, double opacity, double markerPixels, double minMarkerSize, double maxMarkerSize)
           
 
Method Summary
 void apply(DrawContext dc)
           
 Material getHeadingMaterial()
           
 double getHeadingScale()
           
 double getMarkerPixels()
           
 Material getMaterial()
           
 double getMaxMarkerSize()
           
 double getMinMarkerSize()
           
 double getOpacity()
           
 MarkerShape getShape(DrawContext dc)
           
 String getShapeType()
           
 void setHeadingMaterial(Material headingMaterial)
           
 void setHeadingScale(double headingScale)
           
 void setMarkerPixels(double markerPixels)
           
 void setMaterial(Material material)
           
 void setMaxMarkerSize(double markerSize)
           
 void setMinMarkerSize(double minMarkerSize)
           
 void setOpacity(double opacity)
           
 void setShapeType(String shapeType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

headingScale

protected double headingScale
Constructor Detail

BasicMarkerAttributes

public BasicMarkerAttributes()

BasicMarkerAttributes

public BasicMarkerAttributes(BasicMarkerAttributes that)

BasicMarkerAttributes

public BasicMarkerAttributes(Material material,
                             String shapeType,
                             double opacity)

BasicMarkerAttributes

public BasicMarkerAttributes(Material material,
                             String shapeType,
                             double opacity,
                             double markerPixels,
                             double minMarkerSize)

BasicMarkerAttributes

public BasicMarkerAttributes(Material material,
                             String shapeType,
                             double opacity,
                             double markerPixels,
                             double minMarkerSize,
                             double maxMarkerSize)
Method Detail

apply

public void apply(DrawContext dc)
Specified by:
apply in interface MarkerAttributes

getHeadingMaterial

public Material getHeadingMaterial()
Specified by:
getHeadingMaterial in interface MarkerAttributes

getHeadingScale

public double getHeadingScale()
Specified by:
getHeadingScale in interface MarkerAttributes

getMarkerPixels

public double getMarkerPixels()
Specified by:
getMarkerPixels in interface MarkerAttributes

getMaterial

public Material getMaterial()
Specified by:
getMaterial in interface MarkerAttributes

getMaxMarkerSize

public double getMaxMarkerSize()
Specified by:
getMaxMarkerSize in interface MarkerAttributes

getMinMarkerSize

public double getMinMarkerSize()
Specified by:
getMinMarkerSize in interface MarkerAttributes

getOpacity

public double getOpacity()
Specified by:
getOpacity in interface MarkerAttributes

getShape

public MarkerShape getShape(DrawContext dc)
Specified by:
getShape in interface MarkerAttributes

getShapeType

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

setHeadingMaterial

public void setHeadingMaterial(Material headingMaterial)
Specified by:
setHeadingMaterial in interface MarkerAttributes

setHeadingScale

public void setHeadingScale(double headingScale)
Specified by:
setHeadingScale in interface MarkerAttributes

setMarkerPixels

public void setMarkerPixels(double markerPixels)
Specified by:
setMarkerPixels in interface MarkerAttributes

setMaterial

public void setMaterial(Material material)
Specified by:
setMaterial in interface MarkerAttributes

setMaxMarkerSize

public void setMaxMarkerSize(double markerSize)
Specified by:
setMaxMarkerSize in interface MarkerAttributes

setMinMarkerSize

public void setMinMarkerSize(double minMarkerSize)
Specified by:
setMinMarkerSize in interface MarkerAttributes

setOpacity

public void setOpacity(double opacity)
Specified by:
setOpacity in interface MarkerAttributes

setShapeType

public void setShapeType(String shapeType)
Specified by:
setShapeType in interface MarkerAttributes

NASA World Wind