public class Ilv3DSymbolStyle extends Object implements IlvPersistentObject
Constructor and Description |
---|
Ilv3DSymbolStyle()
Creates a new
Ilv3DSymbolStyle . |
Ilv3DSymbolStyle(IlvInputStream stream)
Creates a new
Ilv3DSymbolStyle . |
Modifier and Type | Method and Description |
---|---|
Color |
getGroundImprintColor()
Returns the ground Imprint line Color.
|
double |
getIconOffsetAbovePoint()
Returns the offset in meters of the icon above the real position.
|
Color |
getPointColor()
Returns the point color.
|
boolean |
isPreciseImage()
Indicates whether or not the number of pixels in the symbol image size
should be doubled.
|
boolean |
isShowGroundImprintLine()
Indicates whether or not ground imprint line is shown.
|
boolean |
isShowSymbolIcon()
Indicates whether or not the symbol icon should be displayed.
|
boolean |
isShowSymbolPoint()
Indicates whether or not symbol point (real position) is shown
|
boolean |
isSymbolsOrdered()
Indicates whether or not symbols should use depth buffer (and can be hidden by terrain).
|
void |
setGroundImprintColor(Color groundImprintColor)
Determines the color of the ground imprint line.
|
void |
setIconOffsetAbovePoint(double iconOffsetAbovePoint)
The icon can be moved above the real symbol position, by defining this
offset.
|
void |
setPointColor(Color pointColor)
Determines the color to use to display points.
|
void |
setPreciseImage(boolean preciseImage)
Determines if the number of pixels in the symbol image size should be doubled.
|
void |
setShowGroundImprintLine(boolean showGroundImprintLine)
Determines whether or not the ground imprint line should be displayed.
|
void |
setShowSymbolIcon(boolean showSymbolIcon)
Determines whether or not the symbol icon should be displayed.
|
void |
setShowSymbolPoint(boolean showSymbolPoint)
Determines whether or not the symbol point (real position) should be displayed.
|
void |
setSymbolsOrdered(boolean symbolsOrdered)
Determines whether or not symbols should use depth buffer (and can be hidden by terrain).
|
void |
write(IlvOutputStream stream)
Writes the attributes of a persistent object.
|
public Ilv3DSymbolStyle()
Ilv3DSymbolStyle
.public Ilv3DSymbolStyle(IlvInputStream stream) throws IlvReadFileException
Ilv3DSymbolStyle
.stream
- stream to read parameters from.IlvReadFileException
public void write(IlvOutputStream stream) throws IOException
write
in interface IlvPersistentObject
stream
- the output streamIOException
- thrown when an exception occurs during
the write operation for this object.IlvPersistentObject.write(ilog.views.io.IlvOutputStream)
public Color getGroundImprintColor()
public double getIconOffsetAbovePoint()
public Color getPointColor()
public boolean isPreciseImage()
public boolean isShowGroundImprintLine()
public boolean isShowSymbolIcon()
public boolean isShowSymbolPoint()
public boolean isSymbolsOrdered()
public void setGroundImprintColor(Color groundImprintColor)
groundImprintColor
- The ground imprint line Color to set.public void setIconOffsetAbovePoint(double iconOffsetAbovePoint)
iconOffsetAbovePoint
- the offset in meters of the icon above the real position.public void setPointColor(Color pointColor)
pointColor
- The point color to set.public void setPreciseImage(boolean preciseImage)
preciseImage
- true to have a more precise symbol icon.public void setShowGroundImprintLine(boolean showGroundImprintLine)
showGroundImprintLine
- true to display the ground imprint line.public void setShowSymbolIcon(boolean showSymbolIcon)
showSymbolIcon
- true to display the symbol icon.public void setShowSymbolPoint(boolean showSymbolPoint)
showSymbolPoint
- true to display the symbol point.public void setSymbolsOrdered(boolean symbolsOrdered)
symbolsOrdered
- True if symbols use the depth buffer.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.