JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.math.geom.plane.AffineTransform Class Reference
Collaboration diagram for com.jogamp.math.geom.plane.AffineTransform:

Public Member Functions

 AffineTransform ()
 
 AffineTransform (final AffineTransform t)
 
 AffineTransform (final float m00, final float m10, final float m01, final float m11, final float m02, final float m12)
 
 AffineTransform (final float[] matrix)
 
int getType ()
 
final float getScaleX ()
 
final float getScaleY ()
 
final float getShearX ()
 
final float getShearY ()
 
final float getTranslateX ()
 
final float getTranslateY ()
 
final boolean isIdentity ()
 
final void getMatrix (final float[] matrix)
 
final float getDeterminant ()
 
final AffineTransform setTransform (final float m00, final float m10, final float m01, final float m11, final float m02, final float m12)
 
final AffineTransform setTransform (final AffineTransform t)
 
final AffineTransform setToIdentity ()
 
final AffineTransform setToTranslation (final float mx, final float my)
 
final AffineTransform setToScale (final float scx, final float scy)
 
final AffineTransform setToShear (final float shx, final float shy)
 
final AffineTransform setToRotation (final float angle)
 
final AffineTransform setToRotation (final float angle, final float px, final float py)
 
final AffineTransform translate (final float mx, final float my, final AffineTransform tmp)
 
final AffineTransform scale (final float scx, final float scy, final AffineTransform tmp)
 
final AffineTransform shear (final float shx, final float shy, final AffineTransform tmp)
 
final AffineTransform rotate (final float angle, final AffineTransform tmp)
 
final AffineTransform rotate (final float angle, final float px, final float py, final AffineTransform tmp)
 
final AffineTransform concatenate (final AffineTransform tR)
 Concatenates the given matrix to this. More...
 
final AffineTransform preConcatenate (final AffineTransform tL)
 Pre-concatenates the given matrix to this. More...
 
final AffineTransform createInverse () throws NoninvertibleTransformException
 
final AABBox transform (final AABBox src, final AABBox dst)
 
final Vertex transform (final Vertex src, final Vertex dst)
 
final void transform (final Vertex[] src, int srcOff, final Vertex[] dst, int dstOff, int length)
 
final float[] transform (final float[] src, final float[] dst)
 
final void transform (final float[] src, final int srcOff, final float[] dst, final int dstOff)
 
final void transform (final float[] src, int srcOff, final float[] dst, int dstOff, int length)
 
final Vec2f transform (final Vec2f src, final Vec2f dst)
 
final Vec3f transform (final Vec3f src, final Vec3f dst)
 
final Vertex deltaTransform (final Vertex src, final Vertex dst)
 
final void deltaTransform (final float[] src, int srcOff, final float[] dst, int dstOff, int length)
 
final Vertex inverseTransform (final Vertex src, final Vertex dst) throws NoninvertibleTransformException
 
final void inverseTransform (final float[] src, int srcOff, final float[] dst, int dstOff, int length) throws NoninvertibleTransformException
 
final String toString ()
 
final boolean equals (final Object obj)
 @Override public int hashCode() { HashCode hash = new HashCode(); hash.append(m00); hash.append(m01); hash.append(m02); hash.append(m10); hash.append(m11); hash.append(m12); return hash.hashCode(); } More...
 
final int hashCode ()
 

Static Public Member Functions

static final AffineTransform multiply (final AffineTransform tL, final AffineTransform tR)
 Multiply matrix of two AffineTransform objects. More...
 

Static Public Attributes

static final int TYPE_IDENTITY = 0
 
static final int TYPE_TRANSLATION = 1
 
static final int TYPE_UNIFORM_SCALE = 2
 
static final int TYPE_GENERAL_SCALE = 4
 
static final int TYPE_QUADRANT_ROTATION = 8
 
static final int TYPE_GENERAL_ROTATION = 16
 
static final int TYPE_GENERAL_TRANSFORM = 32
 
static final int TYPE_FLIP = 64
 
static final int TYPE_MASK_SCALE = TYPE_UNIFORM_SCALE | TYPE_GENERAL_SCALE
 
static final int TYPE_MASK_ROTATION = TYPE_QUADRANT_ROTATION | TYPE_GENERAL_ROTATION
 

Detailed Description

Definition at line 31 of file AffineTransform.java.

Constructor & Destructor Documentation

◆ AffineTransform() [1/4]

com.jogamp.math.geom.plane.AffineTransform.AffineTransform ( )

Definition at line 71 of file AffineTransform.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AffineTransform() [2/4]

com.jogamp.math.geom.plane.AffineTransform.AffineTransform ( final AffineTransform  t)

Definition at line 75 of file AffineTransform.java.

◆ AffineTransform() [3/4]

com.jogamp.math.geom.plane.AffineTransform.AffineTransform ( final float  m00,
final float  m10,
final float  m01,
final float  m11,
final float  m02,
final float  m12 
)

Definition at line 85 of file AffineTransform.java.

◆ AffineTransform() [4/4]

com.jogamp.math.geom.plane.AffineTransform.AffineTransform ( final float[]  matrix)

Definition at line 95 of file AffineTransform.java.

Member Function Documentation

◆ concatenate()

final AffineTransform com.jogamp.math.geom.plane.AffineTransform.concatenate ( final AffineTransform  tR)

Concatenates the given matrix to this.

Implementations performs the matrix multiplication:

  [this] = [this] X [tR]
Parameters
tRthe right-argument of the matrix multiplication
Returns
this transform for chaining

Definition at line 351 of file AffineTransform.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createInverse()

final AffineTransform com.jogamp.math.geom.plane.AffineTransform.createInverse ( ) throws NoninvertibleTransformException

Definition at line 388 of file AffineTransform.java.

Here is the call graph for this function:

◆ deltaTransform() [1/2]

final void com.jogamp.math.geom.plane.AffineTransform.deltaTransform ( final float[]  src,
int  srcOff,
final float[]  dst,
int  dstOff,
int  length 
)

Definition at line 520 of file AffineTransform.java.

◆ deltaTransform() [2/2]

final Vertex com.jogamp.math.geom.plane.AffineTransform.deltaTransform ( final Vertex  src,
final Vertex  dst 
)
Parameters
src
dst
Returns
return dst for chaining

Definition at line 513 of file AffineTransform.java.

Here is the call graph for this function:

◆ equals()

final boolean com.jogamp.math.geom.plane.AffineTransform.equals ( final Object  obj)

@Override public int hashCode() { HashCode hash = new HashCode(); hash.append(m00); hash.append(m01); hash.append(m02); hash.append(m10); hash.append(m11); hash.append(m12); return hash.hashCode(); }

Definition at line 584 of file AffineTransform.java.

Here is the call graph for this function:

◆ getDeterminant()

final float com.jogamp.math.geom.plane.AffineTransform.getDeterminant ( )

Definition at line 210 of file AffineTransform.java.

Here is the caller graph for this function:

◆ getMatrix()

final void com.jogamp.math.geom.plane.AffineTransform.getMatrix ( final float[]  matrix)

Definition at line 199 of file AffineTransform.java.

◆ getScaleX()

final float com.jogamp.math.geom.plane.AffineTransform.getScaleX ( )

Definition at line 171 of file AffineTransform.java.

◆ getScaleY()

final float com.jogamp.math.geom.plane.AffineTransform.getScaleY ( )

Definition at line 175 of file AffineTransform.java.

◆ getShearX()

final float com.jogamp.math.geom.plane.AffineTransform.getShearX ( )

Definition at line 179 of file AffineTransform.java.

◆ getShearY()

final float com.jogamp.math.geom.plane.AffineTransform.getShearY ( )

Definition at line 183 of file AffineTransform.java.

◆ getTranslateX()

final float com.jogamp.math.geom.plane.AffineTransform.getTranslateX ( )

Definition at line 187 of file AffineTransform.java.

Here is the caller graph for this function:

◆ getTranslateY()

final float com.jogamp.math.geom.plane.AffineTransform.getTranslateY ( )

Definition at line 191 of file AffineTransform.java.

Here is the caller graph for this function:

◆ getType()

int com.jogamp.math.geom.plane.AffineTransform.getType ( )

Definition at line 126 of file AffineTransform.java.

Here is the caller graph for this function:

◆ hashCode()

final int com.jogamp.math.geom.plane.AffineTransform.hashCode ( )

Definition at line 598 of file AffineTransform.java.

◆ inverseTransform() [1/2]

final void com.jogamp.math.geom.plane.AffineTransform.inverseTransform ( final float[]  src,
int  srcOff,
final float[]  dst,
int  dstOff,
int  length 
) throws NoninvertibleTransformException

Definition at line 547 of file AffineTransform.java.

Here is the call graph for this function:

◆ inverseTransform() [2/2]

final Vertex com.jogamp.math.geom.plane.AffineTransform.inverseTransform ( final Vertex  src,
final Vertex  dst 
) throws NoninvertibleTransformException
Parameters
src
dst
Returns
return dst for chaining
Exceptions
NoninvertibleTransformException

Definition at line 536 of file AffineTransform.java.

Here is the call graph for this function:

◆ isIdentity()

final boolean com.jogamp.math.geom.plane.AffineTransform.isIdentity ( )

Definition at line 195 of file AffineTransform.java.

Here is the call graph for this function:

◆ multiply()

static final AffineTransform com.jogamp.math.geom.plane.AffineTransform.multiply ( final AffineTransform  tL,
final AffineTransform  tR 
)
static

Multiply matrix of two AffineTransform objects.

Parameters
tL- the AffineTransform object is a multiplicand (left argument)
tR- the AffineTransform object is a multiplier (right argument)
Returns
A new AffineTransform object containing the result of [tL] X [tR].

Definition at line 330 of file AffineTransform.java.

Here is the call graph for this function:

◆ preConcatenate()

final AffineTransform com.jogamp.math.geom.plane.AffineTransform.preConcatenate ( final AffineTransform  tL)

Pre-concatenates the given matrix to this.

Implementations performs the matrix multiplication:

  [this] = [tL] X [this]
Parameters
tLthe left-argument of the matrix multiplication
Returns
this transform for chaining

Definition at line 375 of file AffineTransform.java.

Here is the call graph for this function:

◆ rotate() [1/2]

final AffineTransform com.jogamp.math.geom.plane.AffineTransform.rotate ( final float  angle,
final AffineTransform  tmp 
)

Definition at line 315 of file AffineTransform.java.

Here is the call graph for this function:

◆ rotate() [2/2]

final AffineTransform com.jogamp.math.geom.plane.AffineTransform.rotate ( final float  angle,
final float  px,
final float  py,
final AffineTransform  tmp 
)

Definition at line 319 of file AffineTransform.java.

Here is the call graph for this function:

◆ scale()

final AffineTransform com.jogamp.math.geom.plane.AffineTransform.scale ( final float  scx,
final float  scy,
final AffineTransform  tmp 
)

Definition at line 307 of file AffineTransform.java.

Here is the call graph for this function:

◆ setToIdentity()

final AffineTransform com.jogamp.math.geom.plane.AffineTransform.setToIdentity ( )

Definition at line 231 of file AffineTransform.java.

Here is the caller graph for this function:

◆ setToRotation() [1/2]

final AffineTransform com.jogamp.math.geom.plane.AffineTransform.setToRotation ( final float  angle)

Definition at line 276 of file AffineTransform.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setToRotation() [2/2]

final AffineTransform com.jogamp.math.geom.plane.AffineTransform.setToRotation ( final float  angle,
final float  px,
final float  py 
)

Definition at line 295 of file AffineTransform.java.

Here is the call graph for this function:

◆ setToScale()

final AffineTransform com.jogamp.math.geom.plane.AffineTransform.setToScale ( final float  scx,
final float  scy 
)

Definition at line 251 of file AffineTransform.java.

Here is the caller graph for this function:

◆ setToShear()

final AffineTransform com.jogamp.math.geom.plane.AffineTransform.setToShear ( final float  shx,
final float  shy 
)

Definition at line 263 of file AffineTransform.java.

Here is the caller graph for this function:

◆ setToTranslation()

final AffineTransform com.jogamp.math.geom.plane.AffineTransform.setToTranslation ( final float  mx,
final float  my 
)

Definition at line 238 of file AffineTransform.java.

Here is the caller graph for this function:

◆ setTransform() [1/2]

final AffineTransform com.jogamp.math.geom.plane.AffineTransform.setTransform ( final AffineTransform  t)

Definition at line 225 of file AffineTransform.java.

Here is the call graph for this function:

◆ setTransform() [2/2]

final AffineTransform com.jogamp.math.geom.plane.AffineTransform.setTransform ( final float  m00,
final float  m10,
final float  m01,
final float  m11,
final float  m02,
final float  m12 
)

Definition at line 214 of file AffineTransform.java.

Here is the caller graph for this function:

◆ shear()

final AffineTransform com.jogamp.math.geom.plane.AffineTransform.shear ( final float  shx,
final float  shy,
final AffineTransform  tmp 
)

Definition at line 311 of file AffineTransform.java.

Here is the call graph for this function:

◆ toString()

final String com.jogamp.math.geom.plane.AffineTransform.toString ( )

Definition at line 564 of file AffineTransform.java.

◆ transform() [1/8]

final AABBox com.jogamp.math.geom.plane.AffineTransform.transform ( final AABBox  src,
final AABBox  dst 
)
Parameters
src
dst
Returns
dst for chaining

Definition at line 409 of file AffineTransform.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ transform() [2/8]

final float[] com.jogamp.math.geom.plane.AffineTransform.transform ( final float[]  src,
final float[]  dst 
)
Parameters
srcfloat[2] source of transformation
dstfloat[2] destination of transformation, maybe be equal to src
Returns
dst for chaining

Definition at line 448 of file AffineTransform.java.

◆ transform() [3/8]

final void com.jogamp.math.geom.plane.AffineTransform.transform ( final float[]  src,
final int  srcOff,
final float[]  dst,
final int  dstOff 
)

Definition at line 456 of file AffineTransform.java.

◆ transform() [4/8]

final void com.jogamp.math.geom.plane.AffineTransform.transform ( final float[]  src,
int  srcOff,
final float[]  dst,
int  dstOff,
int  length 
)

Definition at line 463 of file AffineTransform.java.

◆ transform() [5/8]

final Vec2f com.jogamp.math.geom.plane.AffineTransform.transform ( final Vec2f  src,
final Vec2f  dst 
)
Parameters
srcsource of transformation
dstdestination of transformation, maybe be equal to src
Returns
dst for chaining

Definition at line 485 of file AffineTransform.java.

Here is the call graph for this function:

◆ transform() [6/8]

final Vec3f com.jogamp.math.geom.plane.AffineTransform.transform ( final Vec3f  src,
final Vec3f  dst 
)
Parameters
srcsource of transformation
dstdestination of transformation, maybe be equal to src
Returns
dst for chaining

Definition at line 498 of file AffineTransform.java.

Here is the call graph for this function:

◆ transform() [7/8]

final Vertex com.jogamp.math.geom.plane.AffineTransform.transform ( final Vertex  src,
final Vertex  dst 
)
Parameters
src
dst
Returns
dst for chaining

Definition at line 422 of file AffineTransform.java.

Here is the call graph for this function:

◆ transform() [8/8]

final void com.jogamp.math.geom.plane.AffineTransform.transform ( final Vertex[]  src,
int  srcOff,
final Vertex[]  dst,
int  dstOff,
int  length 
)

Definition at line 429 of file AffineTransform.java.

Here is the call graph for this function:

◆ translate()

final AffineTransform com.jogamp.math.geom.plane.AffineTransform.translate ( final float  mx,
final float  my,
final AffineTransform  tmp 
)

Definition at line 303 of file AffineTransform.java.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ TYPE_FLIP

final int com.jogamp.math.geom.plane.AffineTransform.TYPE_FLIP = 64
static

Definition at line 42 of file AffineTransform.java.

◆ TYPE_GENERAL_ROTATION

final int com.jogamp.math.geom.plane.AffineTransform.TYPE_GENERAL_ROTATION = 16
static

Definition at line 40 of file AffineTransform.java.

◆ TYPE_GENERAL_SCALE

final int com.jogamp.math.geom.plane.AffineTransform.TYPE_GENERAL_SCALE = 4
static

Definition at line 38 of file AffineTransform.java.

◆ TYPE_GENERAL_TRANSFORM

final int com.jogamp.math.geom.plane.AffineTransform.TYPE_GENERAL_TRANSFORM = 32
static

Definition at line 41 of file AffineTransform.java.

◆ TYPE_IDENTITY

final int com.jogamp.math.geom.plane.AffineTransform.TYPE_IDENTITY = 0
static

Definition at line 35 of file AffineTransform.java.

◆ TYPE_MASK_ROTATION

final int com.jogamp.math.geom.plane.AffineTransform.TYPE_MASK_ROTATION = TYPE_QUADRANT_ROTATION | TYPE_GENERAL_ROTATION
static

Definition at line 44 of file AffineTransform.java.

◆ TYPE_MASK_SCALE

final int com.jogamp.math.geom.plane.AffineTransform.TYPE_MASK_SCALE = TYPE_UNIFORM_SCALE | TYPE_GENERAL_SCALE
static

Definition at line 43 of file AffineTransform.java.

◆ TYPE_QUADRANT_ROTATION

final int com.jogamp.math.geom.plane.AffineTransform.TYPE_QUADRANT_ROTATION = 8
static

Definition at line 39 of file AffineTransform.java.

◆ TYPE_TRANSLATION

final int com.jogamp.math.geom.plane.AffineTransform.TYPE_TRANSLATION = 1
static

Definition at line 36 of file AffineTransform.java.

◆ TYPE_UNIFORM_SCALE

final int com.jogamp.math.geom.plane.AffineTransform.TYPE_UNIFORM_SCALE = 2
static

Definition at line 37 of file AffineTransform.java.


The documentation for this class was generated from the following file: