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
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumNested classes/interfaces inherited from class heronarts.lx.structure.LXFixture
LXFixture.OutputDefinition, LXFixture.Protocol, LXFixture.Segment, LXFixture.Submodel, LXFixture.Transform, LXFixture.TransportNested classes/interfaces inherited from class heronarts.lx.LXComponent
LXComponent.Description, LXComponent.Hidden, LXComponent.Name, LXComponent.Placeholder, LXComponent.PluginRequired, LXComponent.RenamableNested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal BoundedParameterfinal StringParameterfinal DiscreteParameterfinal DiscreteParameterfinal BoundedParameterfinal StringParameterfinal 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, unknownHostFields 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, zFields inherited from class heronarts.lx.LXComponent
childArrays, 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, presetFileFields inherited from interface heronarts.lx.LXPath
DEFAULT_SEPARATOR, ROOT, ROOT_PREFIX, ROOT_SLASH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddModelMetaData(Map<String, String> metaData) Subclasses may override to add additiona metadata fields for inclusion in the modelprotected LXFixture.Segmentprotected voidcomputePointGeometry(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 intsize()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
buildOutputsMethods inherited from class heronarts.lx.structure.LXProtocolFixture
getProtocolChannel, getProtocolKinetVersion, getProtocolPort, getProtocolPriority, getProtocolSequenceEnabled, getProtocolTransport, getProtocolUniverse, resolveHostAddressMethods 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, getModelMeshes, getPath, load, onParameterChanged, regenerate, regenerateOutputs, reindexOutputs, removeChild, removeOutputDefinition, removeOutputDirect, setStructure, setTags, totalSizeMethods inherited from class heronarts.lx.LXComponent
addArray, addChild, addInternalParameter, addLegacyInternalParameter, addLegacyParameter, addParameter, addParameters, assertDisposed, contains, copyParameters, getCategory, getChild, getComponentDescription, 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface heronarts.lx.LXPath
getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, 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:LXFixtureSubclasses may override when they specify submodels- Overrides:
toSubmodelsin classLXFixture- Returns:
- Array of submodel objects
-
computePointGeometry
Description copied from class:LXFixtureThis 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:
computePointGeometryin 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:LXFixtureSubclasses 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:LXFixtureSubclasses may override to return an array of default tag types for this fixture in the model hierarchy- Overrides:
getDefaultTagsin classLXFixture- Returns:
- List of model tag types for this fixture
-
buildSegment
- Overrides:
buildSegmentin classLXBasicFixture
-
addModelMetaData
Description copied from class:LXFixtureSubclasses may override to add additiona metadata fields for inclusion in the model- Overrides:
addModelMetaDatain classLXFixture- Parameters:
metaData- Map to add meta-data fields to
-