public class IlvLineOfSightRasterStyle extends IlvGradientRasterStyle
Modifier and Type | Field and Description |
---|---|
static String |
POINTOFVIEWHEIGHT
The POINTOFVIEWHEIGHT attribute name.
|
static String |
POINTOFVIEWLAT
The POINTOFVIEWLAT attribute name.
|
static String |
POINTOFVIEWLON
The POINTOFVIEWLON attribute name.
|
BOUNDS, PRECISION
BRIGHTNESS, COLORMODEL, CONTRAST, reader, SATURATION
ALPHA, ALWAYS_ON_TOP, ATTRIBUTE_INFO, CATEGORY, LABEL_ATTRIBUTE, LEGEND_GROUP, PARENT, THIN_CLIENT_BACKGROUND, VISIBLE_IN_3DVIEW, VISIBLE_IN_OVERVIEW, VISIBLE_IN_TREE, VISIBLE_IN_VIEW
Constructor and Description |
---|
IlvLineOfSightRasterStyle()
Constructs a
IlvLineOfSightRasterStyle . |
IlvLineOfSightRasterStyle(IlvInputStream stream)
Reads an
IlvLineOfSightRasterStyle from an IlvInputStream . |
IlvLineOfSightRasterStyle(IlvLineOfSightRasterStyle source)
Constructor by copy
|
IlvLineOfSightRasterStyle(IlvRasterAbstractReader reader)
Constructs a
IlvLineOfSightRasterStyle for the specified reader. |
Modifier and Type | Method and Description |
---|---|
Rectangle2D |
computePreferredBounds()
Returns the preferred bounds, taking into account center, altitude and earth curvature to compute horizon.
|
IlvMapStyle |
copy()
Creates a copy of the style.
|
double |
getPointOfViewHeight()
Retrieve the
POINTOFVIEWHEIGHT attribute value. |
double |
getPointOfViewLat()
Retrieve the
POINTOFVIEWLAT attribute value. |
double |
getPointOfViewLon()
Retrieve the
POINTOFVIEWLON attribute value. |
void |
setPointOfViewHeight(double c)
Sets the
POINTOFVIEWHEIGHT attribute value. |
void |
setPointOfViewLat(double c)
Sets the
POINTOFVIEWLAT attribute value. |
void |
setPointOfViewLon(double c)
Sets the
POINTOFVIEWLON attribute value. |
void |
write(IlvOutputStream stream)
Write a
IlvLineOfSightRasterStyle on a IlvOutputStream |
getBounds, getPrecision, setBounds, setPrecision
equals, getBrightness, getColorModel, getContrast, getSaturation, hashCode, setBrightness, setColorModel, setContrast, setSaturation, styleChanged, updateReader
addAttributeListener, addChild, addStyleListener, addWeakStyleListener, getAlpha, getAttribute, getAttribute, getAttributeFilter, getAttributeInfo, getAttributeListeners, getCategory, getChildren, getDefaultValues, getGraphic, getLabelAttribute, getLegendGroup, getListeners, getParent, getStyleListeners, isAlwaysOnTop, isInherited, isThinClientBackground, isVisibleIn3DView, isVisibleInOverview, isVisibleInTree, isVisibleInView, objectEquals, removeAttributeListener, removeChild, removeStyleListener, setAlpha, setAlwaysOnTop, setAttribute, setAttributeFilter, setAttributeInfo, setCategory, setGraphic, setInherited, setLabelAttribute, setLegendGroup, setParent, setThinClientBackground, setVisibleIn3DView, setVisibleInOverview, setVisibleInTree, setVisibleInView
public static final String POINTOFVIEWHEIGHT
public static final String POINTOFVIEWLAT
public static final String POINTOFVIEWLON
public IlvLineOfSightRasterStyle()
IlvLineOfSightRasterStyle
.public IlvLineOfSightRasterStyle(IlvRasterAbstractReader reader)
IlvLineOfSightRasterStyle
for the specified reader.reader
- image reader.public IlvLineOfSightRasterStyle(IlvInputStream stream) throws IlvReadFileException
IlvLineOfSightRasterStyle
from an IlvInputStream
.stream
- The stream to read from.IlvReadFileException
public IlvLineOfSightRasterStyle(IlvLineOfSightRasterStyle source)
source
- source style to copypublic IlvMapStyle copy()
copy
in class IlvGradientRasterStyle
IlvLineOfSightRasterStyle
public void write(IlvOutputStream stream) throws IOException
IlvLineOfSightRasterStyle
on a IlvOutputStream
write
in interface IlvPersistentObject
write
in class IlvGradientRasterStyle
stream
- The stream to write to.IOException
IlvMapStyle.write(ilog.views.io.IlvOutputStream)
public double getPointOfViewHeight()
POINTOFVIEWHEIGHT
attribute value.POINTOFVIEWHEIGHT
attribute value.public void setPointOfViewHeight(double c)
POINTOFVIEWHEIGHT
attribute value.c
- The POINTOFVIEWHEIGHT
attribute value.public double getPointOfViewLat()
POINTOFVIEWLAT
attribute value.POINTOFVIEWLAT
attribute value.public void setPointOfViewLat(double c)
POINTOFVIEWLAT
attribute value.c
- The POINTOFVIEWLAT
attribute value.public double getPointOfViewLon()
POINTOFVIEWLON
attribute value.POINTOFVIEWLON
attribute value.public void setPointOfViewLon(double c)
POINTOFVIEWLON
attribute value.c
- The POINTOFVIEWLON
attribute value.public Rectangle2D computePreferredBounds()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.