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
ConstructorsConstructorDescriptionTLcdPanoramicImage(ILcdModelModelTransformation aTransformation, RenderedImage aImage) Default constructor, creates a newTLcdPanoramicImagewith the given parameters.TLcdPanoramicImage(ILcdModelModelTransformation aTransformation, Supplier<RenderedImage> aImageSupplier) Constructor, creates a newTLcdPanoramicImagebased on the given parameters. -
Method Summary
Modifier and TypeMethodDescriptiongetImage()Get the image that contains the pixel values of this PanoramicImage.Get theILcdModelModelTransformationthat converts points from the 3D reference coordinate system to the 2D image coordinate system.
-
Constructor Details
-
TLcdPanoramicImage
Default constructor, creates a newTLcdPanoramicImagewith 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 newTLcdPanoramicImagebased on the given parameters.- Parameters:
aTransformation- the transformation of this panoramic imageaImageSupplier- theSupplierthat will be called to produce the rendered image by need
-
-
Method Details
-
getTransformation
Description copied from interface:ILcdPanoramicImageGet theILcdModelModelTransformationthat 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:
getTransformationin interfaceILcdPanoramicImage- Returns:
- the transformation that converts points in model space to points in image space.
-
getImage
Description copied from interface:ILcdPanoramicImageGet the image that contains the pixel values of this PanoramicImage.- Specified by:
getImagein interfaceILcdPanoramicImage- Returns:
- the image
-