@ulb-darmstadt/photogrammetry-viewer
Version:
```console npm i photogrammetry-viewer ``` This library provides an HTML web component that displays photogrammetric data. The component consists of a combined 3D and 2D viewer. For each view of the 3D model, the 2D image closest to the view is loaded. Fo
20 lines (19 loc) • 668 B
TypeScript
import { Matrix4 } from 'three';
import { EventEmitter } from 'events';
import { Sensor } from './sensor';
export declare class ScanInformation extends EventEmitter {
isValid: boolean;
sensorMap: Map<string, Sensor>;
sensorIds: Array<string>;
imageFiles: Array<string>;
camPosesInChunk: Array<Matrix4>;
transformationChunkToWorld: Matrix4;
private _xmlDoc;
constructor();
readFromFile(filename: string): Promise<void>;
private _extractInformation;
private _extractIntrinsicCameraInformation;
private _extractExtrinsicCameraInformation;
private _extractChunkToWorldCoorTransformation;
private _extractCamPoses;
}