Package | Description |
---|---|
heronarts.lx.model |
Geometry models, points and fixtures.
|
heronarts.lx.structure | |
heronarts.lx.transform |
Utilities for 3-D transformations and model manipulation.
|
Modifier and Type | Field and Description |
---|---|
LXMatrix |
LXModel.transform
A transform matrix that represents the positioning of this model
in the global space, if part of the structure.
|
Modifier and Type | Method and Description |
---|---|
LXPoint |
LXPoint.multiply(LXMatrix matrix)
Multiplies the points coordinates by the given transformation matrix
|
LXPoint |
LXPoint.set(LXMatrix matrix)
Set the x, y, and z values based upon the position of a transform matrix
|
LXPoint |
LXPoint.set(LXMatrix matrix,
LXPoint that)
Set the x, y, and z values based upon another point multiplied by a transform matrix
|
LXPoint |
LXPoint.set(LXMatrix matrix,
LXVector that)
Set the x, y, and z values based upon another point multiplied by a transform matrix
|
Modifier and Type | Method and Description |
---|---|
LXMatrix |
LXFixture.getGeometryMatrix()
Returns a copy of the geometry matrix for this fixture
|
LXMatrix |
LXFixture.getGeometryMatrix(LXMatrix m)
Returns the geometry transformation matrix, copied into the given matrix
|
Modifier and Type | Method and Description |
---|---|
protected void |
LXFixture.computeGeometryMatrix(LXMatrix geometryMatrix)
Subclasses may override this if they perform geometric transformations in a
different order or using totally different parameters.
|
protected void |
JsonFixture.computeGeometryMatrix(LXMatrix geometryMatrix) |
protected void |
StripFixture.computePointGeometry(LXMatrix transform,
List<LXPoint> points) |
protected void |
PointFixture.computePointGeometry(LXMatrix transform,
List<LXPoint> points) |
protected abstract void |
LXFixture.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 void |
JsonFixture.computePointGeometry(LXMatrix matrix,
List<LXPoint> points) |
protected void |
GridFixture.computePointGeometry(LXMatrix matrix,
List<LXPoint> points) |
protected void |
ArcFixture.computePointGeometry(LXMatrix transform,
List<LXPoint> points) |
LXMatrix |
LXFixture.getGeometryMatrix(LXMatrix m)
Returns the geometry transformation matrix, copied into the given matrix
|
Modifier and Type | Method and Description |
---|---|
LXMatrix |
LXTransform.getMatrix()
Returns the current state of the transformation matrix
|
LXMatrix |
LXMatrix.identity()
Resets this matrix to the identity matrix
|
LXMatrix |
LXMatrix.multiply(float b11,
float b12,
float b13,
float b14,
float b21,
float b22,
float b23,
float b24,
float b31,
float b32,
float b33,
float b34,
float b41,
float b42,
float b43,
float b44) |
LXMatrix |
LXMatrix.multiply(LXMatrix m)
Multiplies the matrix by another matrix
|
LXMatrix |
LXMatrix.rotateX(float rx) |
LXMatrix |
LXMatrix.rotateY(float ry) |
LXMatrix |
LXMatrix.rotateZ(float rz) |
LXMatrix |
LXMatrix.scale(float sv) |
LXMatrix |
LXMatrix.scale(float sx,
float sy,
float sz) |
LXMatrix |
LXMatrix.scaleX(float sx) |
LXMatrix |
LXMatrix.scaleY(float sy) |
LXMatrix |
LXMatrix.scaleZ(float sz) |
LXMatrix |
LXMatrix.set(float[] m) |
LXMatrix |
LXMatrix.set(LXMatrix that) |
LXMatrix |
LXMatrix.translate(float tx,
float ty,
float tz) |
LXMatrix |
LXMatrix.translateX(float tx) |
LXMatrix |
LXMatrix.translateY(float ty) |
LXMatrix |
LXMatrix.translateZ(float tz) |
Modifier and Type | Method and Description |
---|---|
LXTransform |
LXTransform.multiply(LXMatrix m)
Multiplies the transform by a transformation matrix
|
LXMatrix |
LXMatrix.multiply(LXMatrix m)
Multiplies the matrix by another matrix
|
LXTransform |
LXTransform.reset(LXMatrix matrix)
Reset this transform to the given matrix
|
LXMatrix |
LXMatrix.set(LXMatrix that) |
Constructor and Description |
---|
LXMatrix(LXMatrix that)
Copies the existing matrix
|
LXTransform(LXMatrix matrix)
Constructs a new transform with the given base matrix
|
LX library by Mark C. Slee. © 2012-2020