Interface IIndicatorService
- Namespace
- MoonBark.GridPlacement.Core.Services.Placement
- Assembly
- MoonBark.GridPlacement.Core.dll
Service interface for indicator management.
This service handles the creation and management of visual indicators that show placement validity and other feedback to the user.
public interface IIndicatorService
Properties
IsReady
Gets whether the indicator service is ready for operations.
bool IsReady { get; }
Property Value
Methods
ClearIndicators()
Clears all active indicators.
void ClearIndicators()
CreateIndicatorModel(PreviewModel, PlacementReport)
Creates an indicator model based on the preview model and placement report.
IndicatorModel CreateIndicatorModel(PreviewModel previewModel, PlacementReport report)
Parameters
previewModelPreviewModelThe preview model containing placement data.
reportPlacementReportThe placement report containing validation results.
Returns
- IndicatorModel
An indicator model with visual feedback data.
UpdateIndicatorModel(IndicatorModel, PreviewModel, PlacementReport)
Updates existing indicators with new data.
void UpdateIndicatorModel(IndicatorModel indicatorModel, PreviewModel previewModel, PlacementReport report)
Parameters
indicatorModelIndicatorModelThe indicator model to update.
previewModelPreviewModelThe updated preview model.
reportPlacementReportThe updated placement report.