public class TLcdPanoramicImage extends Object implements ILcdPanoramicImage
ILcdPanoramicImage
interface.
The transformation and image
properties must be provided
in the constructor.
If you want to avoid that too many images are loaded in memory when a model is created, you can use the constructor
TLcdPanoramicImage(ILcdModelModelTransformation, Supplier), which takes
a Supplier<RenderedImage> as parameter.
Constructor and Description |
---|
TLcdPanoramicImage(ILcdModelModelTransformation aTransformation,
RenderedImage aImage)
Default constructor, creates a new
TLcdPanoramicImage with the given parameters. |
TLcdPanoramicImage(ILcdModelModelTransformation aTransformation,
Supplier<RenderedImage> aImageSupplier)
Constructor, creates a new
TLcdPanoramicImage based on the given parameters. |
Modifier and Type | Method and Description |
---|---|
RenderedImage |
getImage()
Get the image that contains the pixel values of this PanoramicImage.
|
ILcdModelModelTransformation |
getTransformation()
Get the
ILcdModelModelTransformation that converts points from the 3D reference coordinate system
to the 2D image coordinate system. |
public TLcdPanoramicImage(ILcdModelModelTransformation aTransformation, RenderedImage aImage)
TLcdPanoramicImage
with the given parameters.aTransformation
- the transformation of this panoramic imageaImage
- the rendered image of this panoramic imagepublic TLcdPanoramicImage(ILcdModelModelTransformation aTransformation, Supplier<RenderedImage> aImageSupplier)
TLcdPanoramicImage
based on the given parameters.aTransformation
- the transformation of this panoramic imageaImageSupplier
- the Supplier
that will be called to produce the rendered image by needpublic ILcdModelModelTransformation getTransformation()
ILcdPanoramicImage
ILcdModelModelTransformation
that converts points from the 3D reference coordinate system
to the 2D image coordinate system.
For more information about the interpretation of this transformation, as well as convenience methods for building
them, refer to the TLcdPanoramicTransformationFactory class.getTransformation
in interface ILcdPanoramicImage
public RenderedImage getImage()
ILcdPanoramicImage
getImage
in interface ILcdPanoramicImage