Object/Class

net.sf.ij_plugins.util

PerspectiveTransform

Related Docs: class PerspectiveTransform | package util

Permalink

object PerspectiveTransform

Factory methods for creating projective transforms.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PerspectiveTransform
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. def identity(): PerspectiveTransform

    Permalink

    Create Identity transform.

  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. def quadToQuad(points1: Array[Point2D], points2: Array[Point2D]): PerspectiveTransform

    Permalink

    Creates a PerspectiveTransform that maps an arbitrary quadrilateral 1 onto another arbitrary quadrilateral 2.

    Creates a PerspectiveTransform that maps an arbitrary quadrilateral 1 onto another arbitrary quadrilateral 2.

    (x0, y0) -> (x0p, y0p)
    (x1, y1) -> (x1p, y1p)
    (x2, y2) -> (x2p, y2p)
    (x3, y3) -> (x3p, y3p)
  17. def quadToQuad(x0: Double, y0: Double, x1: Double, y1: Double, x2: Double, y2: Double, x3: Double, y3: Double, x0p: Double, y0p: Double, x1p: Double, y1p: Double, x2p: Double, y2p: Double, x3p: Double, y3p: Double): PerspectiveTransform

    Permalink

    Creates a PerspectiveTransform that maps an arbitrary quadrilateral onto another arbitrary quadrilateral.

    Creates a PerspectiveTransform that maps an arbitrary quadrilateral onto another arbitrary quadrilateral.

    (x0, y0) -> (x0p, y0p)
    (x1, y1) -> (x1p, y1p)
    (x2, y2) -> (x2p, y2p)
    (x3, y3) -> (x3p, y3p)
  18. def quadToSquare(x0: Double, y0: Double, x1: Double, y1: Double, x2: Double, y2: Double, x3: Double, y3: Double): PerspectiveTransform

    Permalink

    Creates a PerspectiveTransform that maps an arbitrary quadrilateral onto the unit square.

    Creates a PerspectiveTransform that maps an arbitrary quadrilateral onto the unit square.

    (x0, y0) -> (0, 0)
    (x1, y1) -> (1, 0)
    (x2, y2) -> (1, 1)
    (x3, y3) -> (0, 1)
  19. def rotation(theta: Double, x: Double, y: Double): PerspectiveTransform

    Permalink

    Create rotation transformation about a specified point (x, y).

    Create rotation transformation about a specified point (x, y).

    Rotating with a positive angle theta rotates points on the positive X axis toward the positive Y axis.

    theta

    The angle of rotation in radians.

    x

    The X coordinate of the origin of the rotation

    y

    The Y coordinate of the origin of the rotation

  20. def rotation(theta: Double): PerspectiveTransform

    Permalink

    Create rotation transformation.

    Create rotation transformation.

    The matrix representing this transform is:

    [   cos(theta)    -sin(theta)    0   ]
    [   sin(theta)     cos(theta)    0   ]
    [       0              0         1   ]

    Rotating with a positive angle theta rotates points on the positive X axis toward the positive Y axis.

    theta

    The angle of rotation in radians.

  21. def scaling(sx: Double, sy: Double): PerspectiveTransform

    Permalink

    Scale transformation with scale factors sx and sy.

    Scale transformation with scale factors sx and sy.

    The matrix representing this transform becomes:

    [   sx   0    0   ]
    [   0    sy   0   ]
    [   0    0    1   ]
    sx

    The X axis scale factor.

    sy

    The Y axis scale factor.

  22. def shearing(shx: Double, shy: Double): PerspectiveTransform

    Permalink

    Sets this transform to a shearing transformation with shear factors sx and sy.

    Sets this transform to a shearing transformation with shear factors sx and sy.

    The matrix representing this transform becomes:

    [   1  shx    0   ]
    [ shy    1    0   ]
    [   0    0    1   ]
    shx

    The factor by which coordinates are shifted towards the positive X axis direction according to their Y coordinate.

    shy

    The factor by which coordinates are shifted towards the positive Y axis direction according to their X coordinate.

  23. final def squareToQuad(x0: Double, y0: Double, x1: Double, y1: Double, x2: Double, y2: Double, x3: Double, y3: Double): PerspectiveTransform

    Permalink

    Creates a PerspectiveTransform that maps the unit square onto an arbitrary quadrilateral.

    Creates a PerspectiveTransform that maps the unit square onto an arbitrary quadrilateral.

    (0, 0) -> (x0, y0)
    (1, 0) -> (x1, y1)
    (1, 1) -> (x2, y2)
    (0, 1) -> (x3, y3)
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. def translation(tx: Double, ty: Double): PerspectiveTransform

    Permalink

    Create translation transformation.

    Create translation transformation.

    The matrix representing this transform is:

    [   1    0    tx  ]
    [   0    1    ty  ]
    [   0    0    1   ]
    tx

    The distance by which coordinates are translated in the X axis direction

    ty

    The distance by which coordinates are translated in the Y axis direction

  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped