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 |
---|---|
java.util.List<TLspLabelPlacement> |
TLspContinuousLabelingAlgorithm.placeLabels(java.util.List<TLspLabelID> aLabelIDs,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView) |
Modifier and Type | Method and Description |
---|---|
java.util.List<TLspLabelPlacement> |
TLspNoDeclutterLabelConflictChecker.getPlacements() |
java.util.List<TLspLabelPlacement> |
TLspLabelConflictChecker.getPlacements() |
java.util.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 |
---|---|
java.util.List<TLspLabelPlacement> |
TLspCompositeLabelingAlgorithm.placeLabels(java.util.List<TLspLabelID> aLabelIDs,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView) |
java.util.List<TLspLabelPlacement> |
ILspLabelingAlgorithm.placeLabels(java.util.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 |
---|---|
protected java.util.Iterator<TLspLabelPlacement> |
TLspOnPathLabelingAlgorithm.createLabelPlacementIterator(TLspLabelID aLabel,
ALspLabelLocations aCurrentLabelLocations,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView) |
protected java.util.Iterator<TLspLabelPlacement> |
TLspLabelingAlgorithm.createLabelPlacementIterator(TLspLabelID aLabel,
ALspLabelLocations aCurrentLabelLocations,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView) |
protected java.util.Iterator<TLspLabelPlacement> |
TLspInPathLabelingAlgorithm.createLabelPlacementIterator(TLspLabelID aLabel,
ALspLabelLocations aCurrentLabelLocations,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView) |
protected java.util.Iterator<TLspLabelPlacement> |
TLspCurvedPathLabelingAlgorithm.createLabelPlacementIterator(TLspLabelID aLabel,
ALspLabelLocations aCurrentLabelLocations,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView) |
protected java.util.Iterator<TLspLabelPlacement> |
TLspCompositeDiscreteLabelingAlgorithm.createLabelPlacementIterator(TLspLabelID aLabel,
ALspLabelLocations aCurrentLabelLocations,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView) |
protected java.util.Iterator<TLspLabelPlacement> |
ALspDiscreteLabelingAlgorithmWrapper.createLabelPlacementIterator(TLspLabelID aLabel,
ALspLabelLocations aCurrentLabelLocations,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView) |
protected abstract java.util.Iterator<TLspLabelPlacement> |
ALspDiscreteLabelingAlgorithm.createLabelPlacementIterator(TLspLabelID aLabel,
ALspLabelLocations aCurrentLabelLocations,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView)
Creates a new
Iterator that iterates over the TLspLabelPlacement s for
the given label. |
java.util.List<TLspLabelPlacement> |
ALspDiscreteLabelingAlgorithm.placeLabels(java.util.List<TLspLabelID> aLabelIDs,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView) |
Modifier and Type | Method and Description |
---|---|
ILspLabelPlacementEvaluator.PlacementResult |
ILspLabelPlacementEvaluator.evaluatePlacement(TLspLabelPlacement aPlacement,
ILspLabelConflictChecker.Conflict aConflict,
java.util.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,
java.util.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,
java.util.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,
java.util.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,
java.util.List<TLspLabelPlacement> aPlacements,
ALspLabelLocations aCurrentLabelLocations)
This method can be called to notify that a given
TLspLabelPlacement is chosen as
the placement for a label. |