LuciadCPillar C# 2023.1.04
Luciad.Layers.Features.FeaturePainterMetadata Class Reference

Class to provide information on what type of changes affect the styling. More...

Inheritance diagram for Luciad.Layers.Features.FeaturePainterMetadata:

Public Member Functions

void DetailLevelScales (System.Collections.Generic.IList< Luciad.Maps.MapScale > detailLevelScales)
 Sets a vector of map scales that determine when this painter should switch from one level-of-detail to the next. More...
 
void Dispose ()
 
void PainterDependsOnFeature (bool depends)
 Indicates whether a feature's style depends on the feature itself. More...
 
void PainterDependsOnFeatureState (Luciad.Layers.Features.FeatureState featureState, bool active)
 Indicates that a feature's style depends on the given state. More...
 

Detailed Description

Class to provide information on what type of changes affect the styling.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::FeaturePainterMetadata.

Member Function Documentation

◆ DetailLevelScales()

void Luciad.Layers.Features.FeaturePainterMetadata.DetailLevelScales ( System.Collections.Generic.IList< Luciad.Maps.MapScale detailLevelScales)
inline

Sets a vector of map scales that determine when this painter should switch from one level-of-detail to the next.

This can be used to advertise that this painter supports multiple level-of-details for a given object. The current level-of-detail that is used is determined by the map and is passed back to the IFeaturePainter via the FeaturePainterContext::getDetailLevel() method. When this method is not called, level-of-detail is not supported. All scales smaller than the smallest scale will correspond to detail level '0' (least detailed). All scales larger than the largest scale will correspond to detail level 'detailLevelScales.size()' (most detailed).

detailLevelScales

the switch scales for each level of detail

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::FeaturePainterMetadata::detailLevelScales.

◆ Dispose()

void Luciad.Layers.Features.FeaturePainterMetadata.Dispose ( )
inline

◆ PainterDependsOnFeature()

void Luciad.Layers.Features.FeaturePainterMetadata.PainterDependsOnFeature ( bool  depends)
inline

Indicates whether a feature's style depends on the feature itself.

For example, the feature's color may depend on a certain data property. This value is true by default.

depends

When true, a feature needs to be repainted by the painter when it changes.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::FeaturePainterMetadata::painterDependsOnFeature.

◆ PainterDependsOnFeatureState()

void Luciad.Layers.Features.FeaturePainterMetadata.PainterDependsOnFeatureState ( Luciad.Layers.Features.FeatureState  featureState,
bool  active 
)
inline

Indicates that a feature's style depends on the given state.

For example, the feature's color may change when it is selected. The luciad::FeatureState::selected() is active by default.

featureState

The feature state on which the painter depends. When a feature's state changes to this state, it needs to be repainted by the painter.

active

The desired state of the given featureState.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::FeaturePainterMetadata::painterDependsOnFeatureState.