Package heronarts.lx.structure
Class GridFixture
java.lang.Object
heronarts.lx.LXComponent
heronarts.lx.structure.LXFixture
heronarts.lx.structure.LXProtocolFixture
heronarts.lx.structure.LXBasicFixture
heronarts.lx.structure.GridFixture
- All Implemented Interfaces:
LXComponent.Renamable
,LXPath
,LXSerializable
,LXParameterListener
,LXFixtureContainer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
Nested classes/interfaces inherited from class heronarts.lx.structure.LXFixture
LXFixture.OutputDefinition, LXFixture.Protocol, LXFixture.Segment, LXFixture.Submodel, LXFixture.Transform, LXFixture.Transport
Nested classes/interfaces inherited from class heronarts.lx.LXComponent
LXComponent.Hidden, LXComponent.Placeholder, LXComponent.Renamable
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils
-
Field Summary
Modifier and TypeFieldDescriptionfinal BoundedParameter
final StringParameter
final DiscreteParameter
final DiscreteParameter
final BoundedParameter
final StringParameter
final EnumParameter<GridFixture.Wiring>
Fields inherited from class heronarts.lx.structure.LXProtocolFixture
artNetSequenceEnabled, artNetUniverse, byteOrder, ddpDataOffset, dmxChannel, host, kinetPort, kinetVersion, opcChannel, opcOffset, port, protocol, reverse, sacnPriority, transport, unknownHost
Fields inherited from class heronarts.lx.structure.LXFixture
brightness, children, deactivate, DEFAULT_OUTPUT_REPEAT, DEFAULT_OUTPUT_STRIDE, enabled, identify, metaData, mute, NO_SUBMODELS, outputDefinitions, outputsDirect, pitch, points, POSITION_RANGE, roll, scale, selected, solo, tagList, tags, x, y, yaw, z
Fields inherited from class heronarts.lx.LXComponent
internalParameters, KEY_CHILDREN, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_INTERNAL, KEY_PARAMETER_PATH, KEY_PARAMETERS, KEY_PATH, KEY_RESET, label, legacyInternalParameters, legacyParameters, lx, modulationColor, modulationControlsExpanded, modulationsExpanded, parameters, presetFile
Fields inherited from interface heronarts.lx.LXPath
ROOT, ROOT_PREFIX, ROOT_SLASH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addModelMetaData
(Map<String, String> metaData) Subclasses may override to add additiona metadata fields for inclusion in the modelprotected LXFixture.Segment
protected void
computePointGeometry
(LXMatrix matrix, List<LXPoint> points) This method should be implemented by subclasses to generate the geometry of the fixture any time its geometry parameters have changed.protected String[]
Subclasses may override to return an array of default tag types for this fixture in the model hierarchyprotected int
size()
Subclasses must implement to specify the number of points in the fixture.Subclasses may override when they specify submodelsMethods inherited from class heronarts.lx.structure.LXBasicFixture
buildOutputs
Methods inherited from class heronarts.lx.structure.LXProtocolFixture
getProtocolChannel, getProtocolKinetVersion, getProtocolPort, getProtocolPriority, getProtocolSequenceEnabled, getProtocolTransport, getProtocolUniverse, resolveHostAddress
Methods inherited from class heronarts.lx.structure.LXFixture
addChild, addGeometryParameter, addMetricsParameter, addOutputDefinition, addOutputDirect, addOutputParameter, addParameter, addTagParameter, addTransform, beforeRegenerate, clearTransforms, computeGeometryMatrix, constructModel, constructPoint, copyPoint, dispose, fixtureGenerationChanged, fixtureGeometryChanged, fixtureOutputChanged, fixtureTagsChanged, getFirstPointIndex, getGeometryMatrix, getGeometryMatrix, getIndex, getIndexBufferOffset, getPath, load, onParameterChanged, regenerate, regenerateOutputs, reindexOutputs, removeChild, removeOutputDefinition, removeOutputDirect, setStructure, setTags, totalSize
Methods inherited from class heronarts.lx.LXComponent
addArray, addChild, addInternalParameter, addLegacyInternalParameter, addLegacyParameter, addParameter, addParameters, contains, copyParameters, getCategory, getChild, getComponentName, getComponentName, getComponentName, getDescription, getId, getLabel, getLX, getOscAddress, getOscLabel, getOscPath, getParameter, getParameters, getParent, handleOscMessage, hasParameter, isValidOscParameter, loadParameters, loadPreset, removeParameter, removeParameter, removeParameter, removeParameter, save, savePreset, setDescription, setParent, toOscQuery, toOscQuery, toOscQuery, toString, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface heronarts.lx.LXPath
getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, isDescendant
-
Field Details
-
numRows
-
numColumns
-
rowSpacing
-
columnSpacing
-
positionMode
-
wiring
-
rowTags
-
columnTags
-
-
Constructor Details
-
GridFixture
-
-
Method Details
-
toSubmodels
Description copied from class:LXFixture
Subclasses may override when they specify submodels- Overrides:
toSubmodels
in classLXFixture
- Returns:
- Array of submodel objects
-
computePointGeometry
Description copied from class:LXFixture
This method should be implemented by subclasses to generate the geometry of the fixture any time its geometry parameters have changed. The correct number of points will have already been computed, and merely need to have their positions set.- Specified by:
computePointGeometry
in classLXFixture
- Parameters:
matrix
- A transform matrix representing the fixture's positionpoints
- The list of points that need to have their positions set
-
size
protected int size()Description copied from class:LXFixture
Subclasses must implement to specify the number of points in the fixture. This does not include the number of points that are in children. -
getDefaultTags
Description copied from class:LXFixture
Subclasses may override to return an array of default tag types for this fixture in the model hierarchy- Overrides:
getDefaultTags
in classLXFixture
- Returns:
- List of model tag types for this fixture
-
buildSegment
- Overrides:
buildSegment
in classLXBasicFixture
-
addModelMetaData
Description copied from class:LXFixture
Subclasses may override to add additiona metadata fields for inclusion in the model- Overrides:
addModelMetaData
in classLXFixture
- Parameters:
metaData
- Map to add meta-data fields to
-