Class ProjectedVideoModel.Builder
java.lang.Object
com.luciad.models.projectedimagery.ProjectedVideoModel.Builder
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
ProjectedVideoModel
- Since:
- 2026.1
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
-
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
build
Builds the model.- Returns:
- the new model.
-
id
Sets the identifier of the projection.The default is "video".
- Parameters:
id- the projection identifier.- Returns:
- this builder.
-
title
Sets the title that the model will use.The default is "ProjectedVideoModel".
- Parameters:
title- the title this model will use.- Returns:
- this builder.
-
bounds
@NotNull public ProjectedVideoModel.Builder bounds(@NotNull Bounds bounds) throws NullPointerException Overrides the bounds that the model reports, fixed for the model's lifetime.If this is not set, the model computes its bounds automatically from where the camera's field of view intersects the earth ellipsoid, recomputing them on every pushed frame. Until the first frame is pushed, the model reports bounds that encompass the entire world.
There is no way to change the override after the model is built. You may implement a custom
IProjectedImageryModelif bounds need to change at runtime.- Parameters:
bounds- the fixed bounds this model will use instead of the automatically computed ones. Must not benull.- Returns:
- this builder.
- Throws:
NullPointerException- when bounds isnull.
-