public class SamplingParams
extends java.lang.Object
Constructor and Description |
---|
SamplingParams() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
void |
finalize() |
CoordSystem |
getCoordSystem()
Return the coordinate system used for the sampling.
|
boolean |
getCoverPoles()
If set, we'll generate geometry to cover the poles on a globe.
|
boolean |
getEdgeMatching()
If set, we'll generate skirt geometry between the edges of tiles.
|
int |
getMaxTiles()
Maximum number of tiles to display at once.
|
int |
getMaxZoom()
Max zoom level for sampling.
|
double |
getMinImportance()
Size of a tile in scren space (pixels^2).
|
double |
getMinImportanceTop()
Normally we always load the lowest level, but this can
be set to a screen importance as in setMinImportance.
|
int |
getMinZoom()
Min zoom level for sampling.
|
boolean |
getSingleLevel()
If set, we'll concentrate on loading a single level of detail,
with restrictions based on the level loads.
|
int |
getTesselationX()
Return the tesselation in X for a single tile.
|
int |
getTesselationY()
Return the tesselation in Y for a single tile
|
void |
setClipBounds(Mbr bounds)
If set, we won't load any tiles outside these boundaries.
|
void |
setCoordSystem(CoordSystem coordSystem)
Set the coordinate system for the model itself
|
protected void |
setCoordSystemNative(CoordSystem coordSystem,
Point3d ll,
Point3d ur) |
void |
setCoverPoles(boolean coverPoles)
If set, we'll generate geometry to cover the poles on a globe.
|
void |
setEdgeMatching(boolean edgeMatching)
If set, we'll generate skirt geometry between the edges of tiles.
|
void |
setForceMinLevel(boolean force)
If set, we'll always make sure the min level is loaded in
to provide some background.
|
void |
setLevelLoads(int[] levels)
Detail the levels you want loaded in target level mode.
|
void |
setMaxTiles(int maxTiles)
Maximum number of tiles to display at once.
|
void |
setMaxZoom(int maxZoom)
Max zoom level for sampling.
|
void |
setMinImportance(double minImport)
Size of a tile in scren space (pixels^2).
|
void |
setMinImportance(double minImport,
int level)
Set the minImportance for a specific level.
|
void |
setMinImportanceTop(double minImportTop)
Normally we always load the lowest level, but this can
be set to a screen importance as in setMinImportance.
|
void |
setMinZoom(int minZoom)
Min zoom level for sampling.
|
void |
setSingleLevel(boolean singleLevel)
If set, we'll concentrate on loading a single level of detail,
with restrictions based on the level loads.
|
void |
setTesselation(int tessX,
int tessY)
Each tile will be tesselated into a given number of X and Y grid
points.
|
public void setCoordSystem(CoordSystem coordSystem)
protected void setCoordSystemNative(CoordSystem coordSystem, Point3d ll, Point3d ur)
public CoordSystem getCoordSystem()
public void setMinZoom(int minZoom)
public int getMinZoom()
public void setMaxZoom(int maxZoom)
public int getMaxZoom()
public void setMaxTiles(int maxTiles)
public int getMaxTiles()
public void setMinImportance(double minImport)
public double getMinImportance()
public void setMinImportanceTop(double minImportTop)
public double getMinImportanceTop()
public void setMinImportance(double minImport, int level)
public void setCoverPoles(boolean coverPoles)
public boolean getCoverPoles()
public void setEdgeMatching(boolean edgeMatching)
public boolean getEdgeMatching()
public void setTesselation(int tessX, int tessY)
public void setForceMinLevel(boolean force)
public int getTesselationX()
public int getTesselationY()
public void setSingleLevel(boolean singleLevel)
public boolean getSingleLevel()
public void setLevelLoads(int[] levels)
public void setClipBounds(Mbr bounds)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public void finalize()
finalize
in class java.lang.Object