public class Lod extends AbstractObject implements Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected List<AbstractObject> |
lodObjectExtension
|
protected List<Object> |
lodSimpleExtension |
protected double |
maxFadeExtent
|
protected double |
maxLodPixels
|
protected double |
minFadeExtent
|
protected double |
minLodPixels
|
id, objectSimpleExtension, targetId| Constructor and Description |
|---|
Lod() |
| Modifier and Type | Method and Description |
|---|---|
Lod |
addToLodObjectExtension(AbstractObject lodObjectExtension)
add a value to the lodObjectExtension property collection
|
Lod |
addToLodSimpleExtension(Object lodSimpleExtension)
add a value to the lodSimpleExtension property collection
|
Lod |
addToObjectSimpleExtension(Object objectSimpleExtension)
add a value to the objectSimpleExtension property collection
|
Lod |
clone() |
boolean |
equals(Object obj) |
List<AbstractObject> |
getLodObjectExtension() |
List<Object> |
getLodSimpleExtension() |
double |
getMaxFadeExtent() |
double |
getMaxLodPixels() |
double |
getMinFadeExtent() |
double |
getMinLodPixels() |
int |
hashCode() |
void |
setLodObjectExtension(List<AbstractObject> lodObjectExtension) |
void |
setLodSimpleExtension(List<Object> lodSimpleExtension) |
void |
setMaxFadeExtent(double value) |
void |
setMaxLodPixels(double value) |
void |
setMinFadeExtent(double value) |
void |
setMinLodPixels(double value) |
void |
setObjectSimpleExtension(List<Object> objectSimpleExtension) |
Lod |
withId(String id)
fluent setter
|
Lod |
withLodObjectExtension(List<AbstractObject> lodObjectExtension)
fluent setter
|
Lod |
withLodSimpleExtension(List<Object> lodSimpleExtension)
fluent setter
|
Lod |
withMaxFadeExtent(double maxFadeExtent)
fluent setter
|
Lod |
withMaxLodPixels(double maxLodPixels)
fluent setter
|
Lod |
withMinFadeExtent(double minFadeExtent)
fluent setter
|
Lod |
withMinLodPixels(double minLodPixels)
fluent setter
|
Lod |
withObjectSimpleExtension(List<Object> objectSimpleExtension)
fluent setter
|
Lod |
withTargetId(String targetId)
fluent setter
|
getId, getObjectSimpleExtension, getTargetId, setId, setTargetIdprotected double minLodPixels
Measurement in screen pixels that represents the minimum limit of the visibility
range for a given Region. Google Earth calculates the size of the Region when projected
onto screen space. Then it computes the square root of the Region's area (if, for
example, the Region is square and the viewpoint is directly above the Region, and
the Region is not tilted, this measurement is equal to the width of the projected
Region). If this measurement falls within the limits defined by
protected double maxLodPixels
Measurement in screen pixels that represents the maximum limit of the visibility range for a given Region. A value of −1, the default, indicates "active to infinite size."
protected double minFadeExtent
Distance over which the geometry fades, from fully opaque to fully transparent. This ramp value, expressed in screen pixels, is applied at the minimum end of the LOD (visibility) limits.
protected double maxFadeExtent
Distance over which the geometry fades, from fully transparent to fully opaque. This ramp value, expressed in screen pixels, is applied at the maximum end of the LOD (visibility) limits.
In the following diagram, if P=the calculated projected pixel size, the circled numbers indicate the following: if (P < minLodPixels) opacity=0 //#1 in diagram else if(P < minLodPixels + minFadeExtent) opacity=(P - minLodPixels)/minFadeExtent //#2 in diagram else if (P < maxLodPixels - maxFadeExtent) opacity=1 //#3 in diagram else if (P < maxLodPixels) opacity=(maxLodPixels-P)/maxFadeExtent //#4 in diagram else opacity=0 //#5 in diagram
protected List<AbstractObject> lodObjectExtension
public double getMinLodPixels()
DoubleminLodPixelspublic void setMinLodPixels(double value)
value - allowed object is
DoubleminLodPixelspublic double getMaxLodPixels()
DoublemaxLodPixelspublic void setMaxLodPixels(double value)
value - allowed object is
DoublemaxLodPixelspublic double getMinFadeExtent()
DoubleminFadeExtentpublic void setMinFadeExtent(double value)
value - allowed object is
DoubleminFadeExtentpublic double getMaxFadeExtent()
DoublemaxFadeExtentpublic void setMaxFadeExtent(double value)
value - allowed object is
DoublemaxFadeExtentpublic List<AbstractObject> getLodObjectExtension()
lodObjectExtensionpublic int hashCode()
hashCode in class AbstractObjectpublic boolean equals(Object obj)
equals in class AbstractObjectpublic void setLodSimpleExtension(List<Object> lodSimpleExtension)
lodSimpleExtension - lodSimpleExtensionpublic Lod addToLodSimpleExtension(Object lodSimpleExtension)
lodSimpleExtension - Objects of the following type are allowed in the list: Objectpublic void setLodObjectExtension(List<AbstractObject> lodObjectExtension)
lodObjectExtension - lodObjectExtensionpublic Lod addToLodObjectExtension(AbstractObject lodObjectExtension)
lodObjectExtension - Objects of the following type are allowed in the list: AbstractObjectpublic void setObjectSimpleExtension(List<Object> objectSimpleExtension)
setObjectSimpleExtension in class AbstractObjectobjectSimpleExtensionpublic Lod addToObjectSimpleExtension(Object objectSimpleExtension)
AbstractObjectaddToObjectSimpleExtension in class AbstractObjectobjectSimpleExtension - Objects of the following type are allowed in the list: Objectpublic Lod withMinLodPixels(double minLodPixels)
minLodPixels - required parametersetMinLodPixels(double)public Lod withMaxLodPixels(double maxLodPixels)
maxLodPixels - required parametersetMaxLodPixels(double)public Lod withMinFadeExtent(double minFadeExtent)
minFadeExtent - required parametersetMinFadeExtent(double)public Lod withMaxFadeExtent(double maxFadeExtent)
maxFadeExtent - required parametersetMaxFadeExtent(double)public Lod withLodSimpleExtension(List<Object> lodSimpleExtension)
lodSimpleExtension - required parameter#setLodSimpleExtension(Listpublic Lod withLodObjectExtension(List<AbstractObject> lodObjectExtension)
lodObjectExtension - required parameter#setLodObjectExtension(List) public Lod withObjectSimpleExtension(List<Object> objectSimpleExtension)
AbstractObjectwithObjectSimpleExtension in class AbstractObjectobjectSimpleExtension - required parameter#setObjectSimpleExtension(Listpublic Lod withId(String id)
AbstractObjectwithId in class AbstractObjectid - required parameterAbstractObject.setId(String)public Lod withTargetId(String targetId)
AbstractObjectwithTargetId in class AbstractObjecttargetId - required parameterAbstractObject.setTargetId(String)public Lod clone()
clone in class AbstractObjectCopyright © 2014 Micromata GmbH. All rights reserved.