|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OutlinedShape
Defines the interface for the multi-pass rendering technique implemented by DrawContext.drawOutlinedShape(OutlinedShape, Object) that renders outlines around filled shapes correctly and
resolves depth-buffer fighting between the shape being drawn and those previously drawn. The methods of this
interface are called by the draw context during the multi-pass rendering.
| Method Summary | |
|---|---|
void |
drawInterior(DrawContext dc,
Object shape)
Draws the shape's filled faces. |
void |
drawOutline(DrawContext dc,
Object shape)
Draws the shape's outline. |
Double |
getDepthOffsetFactor(DrawContext dc,
Object shape)
Returns the depth-offset factor. |
Double |
getDepthOffsetUnits(DrawContext dc,
Object shape)
Returns the depth-offset units. |
boolean |
isDrawInterior(DrawContext dc,
Object shape)
Indicates whether the shape's faces are drawn. |
boolean |
isDrawOutline(DrawContext dc,
Object shape)
Indicates whether the shape's outline is drawn. |
boolean |
isEnableDepthOffset(DrawContext dc,
Object shape)
Indicates whether the shape's depth should be adjusted to give its filled faces priority over coincident items previously drawn. |
| Method Detail |
|---|
void drawInterior(DrawContext dc,
Object shape)
dc - the current draw context.shape - the shape being drawn.
void drawOutline(DrawContext dc,
Object shape)
dc - the current draw context.shape - the shape being drawn.
Double getDepthOffsetFactor(DrawContext dc,
Object shape)
getDepthOffsetUnits(DrawContext, Object).
dc - the current draw context.shape - the shape being drawn.
Double getDepthOffsetUnits(DrawContext dc,
Object shape)
getDepthOffsetFactor(DrawContext, Object).
dc - the current draw context.shape - the shape being drawn.
boolean isDrawInterior(DrawContext dc,
Object shape)
dc - the current draw context.shape - the shape being drawn.
boolean isDrawOutline(DrawContext dc,
Object shape)
dc - the current draw context.shape - the shape being drawn.
boolean isEnableDepthOffset(DrawContext dc,
Object shape)
dc - the current draw context.shape - the shape being drawn.
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||