Table of Contents

Class DisplayPlaneController

Namespace
EncDotNet.S100.Pipelines.Vector
Assembly
EncDotNet.S100.Core.dll

Controls visibility of drawing instructions by display plane (S-100 Part 9 §11.6). The three canonical planes are UnderRadar and OverRadar; all planes are visible by default.

public sealed class DisplayPlaneController
Inheritance
DisplayPlaneController
Inherited Members

Remarks

Unlike ViewingGroupController this controller has no "mode membership" layer — planes are simply on or off. The pipeline evaluates the controller after viewing-group filtering so the (typically smaller) VG-filtered list is the input.

Constructors

DisplayPlaneController()

Creates a new DisplayPlaneController.

public DisplayPlaneController()

Properties

HiddenPlanes

The set of planes that are currently hidden. The returned set is a non-downcastable read-only view over the live hidden set.

public IReadOnlySet<DisplayPlane> HiddenPlanes { get; }

Property Value

IReadOnlySet<DisplayPlane>

Methods

IsVisible(DisplayPlane)

Returns true when plane is visible (i.e. not in the hidden set).

public bool IsVisible(DisplayPlane plane)

Parameters

plane DisplayPlane

Returns

bool

SetVisible(DisplayPlane, bool)

Shows or hides plane. Raises Changed when the effective state changes.

public void SetVisible(DisplayPlane plane, bool visible)

Parameters

plane DisplayPlane
visible bool

ShowAll()

Resets all planes to visible.

public void ShowAll()

Events

Changed

Raised whenever the hidden set changes.

public event Action? Changed

Event Type

Action