LuciadCPillar C# 2023.1.04
Luciad.Edit.Features.FeatureHandlesProvider Class Reference

Default handles provider for features. More...

Inheritance diagram for Luciad.Edit.Features.FeatureHandlesProvider:
Luciad.Edit.Features.IFeatureHandlesProvider

Classes

interface  IHandleFactory
 Allows you to specify the translate handle that is used by this handles provider. More...
 

Public Member Functions

 FeatureHandlesProvider ()
 
bool CanProvide (Luciad.Utils.Observable< Luciad.Models.Features.Feature > feature, Luciad.Edit.Features.FeatureEditContext context)
 Indicates if this handles provider can create handles for the given Feature. More...
 
void Dispose ()
 
Luciad.Edit.Handles.IEditHandles Provide (Luciad.Utils.Observable< Luciad.Models.Features.Feature > feature, Luciad.Edit.Features.FeatureEditContext context, Luciad.Edit.Features.IFeatureEditCallback featureEditCallback)
 Returns handles for the given feature. More...
 
bool CanProvide (Luciad.Utils.Observable< Luciad.Models.Features.Feature > feature, Luciad.Edit.Features.FeatureEditContext context)
 Indicates if this handles provider can create handles for the given Feature. More...
 
Luciad.Edit.Handles.IEditHandles Provide (Luciad.Utils.Observable< Luciad.Models.Features.Feature > feature, Luciad.Edit.Features.FeatureEditContext context, Luciad.Edit.Features.IFeatureEditCallback featureEditCallback)
 Returns handles for the given feature. More...
 

Properties

Luciad.Edit.Geometries.IGeometryHandlesProvider GeometryHandlesProvider [get, set]
 
Luciad.Edit.Features.FeatureHandlesProvider.IHandleFactory HandleFactory [get, set]
 

Detailed Description

Default handles provider for features.

It can create a handles for features by: creating a handle to translate the entire feature delegating to a geometry handles provider.

The delegate geometry handles are created using an IGeometryHandlesProvider. The geometry is extracted from the feature using the IFeatureGeometryProvider that is provided by the feature layer. This IFeatureGeometryProvider can be configured in the feature layer. 2020.1

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

Constructor & Destructor Documentation

◆ FeatureHandlesProvider()

Luciad.Edit.Features.FeatureHandlesProvider.FeatureHandlesProvider ( )
inline

Member Function Documentation

◆ CanProvide()

bool Luciad.Edit.Features.FeatureHandlesProvider.CanProvide ( Luciad.Utils.Observable< Luciad.Models.Features.Feature feature,
Luciad.Edit.Features.FeatureEditContext  context 
)
inline

Indicates if this handles provider can create handles for the given Feature.

feature

an observable Feature.

context

the context. Contains additional information about the edited feature.

if this handles provider can create handles for the given Feature.

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

Implements Luciad.Edit.Features.IFeatureHandlesProvider.

◆ Dispose()

void Luciad.Edit.Features.FeatureHandlesProvider.Dispose ( )
inline

◆ Provide()

Luciad.Edit.Handles.IEditHandles Luciad.Edit.Features.FeatureHandlesProvider.Provide ( Luciad.Utils.Observable< Luciad.Models.Features.Feature feature,
Luciad.Edit.Features.FeatureEditContext  context,
Luciad.Edit.Features.IFeatureEditCallback  featureEditCallback 
)
inline

Returns handles for the given feature.

If this provider doesn't support the given feature, it can return nullptr.

feature

the observable feature for which to create handles.

context

the context. Contains additional information about the edited feature.

featureEditCallback

a callback that notifies the caller when the Feature has changed.

handles for the given feature. If this provider doesn't support the given feature, it can return nullptr.

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

Implements Luciad.Edit.Features.IFeatureHandlesProvider.

Property Documentation

◆ GeometryHandlesProvider

Luciad.Edit.Geometries.IGeometryHandlesProvider Luciad.Edit.Features.FeatureHandlesProvider.GeometryHandlesProvider
getset

◆ HandleFactory

Luciad.Edit.Features.FeatureHandlesProvider.IHandleFactory Luciad.Edit.Features.FeatureHandlesProvider.HandleFactory
getset