Uses of Class
com.luciad.view.lightspeed.label.TLspLabelPlacement
Package
Description
Handles the labeling of realtime data for lightspeed layers.
Handles the placement of labels in a view.
Handles labeling algorithms.
Handles discrete labeling algorithms.
-
Uses of TLspLabelPlacement in com.luciad.realtime.lightspeed.labeling
Modifier and TypeMethodDescriptionTLspContinuousLabelingAlgorithm.placeLabels
(List<TLspLabelID> aLabelIDs, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspLabelConflictChecker aConflictChecker, ILspView aView) -
Uses of TLspLabelPlacement in com.luciad.view.lightspeed.label
Modifier and TypeMethodDescriptionILspLabelConflictChecker.getPlacements()
Returns all label placements that were added to (and not removed from) this conflict checker.TLspLabelConflictChecker.getPlacements()
TLspNoDeclutterLabelConflictChecker.getPlacements()
Modifier and TypeMethodDescriptionvoid
ILspLabelConflictChecker.addPlacement
(TLspLabelPlacement aPlacement) Add the given label placement to this conflict checker.void
TLspLabelConflictChecker.addPlacement
(TLspLabelPlacement aPlacement) void
TLspNoDeclutterLabelConflictChecker.addPlacement
(TLspLabelPlacement aPlacement) ILspLabelConflictChecker.getConflict
(TLspLabelPlacement aPlacement) Checks if the given placement is valid, that is if it does not overlap with already added placements or obstacles.TLspLabelConflictChecker.getConflict
(TLspLabelPlacement aPlacement) TLspNoDeclutterLabelConflictChecker.getConflict
(TLspLabelPlacement aPlacement) void
ILspLabelConflictChecker.removePlacement
(TLspLabelPlacement aPlacement) Removes the given label placement from the conflict checker.void
TLspLabelConflictChecker.removePlacement
(TLspLabelPlacement aPlacement) void
TLspNoDeclutterLabelConflictChecker.removePlacement
(TLspLabelPlacement aPlacement) -
Uses of TLspLabelPlacement in com.luciad.view.lightspeed.label.algorithm
Modifier and TypeMethodDescriptionabstract 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.final TLspLabelPlacement
ALspStampLabelLocationProvider.getLocation
(TLspLabelID aLabel, int aLocationIndex, ALspLabelLocations aCurrentLabelLocations, TLspPaintState aPaintState, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspView aView) TLspFixedInPathLabelLocationProvider.getLocation
(TLspLabelID aLabel, int aLocationIndex, ALspLabelLocations aCurrentLabelLocations, TLspPaintState aPaintState, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspView aView) TLspFixedOnPathLabelLocationProvider.getLocation
(TLspLabelID aLabel, int aLocationIndex, ALspLabelLocations aCurrentLabelLocations, TLspPaintState aPaintState, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspView aView) Modifier and TypeMethodDescriptionILspLabelingAlgorithm.placeLabels
(List<TLspLabelID> aLabelIDs, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspLabelConflictChecker aConflictChecker, ILspView aView) TLspCompositeLabelingAlgorithm.placeLabels
(List<TLspLabelID> aLabelIDs, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspLabelConflictChecker aConflictChecker, ILspView aView) Modifier and TypeMethodDescriptionboolean
ALspLabelLocationProvider.isValidLocation
(TLspLabelPlacement aLocation, ALspLabelLocations aCurrentLabelLocations, TLspPaintState aPaintState, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspView aView) Checks if the given location is a valid location.final boolean
ALspStampLabelLocationProvider.isValidLocation
(TLspLabelPlacement aLocation, ALspLabelLocations aCurrentLabelLocations, TLspPaintState aPaintState, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspView aView) Checks if the given location is a valid location.boolean
TLspFixedInPathLabelLocationProvider.isValidLocation
(TLspLabelPlacement aLocation, ALspLabelLocations aCurrentLabelLocations, TLspPaintState aPaintState, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspView aView) boolean
TLspFixedOnPathLabelLocationProvider.isValidLocation
(TLspLabelPlacement aLocation, ALspLabelLocations aCurrentLabelLocations, TLspPaintState aPaintState, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspView aView) -
Uses of TLspLabelPlacement in com.luciad.view.lightspeed.label.algorithm.discrete
Modifier and TypeMethodDescriptionprotected abstract Iterator
<TLspLabelPlacement> ALspDiscreteLabelingAlgorithm.createLabelPlacementIterator
(TLspLabelID aLabel, ALspLabelLocations aCurrentLabelLocations, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspLabelConflictChecker aConflictChecker, ILspView aView) Creates a newIterator
that iterates over theTLspLabelPlacement
s for the given label.protected Iterator
<TLspLabelPlacement> ALspDiscreteLabelingAlgorithmWrapper.createLabelPlacementIterator
(TLspLabelID aLabel, ALspLabelLocations aCurrentLabelLocations, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspLabelConflictChecker aConflictChecker, ILspView aView) protected Iterator
<TLspLabelPlacement> TLspCompositeDiscreteLabelingAlgorithm.createLabelPlacementIterator
(TLspLabelID aLabel, ALspLabelLocations aCurrentLabelLocations, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspLabelConflictChecker aConflictChecker, ILspView aView) protected Iterator
<TLspLabelPlacement> TLspCurvedPathLabelingAlgorithm.createLabelPlacementIterator
(TLspLabelID aLabel, ALspLabelLocations aCurrentLabelLocations, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspLabelConflictChecker aConflictChecker, ILspView aView) protected Iterator
<TLspLabelPlacement> TLspInPathLabelingAlgorithm.createLabelPlacementIterator
(TLspLabelID aLabel, ALspLabelLocations aCurrentLabelLocations, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspLabelConflictChecker aConflictChecker, ILspView aView) protected Iterator
<TLspLabelPlacement> TLspLabelingAlgorithm.createLabelPlacementIterator
(TLspLabelID aLabel, ALspLabelLocations aCurrentLabelLocations, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspLabelConflictChecker aConflictChecker, ILspView aView) protected Iterator
<TLspLabelPlacement> TLspOnPathLabelingAlgorithm.createLabelPlacementIterator
(TLspLabelID aLabel, ALspLabelLocations aCurrentLabelLocations, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspLabelConflictChecker aConflictChecker, ILspView aView) final List
<TLspLabelPlacement> ALspDiscreteLabelingAlgorithm.placeLabels
(List<TLspLabelID> aLabelIDs, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspLabelConflictChecker aConflictChecker, ILspView aView) Modifier and TypeMethodDescriptionILspLabelPlacementEvaluator.evaluatePlacement
(TLspLabelPlacement aPlacement, ILspLabelConflictChecker.Conflict aConflict, List<TLspLabelPlacement> aPlacements, ALspLabelLocations aCurrentLabelLocations) This method evaluates the given label placement and returns aPlacementResult
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 givenTLspLabelPlacement
is chosen as the placement for a label.Modifier and TypeMethodDescriptionILspLabelPlacementEvaluator.evaluatePlacement
(TLspLabelPlacement aPlacement, ILspLabelConflictChecker.Conflict aConflict, List<TLspLabelPlacement> aPlacements, ALspLabelLocations aCurrentLabelLocations) This method evaluates the given label placement and returns aPlacementResult
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 noTLspLabelPlacement
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 givenTLspLabelPlacement
is chosen as the placement for a label.