Package | Description |
---|---|
heronarts.lx |
Core LX engine and component functionality.
|
heronarts.lx.effect |
Layer components that mutate existing buffers with standardized enable/disable.
|
heronarts.lx.mixer | |
heronarts.lx.model |
Geometry models, points and fixtures.
|
heronarts.lx.output |
Output support for various networking protocols.
|
heronarts.lx.pattern |
Core classes for procedural animation.
|
heronarts.lx.pattern.test | |
heronarts.lx.pattern.texture | |
heronarts.lx.structure | |
heronarts.lx.studio | |
heronarts.lx.transform |
Utilities for 3-D transformations and model manipulation.
|
heronarts.p3lx |
Framework for embedding LX in Processing 3.
|
Modifier and Type | Class and Description |
---|---|
class |
LXModelLayer<T extends LXModel>
Templatized version of the LXLayerclass, which strongly types a particular model.
|
Modifier and Type | Field and Description |
---|---|
protected T |
LXModelLayer.model |
protected LXModel |
LXModelComponent.model |
protected LXModel |
LX.model
The pixel model.
|
Modifier and Type | Method and Description |
---|---|
LXModel |
LXModelComponent.getModel() |
LXModel |
LXEngine.Frame.getModel() |
LXModel |
LX.getModel()
Returns the model in use
|
LXModel |
LX.instantiateModel(String className) |
Modifier and Type | Method and Description |
---|---|
protected LXLayeredComponent |
LXLayeredComponent.addColor(LXModel model,
int c)
Adds the color to the fixture
|
protected LXLayeredComponent |
LXLayeredComponent.blendColor(LXModel model,
int c,
LXColor.Blend blendMode) |
default void |
LX.Listener.modelChanged(LX lx,
LXModel model)
Fired whenever a new model instance is set on this LX instance.
|
default void |
LX.Listener.modelGenerationChanged(LX lx,
LXModel model)
Fired when the generation of a model has been changed.
|
protected void |
LXModelComponent.onModelChanged(LXModel model)
Subclasses should override to handle changes to which model
they are addressing.
|
protected LXLayeredComponent |
LXLayeredComponent.setColor(LXModel model,
int c)
Sets the color of all points in a fixture
|
LXModelComponent |
LXModelLayer.setModel(LXModel model) |
LXModelComponent |
LXModelComponent.setModel(LXModel model) |
void |
LXEngine.Frame.setModel(LXModel model) |
Constructor and Description |
---|
LX(LX.Flags flags,
LXModel model) |
LX(LXModel model)
Constructs an LX instance with the given pixel model
|
Modifier and Type | Class and Description |
---|---|
class |
LXModelEffect<T extends LXModel> |
Modifier and Type | Field and Description |
---|---|
protected T |
LXModelEffect.model |
Modifier and Type | Method and Description |
---|---|
protected void |
SparkleEffect.onModelChanged(LXModel model) |
LXModelComponent |
LXModelEffect.setModel(LXModel model) |
Modifier and Type | Method and Description |
---|---|
protected void |
LXChannel.onModelChanged(LXModel model) |
protected void |
LXBus.onModelChanged(LXModel model) |
Modifier and Type | Class and Description |
---|---|
class |
GridModel
Model of points in a simple grid.
|
class |
GridModel.Strip |
class |
StripModel
Simple model of a strip of points in one axis.
|
Modifier and Type | Field and Description |
---|---|
LXModel[] |
LXModel.children
An immutable list of all the children of this model
|
Modifier and Type | Method and Description |
---|---|
LXModel |
LXModel.addListener(LXModel.Listener listener) |
LXModel |
LXModel.bang()
Should be invoked when some of the geometry inside a model has been changed, but the
total point count and structure is the same.
|
LXModel |
LXModel.getParent() |
LXModel |
LXModel.normalizePoints()
Sets the normalized values of all the points in this model (xn, yn, zn)
relative to this model's absolute bounds.
|
LXModel |
LXModel.reindexPoints()
Reindexes all the points in this model from 0 up to the number of points.
|
LXModel |
LXModel.removeListener(LXModel.Listener listener) |
LXModel |
LXModelBuilder.toModel()
Converts the builder into an immutable model
|
LXModel |
LXModel.update()
Update the meta-values in this model.
|
LXModel |
LXModel.update(boolean normalize)
Update the averages and mins/maxes of the model.
|
LXModel |
LXModel.update(boolean normalize,
boolean recurse)
Updates the averages and min/maxes of the model
|
Modifier and Type | Method and Description |
---|---|
List<LXModel> |
LXModel.children(String key)
Returns a list of all the direct child components by particular key.
|
List<LXModel> |
LXModel.sub(String key)
Returns a list of all the submodel components by particular key, at any level of depth, may be
many levels of descendants contained here
|
Modifier and Type | Method and Description |
---|---|
void |
LXModel.Listener.modelGenerationUpdated(LXModel model)
Invoked when the geometry of a model has been updated.
|
Constructor and Description |
---|
LXModel(List<LXPoint> points,
LXModel[] children)
Constructs a model with a given set of points and pre-constructed children.
|
LXModel(List<LXPoint> points,
LXModel[] children,
Map<String,String> metaData,
String... keys)
Constructs a model with a given set of points and pre-constructed submodels.
|
LXModel(List<LXPoint> points,
LXModel[] children,
String... keys)
Constructs a model with a given set of points and pre-constructed submodels.
|
LXModel(LXModel[] children)
Constructs a model from the given submodels.
|
Constructor and Description |
---|
ArtNetDatagram(LX lx,
LXModel model)
Creates an ArtNetDatagram for the given model
|
ArtNetDatagram(LX lx,
LXModel model,
int universeNumber)
Creates an ArtNetDatagram for the given model and universe number
|
ArtNetDatagram(LX lx,
LXModel model,
int dataLength,
int universeNumber)
Creates an ArtNetDatagram for the given model, with fixed data length and universe
|
ArtNetDatagram(LX lx,
LXModel model,
LXBufferOutput.ByteOrder byteOrder,
int universeNumber)
Creates an ArtNetDatagram for the given model, universe, and byte order
|
ArtNetDatagram(LX lx,
LXModel model,
LXBufferOutput.ByteOrder byteOrder,
int dataLength,
int universeNumber)
Creates an ArtNetDatagram with fixed data length for given model, universe, and byte ordering
|
DDPDatagram(LX lx,
LXModel model) |
DDPOutputGroup(LX lx,
LXModel model) |
DDPOutputGroup(LX lx,
LXModel model,
int chunkSize) |
FadecandySocket(LX lx,
LXModel model) |
KinetDatagram(LX lx,
LXModel model,
int kinetPort)
Constructs a datagram that sends on the given kinet supply output port
|
KinetDatagram(LX lx,
LXModel model,
int kinetPort,
KinetDatagram.Version version)
Constructs a datagram that sends on the given kinet supply output port
|
OPCDatagram(LX lx,
LXModel model) |
OPCDatagram(LX lx,
LXModel model,
byte channel) |
OPCSocket(LX lx,
LXModel model) |
StreamingACNDatagram(LX lx,
LXModel model)
Creates a StreamingACNDatagram for the given model
|
StreamingACNDatagram(LX lx,
LXModel model,
int universeNumber)
Creates a StreamingACNDatagram for the model on given universe
|
Modifier and Type | Class and Description |
---|---|
class |
LXModelPattern<T extends LXModel>
Templatized version of the LXPattern class, which strongly types a particular model.
|
Modifier and Type | Field and Description |
---|---|
protected T |
LXModelPattern.model |
Modifier and Type | Method and Description |
---|---|
LXModelComponent |
LXModelPattern.setModel(LXModel model) |
Modifier and Type | Method and Description |
---|---|
protected void |
TestPattern.onModelChanged(LXModel model) |
Modifier and Type | Method and Description |
---|---|
protected void |
SparklePattern.onModelChanged(LXModel model) |
void |
SparklePattern.Engine.run(double deltaMs,
LXModel model) |
void |
SparklePattern.Engine.setModel(LXModel model) |
Constructor and Description |
---|
Engine(LXModel model) |
Modifier and Type | Class and Description |
---|---|
class |
LXFixture.Submodel
Helper class to ensure that Submodels are *only* constructed
using the points from the produced LXModel array.
|
Modifier and Type | Method and Description |
---|---|
protected LXModel |
LXFixture.constructModel(List<LXPoint> modelPoints,
List<? extends LXModel> childModels,
String[] modelKeys)
Subclasses may override this method to use custom model type
|
LXModel |
LXStructure.getModel() |
Modifier and Type | Method and Description |
---|---|
LXStructure |
LXStructure.setStaticModel(LXModel model) |
void |
LXStructure.ModelListener.structureChanged(LXModel model) |
void |
LXStructure.ModelListener.structureGenerationChanged(LXModel model) |
Modifier and Type | Method and Description |
---|---|
protected LXModel |
LXFixture.constructModel(List<LXPoint> modelPoints,
List<? extends LXModel> childModels,
String[] modelKeys)
Subclasses may override this method to use custom model type
|
Constructor and Description |
---|
LXStructure(LX lx,
LXModel immutable) |
Constructor and Description |
---|
LXStudio(PApplet applet,
LXModel model) |
LXStudio(PApplet applet,
LXStudio.Flags flags,
LXModel model) |
Constructor and Description |
---|
LXProjection(LXModel model)
Constructs a projection view of the given model
|
Constructor and Description |
---|
P3LX(PApplet applet,
LXModel model) |
P3LX(PApplet applet,
P3LX.Flags flags,
LXModel model) |
LX library by Mark C. Slee. © 2012-2020