Package heronarts.lx.structure
Class LXFixture.Submodel
java.lang.Object
heronarts.lx.model.LXNormalizationBounds
heronarts.lx.model.LXModel
heronarts.lx.structure.LXFixture.Submodel
- All Implemented Interfaces:
LXSerializable
- Enclosing class:
- LXFixture
Helper class to ensure that Submodels are *only* constructed
using the points from the produced LXModel array. No other
constructors are allowed.
-
Nested Class Summary
Nested classes/interfaces inherited from class heronarts.lx.model.LXModel
LXModel.Geometry, LXModel.GeometryFunction, LXModel.Listener, LXModel.Tag
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSubmodel
(int start, int n) Subclasses may use this helper to construct a submodel object from a set of points in this model.Subclasses may use this helper to construct a submodel object from a set of points in this model.Subclasses may use this helper to construct a submodel object from a set of points in this model.Subclasses may use this helper to construct a submodel object from a set of points in this model.Subclasses may use this helper to construct a submodel object from a set of points in this model. -
Method Summary
Methods inherited from class heronarts.lx.model.LXModel
addListener, ancestor, bang, children, computeGeometry, contains, debugPrint, dispose, getGeneration, getGeometry, getGeometry, getNormalizationBounds, getParent, getPath, getPoints, getRoot, load, meta, normalizePoints, reindexPoints, removeListener, save, sub, toIndexBuffer, toIndexBuffer, update, update, update, validateTags
-
Constructor Details
-
Submodel
public Submodel(int start, int n) Subclasses may use this helper to construct a submodel object from a set of points in this model.- Parameters:
start
- Start indexn
- Number of points in the submodel
-
Submodel
Subclasses may use this helper to construct a submodel object from a set of points in this model.- Parameters:
start
- Start indexn
- Number of points in the submodeltags
- Model tags for submodel
-
Submodel
Subclasses may use this helper to construct a submodel object from a set of points in this model.- Parameters:
start
- Start indexn
- Number of points in the submodelstride
- Stride size for selecting submodel pointstags
- Model tags for submodel
-
Submodel
Subclasses may use this helper to construct a submodel object from a set of points in this model.- Parameters:
start
- Start indexn
- Number of points in the submodelmetaData
- Metadata for this submodeltags
- Model tags for submodel
-
Submodel
Subclasses may use this helper to construct a submodel object from a set of points in this model.- Parameters:
start
- Start indexn
- Number of points in the submodelstride
- Stride size for selecting submodel pointsmetaData
- Metadata for submodeltags
- Model tags for submodel
-