NASA World Wind

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

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

protected static class BasicMarkerShape.Cube
extends BasicMarkerShape.Shape

Cube marker shape. The cube can be oriented using heading, pitch, and roll.


Field Summary
 
Fields inherited from class gov.nasa.worldwind.render.markers.BasicMarkerShape.Shape
applyOrientation, displayListCacheKey, isInitialized, name, quadric, shapeType
 
Constructor Summary
protected BasicMarkerShape.Cube()
           
 
Method Summary
protected  void doRender(DrawContext dc, Marker marker, Vec4 point, double size, int[] dlResource)
           
protected  int drawShape(DrawContext dc, double radius)
           
protected  void initialize(DrawContext dc)
           
 
Methods inherited from class gov.nasa.worldwind.render.markers.BasicMarkerShape.Shape
computeOrientationVector, createDisplayList, dispose, getName, getShapeType, isApplyOrientation, render, render, setApplyOrientation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicMarkerShape.Cube

protected BasicMarkerShape.Cube()
Method Detail

doRender

protected void doRender(DrawContext dc,
                        Marker marker,
                        Vec4 point,
                        double size,
                        int[] dlResource)
Specified by:
doRender in class BasicMarkerShape.Shape

drawShape

protected int drawShape(DrawContext dc,
                        double radius)
Specified by:
drawShape in class BasicMarkerShape.Shape

initialize

protected void initialize(DrawContext dc)
Overrides:
initialize in class BasicMarkerShape.Shape

NASA World Wind