Index

A B C E F G H I J K M N O R S T V Z 
All Classes and Interfaces|All Packages|Constant Field Values

A

AffineImagePointTransformer - Class in org.jtrim2.image.transform
Defines a coordinate transformation of 2D points (two dimensional vectors) where the coordinate transformation can be described by an affine transformation.
AffineImagePointTransformer(AffineTransform) - Constructor for class org.jtrim2.image.transform.AffineImagePointTransformer
Creates a new AffineImagePointTransformer which is based on the the given affine transformation.
AffineTransformationStep - Class in org.jtrim2.image.transform
Defines an ImageTransformationStep transforming an image based on an affine transformation.
AffineTransformationStep(AffineTransform, Color, InterpolationType) - Constructor for class org.jtrim2.image.transform.AffineTransformationStep
Creates a new AffineTransformationStep based on the specified AffineTransform.
AffineTransformationStep(BasicImageTransformations, Color, InterpolationType) - Constructor for class org.jtrim2.image.transform.AffineTransformationStep
Creates a new AffineTransformationStep based on the specified BasicImageTransformations.

B

BasicImageTransformations - Class in org.jtrim2.image.transform
Defines a subset of commonly used 2D affine transformations.
BasicImageTransformations.Builder - Class in org.jtrim2.image.transform
This class is to be used to create BasicImageTransformations instances.
BICUBIC - Enum constant in enum class org.jtrim2.image.transform.InterpolationType
Defines that the bicubic interpolation is to be used.
BILINEAR - Enum constant in enum class org.jtrim2.image.transform.InterpolationType
Defines that the bilinear interpolation is to be used.
Builder() - Constructor for class org.jtrim2.image.transform.BasicImageTransformations.Builder
Creates a new BasicImageTransformations.Builder initialized to the identity transformation.
Builder(BasicImageTransformations) - Constructor for class org.jtrim2.image.transform.BasicImageTransformations.Builder
Creates a new BasicImageTransformations.Builder initialized to the same properties as the specified transformation.

C

cachedStep(ReferenceType, ImageTransformationStep, TransformationStepInput.Cmp) - Static method in class org.jtrim2.image.transform.TransformationSteps
Returns an ImageTransformationStep which delegates its call to the specified ImageTransformationStep but caches its result if possible.
combine(List<? extends ImagePointTransformer>) - Static method in class org.jtrim2.image.transform.SerialImagePointTransformer
Returns a transformation equivalent to applying all the specified transformations in the given order.
combine(ImagePointTransformer...) - Static method in class org.jtrim2.image.transform.SerialImagePointTransformer
Returns a transformation equivalent to applying all the specified transformations in the given order.
create() - Method in class org.jtrim2.image.transform.BasicImageTransformations.Builder
Creates and returns a snapshot of the currently set properties.

E

equals(Object) - Method in class org.jtrim2.image.transform.BasicImageTransformations
Checks if the specified object is a BasicImageTransformations and defines the same transformation as this BasicImageTransformations.

F

FIT_HEIGHT - Enum constant in enum class org.jtrim2.image.transform.ZoomToFitOption
Means that the image need to be scaled so that no part of the image should be beyond the top or bottom side of the display.
FIT_WIDTH - Enum constant in enum class org.jtrim2.image.transform.ZoomToFitOption
Means that the image need to be scaled so that no part of the image should be beyond the left or right side of the display.
flipHorizontal() - Method in class org.jtrim2.image.transform.BasicImageTransformations.Builder
flipVertical() - Method in class org.jtrim2.image.transform.BasicImageTransformations.Builder

G

getApproxMemorySize() - Method in class org.jtrim2.image.transform.TransformedImage
Returns the approximate memory retention of the resulting image.
getBackgroundColor() - Method in class org.jtrim2.image.transform.AffineTransformationStep
Returns the background color specified at construction time.
getBasicTransformations(int, int, int, int, Set<ZoomToFitOption>, BasicImageTransformations) - Static method in class org.jtrim2.image.transform.ZoomToFitTransformationStep
Returns the image transformations required to be applied to an image to fit a display with the particular size.
getDestinationHeight() - Method in class org.jtrim2.image.transform.TransformationStepInput
Returns the height of the final destination area of the whole image transformation chain.
getDestinationWidth() - Method in class org.jtrim2.image.transform.TransformationStepInput
Returns the width of the final destination area of the whole image transformation chain.
getImage() - Method in class org.jtrim2.image.transform.TransformedImage
Returns the result of the image transformation.
getInputImage() - Method in class org.jtrim2.image.transform.TransformationStepInput
Returns the output of the previous transformation step which should usually server as the input of the transformation applied after it.
getInterpolationType() - Method in class org.jtrim2.image.transform.AffineTransformationStep
Returns the interpolation type specified at construction time.
getOffsetX() - Method in class org.jtrim2.image.transform.BasicImageTransformations.Builder
Returns the offset along the horizontal axis.
getOffsetX() - Method in class org.jtrim2.image.transform.BasicImageTransformations
Returns the offset along the horizontal axis.
getOffsetY() - Method in class org.jtrim2.image.transform.BasicImageTransformations.Builder
Returns the offset along the vertical axis.
getOffsetY() - Method in class org.jtrim2.image.transform.BasicImageTransformations
Returns the offset along the vertical axis.
getPointTransformer() - Method in class org.jtrim2.image.transform.TransformedImage
Returns the coordinate transformation which transforms the location of the pixels on the input image to the location of the pixels on the output image.
getRotateInDegrees() - Method in class org.jtrim2.image.transform.BasicImageTransformations.Builder
Returns the angle meaning how much the image need to be rotated around its center in degrees.
getRotateInDegrees() - Method in class org.jtrim2.image.transform.BasicImageTransformations
Returns the angle meaning how much the image need to be rotated around its center in degrees.
getRotateInRadians() - Method in class org.jtrim2.image.transform.BasicImageTransformations.Builder
Returns the angle meaning how much the image need to be rotated around its center in radians.
getRotateInRadians() - Method in class org.jtrim2.image.transform.BasicImageTransformations
Returns the angle meaning how much the image need to be rotated around its center in radians.
getSource() - Method in class org.jtrim2.image.transform.TransformationStepInput
Returns the original source image of the whole image transformation chain or null if the source image was not available.
getTransformationMatrix(AffineTransform, double, double, double, double) - Static method in class org.jtrim2.image.transform.AffineTransformationStep
Creates an affine transformation from the given AffineTransform object assuming the specified source and destination image sizes.
getTransformationMatrix(BasicImageTransformations) - Static method in class org.jtrim2.image.transform.AffineTransformationStep
Creates an affine transformation from the given BasicImageTransformations.
getTransformationMatrix(BasicImageTransformations, double, double, double, double) - Static method in class org.jtrim2.image.transform.AffineTransformationStep
Creates an affine transformation from the given BasicImageTransformations object assuming the specified source and destination image sizes.
getTransformations() - Method in class org.jtrim2.image.transform.AffineTransformationStep
Returns the affine transformations specified at construction time.
getZoomX() - Method in class org.jtrim2.image.transform.BasicImageTransformations.Builder
Returns the scaling factor used to scale the image horizontally.
getZoomX() - Method in class org.jtrim2.image.transform.BasicImageTransformations
Returns the scaling factor used to scale the image horizontally.
getZoomY() - Method in class org.jtrim2.image.transform.BasicImageTransformations.Builder
Returns the scaling factor used to scale the image vertically.
getZoomY() - Method in class org.jtrim2.image.transform.BasicImageTransformations
Returns the scaling factor used to scale the image vertically.

H

hashCode() - Method in class org.jtrim2.image.transform.BasicImageTransformations
Returns a hash code value compatible with the equals method, usable in hash tables.

I

IDENTITY - Static variable in class org.jtrim2.image.transform.AffineImagePointTransformer
Defines an identity transformation.
identityTransformation() - Static method in class org.jtrim2.image.transform.BasicImageTransformations
Returns the identity transformation.
ImagePointTransformer - Interface in org.jtrim2.image.transform
Defines an interface for transforming 2D points (two dimensional vectors) from one coordinate system to another.
ImageTransformationStep - Interface in org.jtrim2.image.transform
Defines an element of a series of transformation applied to an image.
InterpolationType - Enum Class in org.jtrim2.image.transform
Defines types of interpolation to be used when scaling an image.
isFlipHorizontal() - Method in class org.jtrim2.image.transform.BasicImageTransformations.Builder
Returns true if the image needs to be flipped horizontally.
isFlipHorizontal() - Method in class org.jtrim2.image.transform.BasicImageTransformations
Returns true if the image needs to be flipped horizontally.
isFlipVertical() - Method in class org.jtrim2.image.transform.BasicImageTransformations.Builder
Returns true if the image needs to be flipped vertically.
isFlipVertical() - Method in class org.jtrim2.image.transform.BasicImageTransformations
Returns true if the image needs to be flipped vertically.
isIdentity() - Method in class org.jtrim2.image.transform.BasicImageTransformations
Returns true if this transformation defines the identity transformation.
isSameInput(TransformationStepInput, TransformationStepInput) - Method in interface org.jtrim2.image.transform.TransformationStepInput.Cmp
Checks whether the two TransformationStepInput instances should be considered the same for a particular ImageTransformationStep.
isSimpleTransformation(BasicImageTransformations) - Static method in class org.jtrim2.image.transform.AffineTransformationStep
Returns true if for the given transformation, the nearest neighbor interpolation should be considered optimal.

J

jtrim.image.transform - module jtrim.image.transform
 

K

KEEP_ASPECT_RATIO - Enum constant in enum class org.jtrim2.image.transform.ZoomToFitOption
Means that the width/height ratio of the image must not be changed when scaling.

M

MAY_MAGNIFY - Enum constant in enum class org.jtrim2.image.transform.ZoomToFitOption
Means that the image need to be magnified if necessary to fit the display.

N

NEAREST_NEIGHBOR - Enum constant in enum class org.jtrim2.image.transform.InterpolationType
Defines that the nearest-neighbor interpolation is to be used.
newOffsetTransformation(double, double) - Static method in class org.jtrim2.image.transform.BasicImageTransformations
Returns a transformation which is the same as the identity transformation except for the offset properties.
newRotateTransformation(double) - Static method in class org.jtrim2.image.transform.BasicImageTransformations
Returns a transformation which is the same as the identity transformation except for the rotate property.
newZoomTransformation(double, double) - Static method in class org.jtrim2.image.transform.BasicImageTransformations
Returns a transformation which is the same as the identity transformation except for the scaling properties.
NULL_IMAGE - Static variable in class org.jtrim2.image.transform.TransformedImage
An immutable TransformedImage having null as an image and identity transformation as a coordinate transformation.

O

org.jtrim2.image.transform - package org.jtrim2.image.transform
Contains various image transformations, mostly to support org.jtrim2.swing.component.TransformedImageDisplay.

R

RAD_0 - Static variable in class org.jtrim2.image.transform.BasicImageTransformations
Defines 0 degree in radians.
RAD_180 - Static variable in class org.jtrim2.image.transform.BasicImageTransformations
Defines 180 degrees in radians.
RAD_270 - Static variable in class org.jtrim2.image.transform.BasicImageTransformations
Defines 270 degrees in radians.
RAD_90 - Static variable in class org.jtrim2.image.transform.BasicImageTransformations
Defines 90 degrees in radians.
render(CancellationToken, TransformationStepInput, BufferedImage) - Method in class org.jtrim2.image.transform.AffineTransformationStep
Applies the rendering defined by this ImageTransformationStep.
render(CancellationToken, TransformationStepInput, BufferedImage) - Method in interface org.jtrim2.image.transform.ImageTransformationStep
Applies the rendering defined by this ImageTransformationStep.
render(CancellationToken, TransformationStepInput, BufferedImage) - Method in class org.jtrim2.image.transform.ZoomToFitTransformationStep
Applies the rendering defined by this ImageTransformationStep.

S

SerialImagePointTransformer - Class in org.jtrim2.image.transform
Defines a coordinate transformation based on a list of other coordinate transformations.
setFlipHorizontal(boolean) - Method in class org.jtrim2.image.transform.BasicImageTransformations.Builder
Sets if the image should be flipped horizontally.
setFlipVertical(boolean) - Method in class org.jtrim2.image.transform.BasicImageTransformations.Builder
Sets if the image should be flipped vertically.
setOffset(double, double) - Method in class org.jtrim2.image.transform.BasicImageTransformations.Builder
Sets both the horizontal an vertical offset need to be applied on the image.
setRotateInDegrees(int) - Method in class org.jtrim2.image.transform.BasicImageTransformations.Builder
Sets the angle meaning how much the image need to be rotated around its center in degrees.
setRotateInRadians(double) - Method in class org.jtrim2.image.transform.BasicImageTransformations.Builder
Sets the angle meaning how much the image need to be rotated around its center in radians.
setZoom(double) - Method in class org.jtrim2.image.transform.BasicImageTransformations.Builder
Sets the scaling factors used to scale the image horizontally and vertically to the same value.
setZoomX(double) - Method in class org.jtrim2.image.transform.BasicImageTransformations.Builder
Sets the scaling factor used to scale the image horizontally.
setZoomY(double) - Method in class org.jtrim2.image.transform.BasicImageTransformations.Builder
Sets the scaling factor used to scale the image vertically.

T

toString() - Method in class org.jtrim2.image.transform.AffineTransformationStep
Returns the string representation of this transformation in no particular format
toString() - Method in class org.jtrim2.image.transform.BasicImageTransformations.Builder
Returns the string representation of this transformation in no particular format
toString() - Method in class org.jtrim2.image.transform.BasicImageTransformations
Returns the string representation of this transformation in no particular format
toString() - Method in class org.jtrim2.image.transform.ZoomToFitTransformationStep
Returns the string representation of this transformation in no particular format
TransformationStepInput - Class in org.jtrim2.image.transform
Defines the input of an ImageTransformationStep.
TransformationStepInput(ImageResult, int, int, TransformedImage) - Constructor for class org.jtrim2.image.transform.TransformationStepInput
Creates a new TransformationStepInput with the specified properties.
TransformationStepInput.Cmp - Interface in org.jtrim2.image.transform
Defines a quick comparison of two TransformationStepInput instances.
TransformationSteps - Class in org.jtrim2.image.transform
Contains static utility methods related to ImageTransformationStep.
transformDestToSrc(Point2D, Point2D) - Method in class org.jtrim2.image.transform.AffineImagePointTransformer
Transforms the given 2D point from the destination coordinate system to the source coordinate system.
transformDestToSrc(Point2D, Point2D) - Method in interface org.jtrim2.image.transform.ImagePointTransformer
Transforms the given 2D point from the destination coordinate system to the source coordinate system.
transformDestToSrc(Point2D, Point2D) - Method in class org.jtrim2.image.transform.SerialImagePointTransformer
Transforms the given 2D point from the destination coordinate system to the source coordinate system.
transformDestToSrc(Point2D, Point2D) - Method in class org.jtrim2.image.transform.TransformedImage
A convenience method to call getPointTransformer().transformDestToSrc(dest, src).
TransformedImage - Class in org.jtrim2.image.transform
Defines the output of an image transformation.
TransformedImage(BufferedImage, ImagePointTransformer) - Constructor for class org.jtrim2.image.transform.TransformedImage
Creates a new TransformedImage from the specified properties.
transformSrcToDest(Point2D, Point2D) - Method in class org.jtrim2.image.transform.AffineImagePointTransformer
Transforms the given 2D point from the source coordinate system to the destination coordinate system.
transformSrcToDest(Point2D, Point2D) - Method in interface org.jtrim2.image.transform.ImagePointTransformer
Transforms the given 2D point from the source coordinate system to the destination coordinate system.
transformSrcToDest(Point2D, Point2D) - Method in class org.jtrim2.image.transform.SerialImagePointTransformer
Transforms the given 2D point from the source coordinate system to the destination coordinate system.
transformSrcToDest(Point2D, Point2D) - Method in class org.jtrim2.image.transform.TransformedImage
A convenience method to call getPointTransformer().transformSrcToDest(src, dest).

V

valueOf(String) - Static method in enum class org.jtrim2.image.transform.InterpolationType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.jtrim2.image.transform.ZoomToFitOption
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.jtrim2.image.transform.InterpolationType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.jtrim2.image.transform.ZoomToFitOption
Returns an array containing the constants of this enum class, in the order they are declared.

Z

ZoomToFitOption - Enum Class in org.jtrim2.image.transform
Defines the possible rules which should be applied when scaling an image to fit a particular display.
ZoomToFitTransformationStep - Class in org.jtrim2.image.transform
Defines an ImageTransformationStep scaling the input image to fit the display.
ZoomToFitTransformationStep(BasicImageTransformations, Set<ZoomToFitOption>, Color, InterpolationType) - Constructor for class org.jtrim2.image.transform.ZoomToFitTransformationStep
Creates a new ZoomToFitTransformationStep with the specified properties.
A B C E F G H I J K M N O R S T V Z 
All Classes and Interfaces|All Packages|Constant Field Values