Package | Description |
---|---|
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.
|
com.luciad.view.lightspeed.label.location |
Handles label locations.
|
com.luciad.view.lightspeed.painter.label |
Provides support for painting labels for objects.
|
com.luciad.view.lightspeed.painter.label.location |
Defines label locations used by label painters.
|
Modifier and Type | Method and Description |
---|---|
ALspLabelLocations |
TLspLabelPlacer.getLabelLocations() |
ALspLabelLocations |
ILspLabelPlacer.getLabelLocations()
Returns the label locations object.
|
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.
|
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 Iterator<TLspLabelPlacement> |
TLspOnPathLabelingAlgorithm.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> |
TLspInPathLabelingAlgorithm.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> |
TLspCompositeDiscreteLabelingAlgorithm.createLabelPlacementIterator(TLspLabelID aLabel,
ALspLabelLocations aCurrentLabelLocations,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView) |
protected Iterator<TLspLabelPlacement> |
ALspDiscreteLabelingAlgorithmWrapper.createLabelPlacementIterator(TLspLabelID aLabel,
ALspLabelLocations aCurrentLabelLocations,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView) |
protected abstract 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. |
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. |
Modifier and Type | Class and Description |
---|---|
class |
TLspLabelLocations
Default implementation of
ALspLabelLocations . |
Modifier and Type | Method and Description |
---|---|
ALspLabelLocations |
TLspLabelLocationChangedEvent.getLabelLocations()
Returns the
ALspLabelLocations where the information has changed. |
Constructor and Description |
---|
TLspLabelLocationChangedEvent(ALspLabelLocations aSource,
ILspView aView)
Creates a new TLspLabelLocationChangedEvent.
|
Modifier and Type | Method and Description |
---|---|
void |
TLspLabelPainter.labelAnchorPointSFCT(TLspLabelID aLabel,
ALspLabelLocation aLabelLocation,
ALspLabelLocations aLabelLocations,
TLspPaintState aPaintState,
TLspContext aContext,
ILcd3DEditablePoint aAnchorPointSFCT) |
void |
ILspLabelPainter.labelAnchorPointSFCT(TLspLabelID aLabel,
ALspLabelLocation aLabelLocation,
ALspLabelLocations aLabelLocations,
TLspPaintState aPaintState,
TLspContext aContext,
ILcd3DEditablePoint aAnchorPointSFCT)
Retrieves the anchor point of the given label.
|
double |
TLspLabelPainter.labelBoundsSFCT(TLspLabelID aLabel,
ALspLabelLocation aLabelLocation,
ALspLabelLocations aLocations,
TLspPaintState aPaintState,
TLspContext aContext,
ILcd3DEditableBounds aBoundsSFCT) |
double |
ILspLabelPainter.labelBoundsSFCT(TLspLabelID aLabel,
ALspLabelLocation aLabelLocation,
ALspLabelLocations aLocations,
TLspPaintState aPaintState,
TLspContext aContext,
ILcd3DEditableBounds aBoundsSFCT)
Calculates the bounds of the given label for the given label location.
|
void |
TLspLabelPainter.viewObjectAnchorPointSFCT(TLspLabelID aLabel,
ALspLabelLocations aLabelLocations,
TLspPaintState aPaintState,
TLspContext aContext,
ILcd3DEditablePoint aObjectAnchorPointSFCT) |
void |
TLspLabelPainter.worldObjectAnchorPointSFCT(TLspLabelID aLabel,
ALspLabelLocations aLabelLocations,
TLspPaintState aPaintState,
TLspContext aContext,
ILcd3DEditablePoint aObjectAnchorPointSFCT) |
Modifier and Type | Method and Description |
---|---|
void |
TLspStampLabelLocation.getLocationData(TLspLabelID aLabel,
ALspLabelLocations aLabelLocations,
ILspStampLocationLabelPainter aLabelPainter,
TLspPaintState aPaintState,
TLspContext aContext,
ALspStampLabelLocation.LocationData aLocationDataSFCT) |
abstract void |
ALspStampLabelLocation.getLocationData(TLspLabelID aLabel,
ALspLabelLocations aLabelLocations,
ILspStampLocationLabelPainter aLabelPainter,
TLspPaintState aPaintState,
TLspContext aContext,
ALspStampLabelLocation.LocationData aLocationDataSFCT)
Calculates the
location data of the given label. |
void |
ILspStampLocationLabelPainter.viewObjectAnchorPointSFCT(TLspLabelID aLabel,
ALspLabelLocations aLabelLocations,
TLspPaintState aPaintState,
TLspContext aContext,
ILcd3DEditablePoint aObjectAnchorPointSFCT)
Calculates the object anchor point for the given label in view coordinates.
|
void |
ILspStampLocationLabelPainter.worldObjectAnchorPointSFCT(TLspLabelID aLabel,
ALspLabelLocations aLabelLocations,
TLspPaintState aPaintState,
TLspContext aContext,
ILcd3DEditablePoint aObjectAnchorPointSFCT)
Calculates the object anchor point for the given label in world coordinates.
|