Package | Description |
---|---|
com.luciad.realtime.lightspeed.labeling |
Handles the labeling of realtime data for lightspeed layers.
|
com.luciad.view.lightspeed.label |
Handles the placement of labels in a view.
|
com.luciad.view.lightspeed.label.algorithm |
Handles labeling algorithms.
|
com.luciad.view.lightspeed.label.algorithm.discrete |
Handles discrete labeling algorithms.
|
Modifier and Type | Method and Description |
---|---|
List<TLspLabelPlacement> |
TLspContinuousLabelingAlgorithm.placeLabels(List<TLspLabelID> aLabelIDs,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView) |
Modifier and Type | Method and Description |
---|---|
List<TLspLabelPlacement> |
TLspNoDeclutterLabelConflictChecker.getPlacements() |
List<TLspLabelPlacement> |
TLspLabelConflictChecker.getPlacements() |
List<TLspLabelPlacement> |
ILspLabelConflictChecker.getPlacements()
Returns all label placements that were added to (and not removed from) this conflict checker.
|
Modifier and Type | Method and Description |
---|---|
void |
TLspNoDeclutterLabelConflictChecker.addPlacement(TLspLabelPlacement aPlacement) |
void |
TLspLabelConflictChecker.addPlacement(TLspLabelPlacement aPlacement) |
void |
ILspLabelConflictChecker.addPlacement(TLspLabelPlacement aPlacement)
Add the given label placement to this conflict checker.
|
ILspLabelConflictChecker.Conflict |
TLspNoDeclutterLabelConflictChecker.getConflict(TLspLabelPlacement aPlacement) |
ILspLabelConflictChecker.Conflict |
TLspLabelConflictChecker.getConflict(TLspLabelPlacement aPlacement) |
ILspLabelConflictChecker.Conflict |
ILspLabelConflictChecker.getConflict(TLspLabelPlacement aPlacement)
Checks if the given placement is valid, that is if it does not overlap with already added
placements or obstacles.
|
void |
TLspNoDeclutterLabelConflictChecker.removePlacement(TLspLabelPlacement aPlacement) |
void |
TLspLabelConflictChecker.removePlacement(TLspLabelPlacement aPlacement) |
void |
ILspLabelConflictChecker.removePlacement(TLspLabelPlacement aPlacement)
Removes the given label placement from the conflict checker.
|
Modifier and Type | Method and Description |
---|---|
TLspLabelPlacement |
TLspFixedOnPathLabelLocationProvider.getLocation(TLspLabelID aLabel,
int aLocationIndex,
ALspLabelLocations aCurrentLabelLocations,
TLspPaintState aPaintState,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspView aView) |
TLspLabelPlacement |
TLspFixedInPathLabelLocationProvider.getLocation(TLspLabelID aLabel,
int aLocationIndex,
ALspLabelLocations aCurrentLabelLocations,
TLspPaintState aPaintState,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspView aView) |
TLspLabelPlacement |
ALspStampLabelLocationProvider.getLocation(TLspLabelID aLabel,
int aLocationIndex,
ALspLabelLocations aCurrentLabelLocations,
TLspPaintState aPaintState,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspView aView) |
abstract TLspLabelPlacement |
ALspLabelLocationProvider.getLocation(TLspLabelID aLabel,
int aLocationIndex,
ALspLabelLocations aCurrentLabelLocations,
TLspPaintState aPaintState,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspView aView)
This method returns a location for the given label using the given location index.
|
Modifier and Type | Method and Description |
---|---|
List<TLspLabelPlacement> |
TLspCompositeLabelingAlgorithm.placeLabels(List<TLspLabelID> aLabelIDs,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView) |
List<TLspLabelPlacement> |
ILspLabelingAlgorithm.placeLabels(List<TLspLabelID> aLabelIDs,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView)
|
Modifier and Type | Method and Description |
---|---|
boolean |
TLspFixedOnPathLabelLocationProvider.isValidLocation(TLspLabelPlacement aLocation,
ALspLabelLocations aCurrentLabelLocations,
TLspPaintState aPaintState,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspView aView) |
boolean |
TLspFixedInPathLabelLocationProvider.isValidLocation(TLspLabelPlacement aLocation,
ALspLabelLocations aCurrentLabelLocations,
TLspPaintState aPaintState,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspView aView) |
boolean |
ALspStampLabelLocationProvider.isValidLocation(TLspLabelPlacement aLocation,
ALspLabelLocations aCurrentLabelLocations,
TLspPaintState aPaintState,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspView aView)
Checks if the given location is a valid location.
|
boolean |
ALspLabelLocationProvider.isValidLocation(TLspLabelPlacement aLocation,
ALspLabelLocations aCurrentLabelLocations,
TLspPaintState aPaintState,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspView aView)
Checks if the given location is a valid location.
|
Modifier and Type | Method and Description |
---|---|
ILspLabelPlacementEvaluator.PlacementResult |
ILspLabelPlacementEvaluator.evaluatePlacement(TLspLabelPlacement aPlacement,
ILspLabelConflictChecker.Conflict aConflict,
List<TLspLabelPlacement> aPlacements,
ALspLabelLocations aCurrentLabelLocations)
This method evaluates the given label placement and returns a
PlacementResult
to determine if the placement can be used for its label or not. |
void |
ILspLabelPlacementEvaluator.placementApplied(TLspLabelPlacement aPlacement,
List<TLspLabelPlacement> aPlacements,
ALspLabelLocations aCurrentLabelLocations)
This method can be called to notify that a given
TLspLabelPlacement is chosen as
the placement for a label. |
Modifier and Type | Method and Description |
---|---|
ILspLabelPlacementEvaluator.PlacementResult |
ILspLabelPlacementEvaluator.evaluatePlacement(TLspLabelPlacement aPlacement,
ILspLabelConflictChecker.Conflict aConflict,
List<TLspLabelPlacement> aPlacements,
ALspLabelLocations aCurrentLabelLocations)
This method evaluates the given label placement and returns a
PlacementResult
to determine if the placement can be used for its label or not. |
void |
ILspLabelPlacementEvaluator.noPlacementApplied(TLspLabelID aLabel,
List<TLspLabelPlacement> aPlacements,
ALspLabelLocations aCurrentLabelLocations)
This method can be called to notify that no
TLspLabelPlacement is chosen as
placement for the given label. |
void |
ILspLabelPlacementEvaluator.placementApplied(TLspLabelPlacement aPlacement,
List<TLspLabelPlacement> aPlacements,
ALspLabelLocations aCurrentLabelLocations)
This method can be called to notify that a given
TLspLabelPlacement is chosen as
the placement for a label. |