public class ArcFixture extends LXBasicFixture
Modifier and Type | Class and Description |
---|---|
static class |
ArcFixture.PositionMode |
LXProtocolFixture.Transport
LXFixture.DynamicIndexBuffer, LXFixture.IndexBufferSegment, LXFixture.Protocol, LXFixture.Submodel
LXComponent.Placeholder, LXComponent.Renamable
LXSerializable.Utils
Modifier and Type | Field and Description |
---|---|
BoundedParameter |
degrees |
DiscreteParameter |
numPoints |
EnumParameter<ArcFixture.PositionMode> |
positionMode |
BoundedParameter |
radius |
artNetUniverse, ddpDataOffset, host, kinetPort, opcChannel, port, protocol, reverse, transport, unknownHost
brightness, children, enabled, identify, mute, NO_SUBMODELS, outputs, pitch, points, roll, selected, solo, x, y, yaw, z
controlSurfaceSemaphore, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_PARAMETER_PATH, KEY_PATH, label, lx, modulationColor
Constructor and Description |
---|
ArcFixture(LX lx) |
Modifier and Type | Method and Description |
---|---|
protected 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.
|
protected String[] |
getModelKeys()
Subclasses may override to return an array of multiple key types.
|
protected int |
size()
Subclasses must implement to specify the number of points in the fixture.
|
buildOutput, buildOutputs, getOutput, onParameterChanged, toDynamicIndexBuffer
getProtocolChannel, resolveHostAddress
addChild, addGeometryParameter, addMetricsParameter, addOutput, addOutputParameter, addParameter, beforeRegenerate, computeGeometryMatrix, constructModel, constructPoint, copyPoint, dispose, fixtureGenerationChanged, fixtureGeometryChanged, getFirstPointIndex, getGeometryMatrix, getGeometryMatrix, getIndex, getIndexBufferOffset, getMetaData, getModelKey, getPath, load, regenerate, reindexOutputs, removeChild, removeOutput, setStructure, toDynamicIndexBuffer, toDynamicIndexBuffer, toDynamicIndexBuffer, toSubmodels, totalSize
addArray, addChild, addInternalParameter, addParameter, contains, copyParameters, getChild, getComponentName, getComponentName, getComponentName, getId, getLabel, getLX, getOscAddress, getOscLabel, getOscPath, getParameter, getParameters, getParent, handleOscMessage, loadParameters, removeParameter, removeParameter, save, saveParameters, setParent, toString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
get, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameter
public final DiscreteParameter numPoints
public final BoundedParameter radius
public final BoundedParameter degrees
public final EnumParameter<ArcFixture.PositionMode> positionMode
public ArcFixture(LX lx)
protected void computePointGeometry(LXMatrix transform, List<LXPoint> points)
LXFixture
computePointGeometry
in class LXFixture
transform
- A transform matrix representing the fixture's positionpoints
- The list of points that need to have their positions setprotected int size()
LXFixture
protected String[] getModelKeys()
LXFixture
getModelKeys
in class LXFixture
LX library by Mark C. Slee. © 2012-2020