static class TransformUtils.ImmutableTransform extends Transform
| Modifier and Type | Field and Description |
|---|---|
private static int |
APPLY_3D_COMPLEX |
private static int |
APPLY_IDENTITY |
private static int |
APPLY_NON_3D |
private static int |
APPLY_SCALE |
private static int |
APPLY_SHEAR |
private static int |
APPLY_TRANSLATE |
private int |
state2d |
private int |
state3d |
private double |
xt |
private double |
xx |
private double |
xy |
private double |
xz |
private double |
yt |
private double |
yx |
private double |
yy |
private double |
yz |
private double |
zt |
private double |
zx |
private double |
zy |
private double |
zz |
| Constructor and Description |
|---|
ImmutableTransform() |
ImmutableTransform(double mxx,
double mxy,
double mxz,
double tx,
double myx,
double myy,
double myz,
double ty,
double mzx,
double mzy,
double mzz,
double tz) |
ImmutableTransform(Transform transform) |
| Modifier and Type | Method and Description |
|---|---|
Transform |
clone()
Returns a deep copy of this transform.
|
Transform |
createConcatenation(Transform transform)
Returns the concatenation of this transform and the specified transform.
|
Affine |
createInverse()
Returns the inverse transform of this transform.
|
Point2D |
deltaTransform(double x,
double y)
Transforms the relative magnitude vector by this transform.
|
Point3D |
deltaTransform(double x,
double y,
double z)
Transforms the relative magnitude vector by this transform.
|
double |
determinant()
Computes determinant of the transformation matrix.
|
(package private) void |
ensureCanTransform2DPoint() |
double |
getMxx()
Gets the X coordinate scaling element of the 3x4 matrix.
|
double |
getMxy()
Gets the XY coordinate element of the 3x4 matrix.
|
double |
getMxz()
Gets the XZ coordinate element of the 3x4 matrix.
|
double |
getMyx()
Gets the YX coordinate element of the 3x4 matrix.
|
double |
getMyy()
Gets the Y coordinate scaling element of the 3x4 matrix.
|
double |
getMyz()
Gets the YZ coordinate element of the 3x4 matrix.
|
double |
getMzx()
Gets the ZX coordinate element of the 3x4 matrix.
|
double |
getMzy()
Gets the ZY coordinate element of the 3x4 matrix.
|
double |
getMzz()
Gets the Z coordinate scaling element of the 3x4 matrix.
|
(package private) int |
getState2d()
Used only by tests to check the 2d matrix state
|
(package private) int |
getState3d()
Used only by tests to check the 3d matrix state
|
double |
getTx()
Gets the X coordinate translation element of the 3x4 matrix.
|
double |
getTy()
Gets the Y coordinate translation element of the 3x4 matrix.
|
double |
getTz()
Gets the Z coordinate translation element of the 3x4 matrix.
|
void |
impl_apply(Affine3D trans)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
BaseTransform |
impl_derive(BaseTransform trans)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Point2D |
inverseDeltaTransform(double x,
double y)
Transforms the relative magnitude vector by the inverse of this transform.
|
Point3D |
inverseDeltaTransform(double x,
double y,
double z)
Transforms the relative magnitude vector by the inverse of this transform.
|
Point2D |
inverseTransform(double x,
double y)
Transforms the specified point by the inverse of this transform.
|
Point3D |
inverseTransform(double x,
double y,
double z)
Transforms the specified point by the inverse of this transform.
|
private void |
setToConcatenation(TransformUtils.ImmutableTransform left,
TransformUtils.ImmutableTransform right) |
private void |
setToTransform(double mxx,
double mxy,
double mxz,
double tx,
double myx,
double myy,
double myz,
double ty,
double mzx,
double mzy,
double mzz,
double tz) |
private static void |
stateError() |
java.lang.String |
toString() |
Point2D |
transform(double x,
double y)
Transforms the specified point by this transform.
|
Point3D |
transform(double x,
double y,
double z)
Transforms the specified point by this transform.
|
private void |
updateState() |
private void |
updateState2D() |
addEventFilter, addEventHandler, affine, affine, buildEventDispatchChain, column, column, deltaTransform, deltaTransform, getElement, getOnTransformChanged, identityProperty, impl_add, impl_remove, inverseDeltaTransform, inverseDeltaTransform, inverseTransform, inverseTransform, inverseTransform, inverseTransform2DPoints, inverseTransform3DPoints, isIdentity, isType2D, onTransformChangedProperty, removeEventFilter, removeEventHandler, rotate, row, row, scale, scale, setOnTransformChanged, shear, shear, similarTo, toArray, toArray, transform, transform, transform, transform2DPoints, transform3DPoints, transformChanged, translate, type2DPropertyprivate static final int APPLY_IDENTITY
private static final int APPLY_TRANSLATE
private static final int APPLY_SCALE
private static final int APPLY_SHEAR
private static final int APPLY_NON_3D
private static final int APPLY_3D_COMPLEX
private transient int state2d
private transient int state3d
private double xx
private double xy
private double xz
private double yx
private double yy
private double yz
private double zx
private double zy
private double zz
private double xt
private double yt
private double zt
public ImmutableTransform()
public ImmutableTransform(Transform transform)
public ImmutableTransform(double mxx,
double mxy,
double mxz,
double tx,
double myx,
double myy,
double myz,
double ty,
double mzx,
double mzy,
double mzz,
double tz)
private void setToTransform(double mxx,
double mxy,
double mxz,
double tx,
double myx,
double myy,
double myz,
double ty,
double mzx,
double mzy,
double mzz,
double tz)
private void setToConcatenation(TransformUtils.ImmutableTransform left, TransformUtils.ImmutableTransform right)
public double getMxx()
Transformpublic double getMxy()
Transformpublic double getMxz()
Transformpublic double getTx()
Transformpublic double getMyx()
Transformpublic double getMyy()
Transformpublic double getMyz()
Transformpublic double getTy()
Transformpublic double getMzx()
Transformpublic double getMzy()
Transformpublic double getMzz()
Transformpublic double getTz()
Transformpublic double determinant()
Transformdeterminant in class Transformpublic Transform createConcatenation(Transform transform)
TransformgetTransforms() list,
this transform first and the specified transform second.createConcatenation in class Transformtransform - transform to be concatenated with this transformpublic Affine createInverse() throws NonInvertibleTransformException
TransformcreateInverse in class TransformNonInvertibleTransformException - if this transform
cannot be invertedpublic Transform clone()
Transformpublic Point2D transform(double x, double y)
Transformpublic Point3D transform(double x, double y, double z)
Transformpublic Point2D deltaTransform(double x, double y)
TransformdeltaTransform in class Transformx - vector magnitude in the direction of the X axisy - vector magnitude in the direction of the Y axisPoint2D instancepublic Point3D deltaTransform(double x, double y, double z)
TransformdeltaTransform in class Transformx - vector magnitude in the direction of the X axisy - vector magnitude in the direction of the Y axisPoint3D instancepublic Point2D inverseTransform(double x, double y) throws NonInvertibleTransformException
TransforminverseTransform in class Transformx - the X coordinate of the pointy - the Y coordinate of the pointNonInvertibleTransformException - if this transform
cannot be invertedpublic Point3D inverseTransform(double x, double y, double z) throws NonInvertibleTransformException
TransforminverseTransform in class Transformx - the X coordinate of the pointy - the Y coordinate of the pointz - the Z coordinate of the pointNonInvertibleTransformException - if this transform
cannot be invertedpublic Point2D inverseDeltaTransform(double x, double y) throws NonInvertibleTransformException
TransforminverseDeltaTransform in class Transformx - vector magnitude in the direction of the X axisy - vector magnitude in the direction of the Y axisPoint2D instanceNonInvertibleTransformException - if this transform
cannot be invertedpublic Point3D inverseDeltaTransform(double x, double y, double z) throws NonInvertibleTransformException
TransforminverseDeltaTransform in class Transformx - vector magnitude in the direction of the X axisy - vector magnitude in the direction of the Y axisPoint3D instanceNonInvertibleTransformException - if this transform
cannot be invertedpublic java.lang.String toString()
toString in class java.lang.Objectprivate void updateState()
private void updateState2D()
void ensureCanTransform2DPoint()
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionprivate static void stateError()
@Deprecated public void impl_apply(Affine3D trans)
impl_apply in class Transform@Deprecated public BaseTransform impl_derive(BaseTransform trans)
impl_derive in class Transformint getState2d()
int getState3d()