GridBlacksLayout
Source:
GridBlacksLayout.h
GridBlacksLayout¶
src/light/layouts/GridBlacksLayout.h:20Inherits:
LayoutBase
Layout of a dense 3D grid with mid-strand dark columns (a spacer).
Public Attributes¶
lengthType width = 16
lengthType height = 16
lengthType depth = 1
bool serpentine =
lengthType blackStart = 0
lengthType blackCount = 0
Public Methods¶
virtual inline void defineControls() override
: defineControls MUST be idempotent and pure: only controls_.clear() + controls_.addX().
virtual inline nrOfLightsType lightCount() const override
virtual inline bool hasBlackPixels() const override
: Whether this layout emits any GAP (black) pixels — physical wire slots held dark.
virtual inline void forEachCoord(constCoordSink & sink) const override