public class LoftedPolyInfo extends BaseInfo
Modifier and Type | Field and Description |
---|---|
static int |
LoftedPolyPriorityDefault |
disposeAfterUse, nativeHandle
Constructor and Description |
---|
LoftedPolyInfo()
Construct the lofted polyg info with default values.
|
Modifier and Type | Method and Description |
---|---|
void |
finalize() |
void |
setBase(double base)
If present, we'll start the lofted poly at this height.
|
void |
setCenter(Point2d center)
All geometry is centered around this point already.
|
protected void |
setColor(float r,
float g,
float b,
float a) |
void |
setColor(int color)
Color we'll use for the lofted polygons.
|
void |
setGridSize(double gridSize)
The size of the grid (in radians) we'll use to chop up the vector features to make them
follow the sphere (for a globe).
|
void |
setHeight(double height)
Height of the top of the lofted polygon in display units.
|
void |
setOutline(boolean outline)
If set, this will draw an outline around the top of the lofted poly in lines.
|
void |
setOutlineBottom(boolean outlineBottom)
If set, this will draw an outline around the bottom of the lofted poly in lines.
|
protected void |
setOutlineColor(float r,
float g,
float b,
float a)
If the outline is on this is the outline's color.
|
void |
setOutlineColor(int color)
If the outline is one this is the outline's color
|
void |
setOutlineDrawPriority(int drawPriority)
Draw priority of the lines created for the lofted poly outline.
|
void |
setOutlineSide(boolean outlineSide)
If set and we're drawing an outline, this will create lines up the sides.
|
void |
setOutlineWidth(double width)
This is the outline's width if it's turned on.
|
void |
setSide(boolean side)
If on we'll create geometry for the sides.
|
void |
setTop(boolean top)
If on we'll create the geometry for the top.
|
void |
setUseCenter(boolean useCenter)
The system can calculate a center and use that.
|
getDrawOffset, getDrawPriority, getEnable, getFadeIn, getFadeOut, getFadeOutTime, getShaderID, getViewDistRangeMax, getViewDistRangeMin, getViewerCenter, getVisibleHeightMax, getVisibleHeightMin, setDrawOffset, setDrawPriority, setEnable, setEnableTimes, setFade, setFadeInOut, setFadeOutTime, setMaxVis, setMinVis, setRenderTarget, setShader, setShaderID, setViewDistRange, setViewerCenter, setVisibleHeightRange, setZBufferRead, setZBufferWrite
public LoftedPolyInfo()
public void finalize()
finalize
in class java.lang.Object
public void setHeight(double height)
public void setBase(double base)
public void setTop(boolean top)
public void setSide(boolean side)
public void setOutline(boolean outline)
public void setOutlineSide(boolean outlineSide)
public void setOutlineBottom(boolean outlineBottom)
public void setOutlineDrawPriority(int drawPriority)
public void setColor(int color)
protected void setColor(float r, float g, float b, float a)
public void setOutlineColor(int color)
color
- protected void setOutlineColor(float r, float g, float b, float a)
public void setOutlineWidth(double width)
public void setCenter(Point2d center)
public void setUseCenter(boolean useCenter)
public void setGridSize(double gridSize)