Package heronarts.lx.structure
Class PointFixture
java.lang.Object
heronarts.lx.LXComponent
heronarts.lx.structure.LXFixture
heronarts.lx.structure.LXProtocolFixture
heronarts.lx.structure.LXBasicFixture
heronarts.lx.structure.PointFixture
- All Implemented Interfaces:
LXComponent.Renamable
,LXPath
,LXSerializable
,LXParameterListener
,LXFixtureContainer
-
Nested Class Summary
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
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 TypeMethodDescriptionprotected void
computePointGeometry
(LXMatrix transform, List<LXPoint> points) This method should be implemented by subclasses to generate the geometry of the fixture any time its geometry parameters have changed.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.Methods inherited from class heronarts.lx.structure.LXBasicFixture
buildOutputs, buildSegment
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, addModelMetaData, 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, toSubmodels, 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
-
Constructor Details
-
PointFixture
-
-
Method Details
-
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:
transform
- 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
-