Uses of Class
heronarts.lx.transform.LXMatrix
Package
Description
Geometry models, points and fixtures.
Utilities for 3-D transformations and model manipulation.
-
Uses of LXMatrix in heronarts.lx.model
Modifier and TypeFieldDescriptionfinal LXMatrix
LXModel.transform
A transform matrix that represents the positioning of this model in the global space, if part of the structure.Modifier and TypeMethodDescriptionMultiplies the points coordinates by the given transformation matrixSet the x, y, and z values based upon the position of a transform matrixSet the x, y, and z values based upon another point multiplied by a transform matrixSet the x, y, and z values based upon another point multiplied by a transform matrix -
Uses of LXMatrix in heronarts.lx.structure
Modifier and TypeMethodDescriptionLXFixture.getGeometryMatrix()
Returns a copy of the geometry matrix for this fixtureLXFixture.getGeometryMatrix
(LXMatrix m) Returns the geometry transformation matrix, copied into the given matrixModifier and TypeMethodDescriptionprotected 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
ArcFixture.computePointGeometry
(LXMatrix transform, List<LXPoint> points) protected void
GridFixture.computePointGeometry
(LXMatrix matrix, List<LXPoint> points) protected void
JsonFixture.computePointGeometry
(LXMatrix matrix, 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
PointFixture.computePointGeometry
(LXMatrix transform, List<LXPoint> points) protected void
PointListFixture.computePointGeometry
(LXMatrix transform, List<LXPoint> points) protected void
SpiralFixture.computePointGeometry
(LXMatrix transform, List<LXPoint> points) protected void
StripFixture.computePointGeometry
(LXMatrix transform, List<LXPoint> points) LXFixture.getGeometryMatrix
(LXMatrix m) Returns the geometry transformation matrix, copied into the given matrix -
Uses of LXMatrix in heronarts.lx.transform
Modifier and TypeMethodDescriptionLXTransform.getMatrix()
Returns the current state of the transformation matrixLXMatrix.identity()
Resets this matrix to the identity matrixLXMatrix.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) Multiplies the matrix by another matrixLXMatrix.rotateX
(float rx) LXMatrix.rotateY
(float ry) LXMatrix.rotateZ
(float rz) LXMatrix.scale
(float sv) LXMatrix.scale
(float sx, float sy, float sz) LXMatrix.scaleX
(float sx) LXMatrix.scaleY
(float sy) LXMatrix.scaleZ
(float sz) LXMatrix.set
(float[] m) LXMatrix.shearXY
(float rz) LXMatrix.shearXZ
(float ry) LXMatrix.shearYX
(float rz) LXMatrix.shearYZ
(float rx) LXMatrix.shearZX
(float ry) LXMatrix.shearZY
(float rx) LXMatrix.translate
(float tx, float ty, float tz) LXMatrix.translateX
(float tx) LXMatrix.translateY
(float ty) LXMatrix.translateZ
(float tz) Modifier and TypeMethodDescriptionMultiplies the matrix by another matrixMultiplies the transform by a transformation matrixReset this transform to the given matrixvoid
LXParameterizedMatrix.UpdateFunction.updateMatrix
(LXMatrix matrix) ModifierConstructorDescriptionCopies the existing matrixLXTransform
(LXMatrix matrix) Constructs a new transform with the given base matrix