@giro3d/giro3d
Version:
A JS/WebGL framework for 3D geospatial data visualization
33 lines • 2 kB
TypeScript
import { Matrix4 } from 'three';
import type { EntityUserData } from './Entity';
import ImageCollectionBase, { type ImageCollectionBaseOptions, type ImageCollectionBasePickResult, type ImageCollectionBaseSource, type ImageSource } from './ImageCollectionBase';
export type OrientedPanoramaSource = ImageSource;
export type OrientedPanoramaCollectionSource = ImageCollectionBaseSource<OrientedPanoramaSource>;
/**
* Constructor options for the OrientedPanoramaCollection entity.
*/
export type OrientedPanoramaCollectionOptions = ImageCollectionBaseOptions<OrientedPanoramaSource>;
export type OrientedPanoramaCollectionPickResult = ImageCollectionBasePickResult;
/**
* Displays a collection of oriented panoramas coming from a {@link OrientedPanoramaCollectionSource} in the 3D space.
* The panoramas are expected to be in the 'equirectangular' projection.
*
* Each oriented panorama is displayed as 3 distinct elements:
* - a sphere positioned at the location of the camera receptor
* - a wireframe to show the camera receptor (orientation, field of view and aspect ratio)
* - a texture sphere on which the image is projected
*
* Each of these 3 elements can be made visible or invisible independently.
*
* If the collection contains images that are too spread out geographically, visual issues may occur.
* This is why we advise to group images that are relatively close together.
*/
export declare class OrientedPanoramaCollection<TUserData extends EntityUserData = EntityUserData> extends ImageCollectionBase<OrientedPanoramaSource, TUserData> {
/** Readonly flag to indicate that this object is a OrientedPanoramaCollection instance. */
readonly isOrientedPanoramaCollection: true;
readonly type: "OrientedPanoramaCollection";
constructor(options: OrientedPanoramaCollectionOptions);
protected computeWireframeScaleMatrix(source: OrientedPanoramaSource): Matrix4;
}
export default OrientedPanoramaCollection;
//# sourceMappingURL=OrientedPanoramaCollection.d.ts.map