public class IlvFlyThroughStyle extends IlvPolylineStyle
Modifier and Type | Field and Description |
---|---|
static String |
HEIGHT
The height attribute name.
|
static String |
SPEED
The speed attribute name.
|
BACKGROUND, DECORATION, DECORATION_ONLY, DECORATION_PAINT, END_CAP, FOREGROUND, LINE_JOIN, LINE_STYLE, LINE_WIDTH, STROKE
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 |
---|
IlvFlyThroughStyle()
Constructs a
IlvFlyThroughStyle . |
IlvFlyThroughStyle(IlvFlyThroughStyle source)
Constructor by copy
|
IlvFlyThroughStyle(IlvInputStream stream)
Reads an
Ilv3DViewBoundsStyle from an IlvInputStream . |
Modifier and Type | Method and Description |
---|---|
IlvMapStyle |
copy()
Creates a copy of the style.
|
double |
getAltitude()
Retrieve the
HEIGHT attribute value. |
double |
getSpeed()
Retrieve the
SPEED attribute value. |
void |
setAltitude(double v)
Sets the
HEIGHT attribute value. |
void |
setSpeed(double v)
Sets the
SPEED attribute value. |
void |
write(IlvOutputStream stream)
Write a
Ilv3DViewBoundsStyle on a IlvOutputStream |
equals, getBackground, getDecoration, getDecorationPaint, getEndCap, getForeground, getLineJoin, getLineStyle, getLineWidth, getStroke, hashCode, isDecorationOnly, setBackground, setDecoration, setDecorationOnly, setDecorationPaint, setEndCap, setForeground, setLineJoin, setLineStyle, setLineWidth, setStroke
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 SPEED
public static final String HEIGHT
public IlvFlyThroughStyle()
IlvFlyThroughStyle
.public IlvFlyThroughStyle(IlvInputStream stream) throws IlvReadFileException
Ilv3DViewBoundsStyle
from an IlvInputStream
.stream
- The stream to read from.IlvReadFileException
public IlvFlyThroughStyle(IlvFlyThroughStyle source)
source
- The source style to copypublic void write(IlvOutputStream stream) throws IOException
Ilv3DViewBoundsStyle
on a IlvOutputStream
write
in interface IlvPersistentObject
write
in class IlvPolylineStyle
stream
- The stream to write to.IOException
public IlvMapStyle copy()
copy
in class IlvPolylineStyle
IlvRasterStyle
IlvMapStyle.copy()
public double getSpeed()
SPEED
attribute value.SPEED
attribute value.public void setSpeed(double v)
SPEED
attribute value.v
- The SPEED
attribute value in meters per second.public double getAltitude()
HEIGHT
attribute value.HEIGHT
attribute value.public void setAltitude(double v)
HEIGHT
attribute value.v
- The HEIGHT
attribute value in meters.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.