Skip to content

TransposeModifier

Source: TransposeModifier.h

TransposeModifier

class TransposeModifier
src/light/modifiers/TransposeModifier.h:21

Inherits: ModifierBase

Modifier swapping a pair of box axes.

Public Attributes

bool transposeXY = true

bool transposeXZ = false

bool transposeYZ = false

bool inverseX = false

bool inverseY = false

bool inverseZ = false

Public Methods

virtual inline const char * tags() const override : Curated emoji tags for the module picker's chip filter — extras beyond the role chip (which the UI derives from role() on its own).

virtual inline Dim dimensions() const override : Advisory UI chip: what this modifier can work on (transposeXY/XZ/YZ: it can swap any pair).

virtual inline void defineControls() override : defineControls MUST be idempotent and pure: only controls_.clear() + controls_.addX().

virtual inline void modifyLogicalSize(Coord3D &) override : STATIC, build-time, once per rebuild in child order: fold the logical box.

virtual inline bool modifyLogical(Coord3D &) const override : STATIC, build-time, per physical light in child order: fold a coordinate into this stage's logical space (in place).