Package com.luciad.panorama.model
Class TLcdPanoramicImage
java.lang.Object
com.luciad.panorama.model.TLcdPanoramicImage
- All Implemented Interfaces:
ILcdPanoramicImage
Default implementation of the
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.
- Since:
- 2020.1
-
Constructor Summary
ConstructorDescriptionTLcdPanoramicImage
(ILcdModelModelTransformation aTransformation, RenderedImage aImage) Default constructor, creates a newTLcdPanoramicImage
with the given parameters.TLcdPanoramicImage
(ILcdModelModelTransformation aTransformation, Supplier<RenderedImage> aImageSupplier) Constructor, creates a newTLcdPanoramicImage
based on the given parameters. -
Method Summary
Modifier and TypeMethodDescriptiongetImage()
Get the image that contains the pixel values of this PanoramicImage.Get theILcdModelModelTransformation
that converts points from the 3D reference coordinate system to the 2D image coordinate system.
-
Constructor Details
-
TLcdPanoramicImage
Default constructor, creates a newTLcdPanoramicImage
with the given parameters.- Parameters:
aTransformation
- the transformation of this panoramic imageaImage
- the rendered image of this panoramic image
-
TLcdPanoramicImage
public TLcdPanoramicImage(ILcdModelModelTransformation aTransformation, Supplier<RenderedImage> aImageSupplier) Constructor, creates a newTLcdPanoramicImage
based on the given parameters.- Parameters:
aTransformation
- the transformation of this panoramic imageaImageSupplier
- theSupplier
that will be called to produce the rendered image by need
-
-
Method Details
-
getTransformation
Description copied from interface:ILcdPanoramicImage
Get theILcdModelModelTransformation
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.- Specified by:
getTransformation
in interfaceILcdPanoramicImage
- Returns:
- the transformation that converts points in model space to points in image space.
-
getImage
Description copied from interface:ILcdPanoramicImage
Get the image that contains the pixel values of this PanoramicImage.- Specified by:
getImage
in interfaceILcdPanoramicImage
- Returns:
- the image
-