public final class TLspFusionGeometryProvider extends Object
Provides access to the geometry of Fusion vector features.
Fusion vector features often have multiple geospatial representations; a same feature may for
example be represented by a point at world-scale and a polygon at a more detailed zoom level.
The ILcdShapeList
interface of these features only provide access to the geometry of the
feature at the most detailed level.
The API provided by this class allows to retrieve the geospatial representation of features at the
current view level.
Two mechanisms are provided for accessing feature geometry:
getGeometry(Object, com.luciad.view.lightspeed.TLspContext)
ALspStyleTargetProvider
instances, one provider for each supported geometry type and
one union provider
Consult the class javadoc of TLspFusionVectorLayerBuilder
for more
information about working with Fusion vector data in combination with an ILspStyler
.
Modifier and Type | Field and Description |
---|---|
static Set<ALspStyleTargetProvider> |
ALL
Deprecated.
Set of style target providers for all style target types supported in fusion vector data.
|
static ALspStyleTargetProvider |
AREA_FILL
Deprecated.
The style target provider instance for selecting fused area outlines.
|
static ALspStyleTargetProvider |
AREA_OUTLINE
Deprecated.
The style target provider instance for selecting fused area outlines.
|
static ALspStyleTargetProvider |
LINE
Deprecated.
The style target provider instance for selecting ILcdCurve geometries.
|
static ALspStyleTargetProvider |
POINT
Deprecated.
The style target provider instance for selecting ILcdPoint geometries.
|
static ALspStyleTargetProvider |
TEXT
Deprecated.
The style target provider instance for selecting ILcdText geometries.
|
Modifier and Type | Method and Description |
---|---|
static Object |
getGeometry(Object aModelObject,
TLspContext aContext)
Deprecated.
Extract the geometry associated with the element at the current level for the tiles
that are currently available.
|
public static final ALspStyleTargetProvider TEXT
public static final ALspStyleTargetProvider POINT
public static final ALspStyleTargetProvider LINE
public static final ALspStyleTargetProvider AREA_OUTLINE
public static final ALspStyleTargetProvider AREA_FILL
public static final Set<ALspStyleTargetProvider> ALL
public static Object getGeometry(Object aModelObject, TLspContext aContext)
Extract the geometry associated with the element at the current level for the tiles that are currently available.
ILcdShapeList
containing a shape for each visible element of the feature:
ILcdPoint
: for point elements.
ILcdShapeList
: for line elements.
It contains ILcdPolyline
shapes that describe the available parts of the line feature.
ILfnTiledSurface
: for area elements.
See ILfnTiledSurface.getOutlines()
and ILfnTiledSurface.getFills()
for details.
ILcdText
: for text elements.
ILcdDataObject
.
aModelObject
- the model object (view-independent)aContext
- a context defining the layer and view for which to get the view-dependent geometrynull