@giro3d/piero 25.10.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +9 -0
- package/README.md +134 -0
- package/dist/Components.cjs.js +2605 -0
- package/dist/Components.es.js +43490 -0
- package/dist/assets/ParserWorker-Bd30oD5I.js +5 -0
- package/dist/assets/style.css +9 -0
- package/dist/basedecoder.cjs.js +1 -0
- package/dist/basedecoder.es.js +88 -0
- package/dist/decoder.cjs.js +1 -0
- package/dist/decoder.es.js +9 -0
- package/dist/deflate.cjs.js +1 -0
- package/dist/deflate.es.js +10 -0
- package/dist/index.cjs.js +93 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +65240 -0
- package/dist/jpeg.cjs.js +1 -0
- package/dist/jpeg.es.js +514 -0
- package/dist/lerc.cjs.js +1 -0
- package/dist/lerc.es.js +1027 -0
- package/dist/lzw.cjs.js +1 -0
- package/dist/lzw.es.js +84 -0
- package/dist/modules.cjs.js +2973 -0
- package/dist/modules.d.ts +2 -0
- package/dist/modules.es.js +87571 -0
- package/dist/packbits.cjs.js +1 -0
- package/dist/packbits.es.js +24 -0
- package/dist/pako.esm.cjs.js +1 -0
- package/dist/pako.esm.es.js +1053 -0
- package/dist/piero_logo.png +0 -0
- package/dist/piero_logo_compact.png +0 -0
- package/dist/raw.cjs.js +1 -0
- package/dist/raw.es.js +9 -0
- package/dist/sponsors/bpi_france.png +0 -0
- package/dist/sponsors/france_2030.png +0 -0
- package/dist/sponsors/france_relance.png +0 -0
- package/dist/sponsors/oslandia.png +0 -0
- package/dist/sponsors/ue_next_generation.png +0 -0
- package/dist/src/App.vue.d.ts +6 -0
- package/dist/src/api/BookmarkApi.d.ts +6 -0
- package/dist/src/api/DatasetApi.d.ts +61 -0
- package/dist/src/api/ViewApi.d.ts +4 -0
- package/dist/src/api/index.d.ts +4 -0
- package/dist/src/components/AlertToast.vue.d.ts +4 -0
- package/dist/src/components/AttributeGroup.vue.d.ts +7 -0
- package/dist/src/components/AttributeItem.vue.d.ts +6 -0
- package/dist/src/components/AttributePanel.vue.d.ts +14 -0
- package/dist/src/components/ColorFragment.vue.d.ts +6 -0
- package/dist/src/components/Configuration.d.ts +14 -0
- package/dist/src/components/CoordinateFragment.vue.d.ts +10 -0
- package/dist/src/components/DropdownView.vue.d.ts +13 -0
- package/dist/src/components/LinkFragment.vue.d.ts +10 -0
- package/dist/src/components/LoadingScreen.vue.d.ts +2 -0
- package/dist/src/components/MainView.vue.d.ts +5 -0
- package/dist/src/components/MinimapView.vue.d.ts +4 -0
- package/dist/src/components/ModalOverlay.vue.d.ts +17 -0
- package/dist/src/components/NavigationButtons.vue.d.ts +2 -0
- package/dist/src/components/OpacitySlider.vue.d.ts +10 -0
- package/dist/src/components/PanelContainer.vue.d.ts +10 -0
- package/dist/src/components/ProgressBar.vue.d.ts +14 -0
- package/dist/src/components/SearchOverlay.vue.d.ts +8 -0
- package/dist/src/components/SpinnerControl.vue.d.ts +2 -0
- package/dist/src/components/StatusBar.vue.d.ts +10 -0
- package/dist/src/components/SwitchToggle.vue.d.ts +17 -0
- package/dist/src/components/VisibilityControl.vue.d.ts +9 -0
- package/dist/src/components/atoms/ButtonArea.vue.d.ts +9 -0
- package/dist/src/components/atoms/ButtonWithIcon.vue.d.ts +11 -0
- package/dist/src/components/atoms/CompactList.vue.d.ts +9 -0
- package/dist/src/components/atoms/Icon.vue.d.ts +6 -0
- package/dist/src/components/atoms/IconList.vue.d.ts +9 -0
- package/dist/src/components/atoms/IconListButton.vue.d.ts +10 -0
- package/dist/src/components/atoms/ImportButton.vue.d.ts +13 -0
- package/dist/src/components/atoms/ListLabel.vue.d.ts +5 -0
- package/dist/src/components/atoms/ListLabelButton.vue.d.ts +11 -0
- package/dist/src/components/atoms/SectionCollapsible.vue.d.ts +20 -0
- package/dist/src/components/charts/BarChart.vue.d.ts +4 -0
- package/dist/src/components/charts/DoughnutChart.vue.d.ts +4 -0
- package/dist/src/components/panels/AboutPanel.vue.d.ts +2 -0
- package/dist/src/components/panels/AnalysisPanel.vue.d.ts +2 -0
- package/dist/src/components/panels/AnnotationItem.vue.d.ts +21 -0
- package/dist/src/components/panels/AnnotationPanel.vue.d.ts +2 -0
- package/dist/src/components/panels/BasemapItem.vue.d.ts +17 -0
- package/dist/src/components/panels/BookmarkItem.vue.d.ts +16 -0
- package/dist/src/components/panels/BookmarkPanel.vue.d.ts +2 -0
- package/dist/src/components/panels/DatagroupItem.vue.d.ts +18 -0
- package/dist/src/components/panels/DatasetItem.vue.d.ts +18 -0
- package/dist/src/components/panels/DatasetOrGroupItem.vue.d.ts +18 -0
- package/dist/src/components/panels/DatasetPanel.vue.d.ts +2 -0
- package/dist/src/components/panels/EmptyIndicator.vue.d.ts +6 -0
- package/dist/src/components/panels/LoadingIndicator.vue.d.ts +6 -0
- package/dist/src/components/panels/MeasurementItem.vue.d.ts +17 -0
- package/dist/src/components/panels/MeasurementPanel.vue.d.ts +2 -0
- package/dist/src/components/panels/OverlayItem.vue.d.ts +19 -0
- package/dist/src/components/panels/ShareBookmarkModal.vue.d.ts +5 -0
- package/dist/src/components/panels/analysis/ClippingBox.vue.d.ts +2 -0
- package/dist/src/components/panels/analysis/CrossSection.vue.d.ts +2 -0
- package/dist/src/components/panels/analysis/FloodingPlane.vue.d.ts +2 -0
- package/dist/src/components/panels/analysis/Statistics.vue.d.ts +2 -0
- package/dist/src/components/panels/analysis/ToolWrapper.vue.d.ts +20 -0
- package/dist/src/components/toolbar/ToolBar.vue.d.ts +9 -0
- package/dist/src/components/toolbar/ToolbarButton.vue.d.ts +12 -0
- package/dist/src/config-loader.d.ts +7 -0
- package/dist/src/constants.d.ts +7 -0
- package/dist/src/context.d.ts +35 -0
- package/dist/src/createPieroApp.d.ts +31 -0
- package/dist/src/events.d.ts +30 -0
- package/dist/src/giro3d/CameraControlsInspector.d.ts +17 -0
- package/dist/src/giro3d/EntityBuilder.d.ts +21 -0
- package/dist/src/giro3d/Graticule.d.ts +20 -0
- package/dist/src/giro3d/Grid.d.ts +11 -0
- package/dist/src/giro3d/LayerBuilder.d.ts +46 -0
- package/dist/src/giro3d/Measure3D.d.ts +19 -0
- package/dist/src/giro3d/Plane.d.ts +11 -0
- package/dist/src/giro3d/Skybox.d.ts +6 -0
- package/dist/src/giro3d/entities/FeatureCollectionEntity.d.ts +41 -0
- package/dist/src/giro3d/entities/PointCloudEntity.d.ts +45 -0
- package/dist/src/giro3d/entities/TiledPointCloudEntity.d.ts +13 -0
- package/dist/src/giro3d/entities/Tiles3dEntity.d.ts +11 -0
- package/dist/src/giro3d/entities/VectorLabelsEntity.d.ts +48 -0
- package/dist/src/giro3d/entities/VectorMeshEntity.d.ts +97 -0
- package/dist/src/giro3d/entities/VectorShapeEntity.d.ts +8 -0
- package/dist/src/giro3d/entities/flatPointCloud.d.ts +2 -0
- package/dist/src/giro3d/entities/tiledIfc.d.ts +2 -0
- package/dist/src/giro3d/entities/vector.d.ts +2 -0
- package/dist/src/giro3d/sources/GeopackageSource.d.ts +20 -0
- package/dist/src/giro3d/sources/ShapefileSource.d.ts +20 -0
- package/dist/src/giro3d/sources/mixins.d.ts +60 -0
- package/dist/src/index.d.ts +17 -0
- package/dist/src/loaders/csv.d.ts +3 -0
- package/dist/src/loaders/las.d.ts +3 -0
- package/dist/src/loaders/loader.d.ts +29 -0
- package/dist/src/loaders/loader.test.d.ts +1 -0
- package/dist/src/loaders/userData.d.ts +8 -0
- package/dist/src/loaders/vector.d.ts +4 -0
- package/dist/src/module.d.ts +11 -0
- package/dist/src/modules/CityJSONLoader.d.ts +10 -0
- package/dist/src/modules/IFCLoader.d.ts +9 -0
- package/dist/src/modules/PLYLoader.d.ts +9 -0
- package/dist/src/modules/PotreeLoader.d.ts +9 -0
- package/dist/src/modules/Tour.d.ts +17 -0
- package/dist/src/modules/cityjson/CityJSONEntity.d.ts +79 -0
- package/dist/src/modules/cityjson/CityJSONEntityInspector.d.ts +8 -0
- package/dist/src/modules/ifc/IfcEntity.d.ts +87 -0
- package/dist/src/modules/ifc/IfcEntityInspector.d.ts +7 -0
- package/dist/src/modules/ifc/IfcPropertyView.vue.d.ts +6 -0
- package/dist/src/modules/ifc/IfcSubtree.vue.d.ts +7 -0
- package/dist/src/modules/index.d.ts +6 -0
- package/dist/src/modules/ply/PlyEntity.d.ts +33 -0
- package/dist/src/providers/Alticoding.d.ts +32 -0
- package/dist/src/providers/BanProvider.d.ts +11 -0
- package/dist/src/providers/Geocoding.d.ts +7 -0
- package/dist/src/providers/IgnProvider.d.ts +11 -0
- package/dist/src/services/AnalysisManager.d.ts +10 -0
- package/dist/src/services/AnnotationManager.d.ts +48 -0
- package/dist/src/services/CameraController.d.ts +99 -0
- package/dist/src/services/DatasetManager.d.ts +27 -0
- package/dist/src/services/Giro3DManager.d.ts +42 -0
- package/dist/src/services/Highlighter.d.ts +11 -0
- package/dist/src/services/LayerManager.d.ts +37 -0
- package/dist/src/services/MeasureTool.d.ts +13 -0
- package/dist/src/services/MeasurementManager.d.ts +31 -0
- package/dist/src/services/MinimapController.d.ts +19 -0
- package/dist/src/services/Picker.d.ts +53 -0
- package/dist/src/services/analysis/ClippingBoxManager.d.ts +41 -0
- package/dist/src/services/analysis/CrossSectionManager.d.ts +9 -0
- package/dist/src/services/analysis/FloodingPlaneManager.d.ts +11 -0
- package/dist/src/stores/analysis.d.ts +1571 -0
- package/dist/src/stores/annotations.d.ts +60 -0
- package/dist/src/stores/bookmarks.d.ts +21 -0
- package/dist/src/stores/camera.d.ts +287 -0
- package/dist/src/stores/datasets.d.ts +49 -0
- package/dist/src/stores/giro3d.d.ts +45 -0
- package/dist/src/stores/layers.d.ts +40 -0
- package/dist/src/stores/measurement.d.ts +45 -0
- package/dist/src/stores/modules.d.ts +11 -0
- package/dist/src/stores/notifications.d.ts +8 -0
- package/dist/src/stores/statistics.d.ts +8 -0
- package/dist/src/types/Annotation.d.ts +35 -0
- package/dist/src/types/AnnotationMode.d.ts +7 -0
- package/dist/src/types/BaseLayer.d.ts +30 -0
- package/dist/src/types/Bookmark.d.ts +19 -0
- package/dist/src/types/CameraPosition.d.ts +7 -0
- package/dist/src/types/Configuration.d.ts +94 -0
- package/dist/src/types/Dataset.d.ts +78 -0
- package/dist/src/types/Feature.d.ts +13 -0
- package/dist/src/types/FloodingPlane.d.ts +14 -0
- package/dist/src/types/IFCTypes.d.ts +5 -0
- package/dist/src/types/LayerObject.d.ts +20 -0
- package/dist/src/types/Measure.d.ts +20 -0
- package/dist/src/types/MeasurementMode.d.ts +7 -0
- package/dist/src/types/Named.d.ts +5 -0
- package/dist/src/types/NavigationMode.d.ts +2 -0
- package/dist/src/types/Notification.d.ts +8 -0
- package/dist/src/types/OLGeometry.d.ts +1 -0
- package/dist/src/types/Overlay.d.ts +24 -0
- package/dist/src/types/VectorStyle.d.ts +31 -0
- package/dist/src/types/Viewbox.d.ts +7 -0
- package/dist/src/types/configuration/analysis.d.ts +26 -0
- package/dist/src/types/configuration/bookmark.d.ts +16 -0
- package/dist/src/types/configuration/camera.d.ts +19 -0
- package/dist/src/types/configuration/color.d.ts +18 -0
- package/dist/src/types/configuration/datasets/cityjson.d.ts +9 -0
- package/dist/src/types/configuration/datasets/core.d.ts +49 -0
- package/dist/src/types/configuration/datasets/featureCollection.d.ts +6 -0
- package/dist/src/types/configuration/datasets/ifc.d.ts +10 -0
- package/dist/src/types/configuration/datasets/index.d.ts +27 -0
- package/dist/src/types/configuration/datasets/layer.d.ts +43 -0
- package/dist/src/types/configuration/datasets/ply.d.ts +10 -0
- package/dist/src/types/configuration/datasets/pointCloud.d.ts +12 -0
- package/dist/src/types/configuration/datasets/potreePointCloud.d.ts +10 -0
- package/dist/src/types/configuration/datasets/tiledIfc.d.ts +9 -0
- package/dist/src/types/configuration/datasets/tiledPointCloud.d.ts +9 -0
- package/dist/src/types/configuration/datasets/vector.d.ts +34 -0
- package/dist/src/types/configuration/features.d.ts +2 -0
- package/dist/src/types/configuration/geographic.d.ts +51 -0
- package/dist/src/types/configuration/layers/core.d.ts +50 -0
- package/dist/src/types/configuration/layers/index.d.ts +49 -0
- package/dist/src/types/configuration/sources/bingMaps.d.ts +5 -0
- package/dist/src/types/configuration/sources/core/baseConfig.d.ts +70 -0
- package/dist/src/types/configuration/sources/core/tiled.d.ts +19 -0
- package/dist/src/types/configuration/sources/core/vector.d.ts +13 -0
- package/dist/src/types/configuration/sources/core/vectorTile.d.ts +8 -0
- package/dist/src/types/configuration/sources/customVector.d.ts +7 -0
- package/dist/src/types/configuration/sources/customVectorTile.d.ts +8 -0
- package/dist/src/types/configuration/sources/geojson.d.ts +5 -0
- package/dist/src/types/configuration/sources/geotiff.d.ts +8 -0
- package/dist/src/types/configuration/sources/gpx.d.ts +5 -0
- package/dist/src/types/configuration/sources/kml.d.ts +5 -0
- package/dist/src/types/configuration/sources/mvt.d.ts +10 -0
- package/dist/src/types/configuration/sources/osm.d.ts +5 -0
- package/dist/src/types/configuration/sources/stadiaMaps.d.ts +5 -0
- package/dist/src/types/configuration/sources/wms.d.ts +15 -0
- package/dist/src/types/configuration/sources/wmts.d.ts +15 -0
- package/dist/src/types/configuration/sources/xyz.d.ts +9 -0
- package/dist/src/types/utilities.d.ts +5 -0
- package/dist/src/utils/Components.d.ts +8 -0
- package/dist/src/utils/Configuration.d.ts +15 -0
- package/dist/src/utils/Download.d.ts +11 -0
- package/dist/src/utils/Fetcher.d.ts +77 -0
- package/dist/src/utils/Measure.d.ts +7 -0
- package/dist/src/utils/OLFeatures.d.ts +57 -0
- package/dist/src/utils/Projections.d.ts +10 -0
- package/dist/src/utils/Types.d.ts +11 -0
- package/dist/webimage.cjs.js +1 -0
- package/dist/webimage.es.js +19 -0
- package/package.json +100 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DatasetOrGroup } from '../../types/Dataset';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
dataset: DatasetOrGroup;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
zoom: (...args: any[]) => void;
|
|
7
|
+
"update:visible": (...args: any[]) => void;
|
|
8
|
+
clipTo: (...args: any[]) => void;
|
|
9
|
+
"update:toggle-grid": (...args: any[]) => void;
|
|
10
|
+
"update:toggle-mask": (...args: any[]) => void;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onZoom?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
onClipTo?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
"onUpdate:toggle-grid"?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
"onUpdate:toggle-mask"?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
text: StringConstructor;
|
|
3
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
4
|
+
text: StringConstructor;
|
|
5
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
text: StringConstructor;
|
|
3
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
4
|
+
text: StringConstructor;
|
|
5
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as Measure } from '../../types/Measure';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
visible: boolean;
|
|
4
|
+
measure: Measure;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
delete: (...args: any[]) => void;
|
|
8
|
+
zoom: (...args: any[]) => void;
|
|
9
|
+
"update:visible": (...args: any[]) => void;
|
|
10
|
+
download: (...args: any[]) => void;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
onZoom?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
onDownload?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
visible: boolean;
|
|
3
|
+
name: string;
|
|
4
|
+
opacity: number;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
zoom: (...args: any[]) => void;
|
|
8
|
+
"update:visible": (...args: any[]) => void;
|
|
9
|
+
"update:opacity": (...args: any[]) => void;
|
|
10
|
+
"update:move-up": (...args: any[]) => void;
|
|
11
|
+
"update:move-down": (...args: any[]) => void;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onZoom?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
"onUpdate:opacity"?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
"onUpdate:move-up"?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
"onUpdate:move-down"?: ((...args: any[]) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
url: string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id: string;
|
|
3
|
+
title: string;
|
|
4
|
+
expanded: boolean;
|
|
5
|
+
collapsible: boolean;
|
|
6
|
+
icon?: string;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
"update:expanded": (...args: any[]) => void;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
"onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
active: string | null;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
selected: (...args: any[]) => void;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
7
|
+
onSelected?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
title?: any;
|
|
3
|
+
active?: any;
|
|
4
|
+
icon?: any;
|
|
5
|
+
tourkey?: any;
|
|
6
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
7
|
+
title?: any;
|
|
8
|
+
active?: any;
|
|
9
|
+
icon?: any;
|
|
10
|
+
tourkey?: any;
|
|
11
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLLIElement>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Configuration } from './types/Configuration';
|
|
2
|
+
import { DynamicStyleCollection } from './types/VectorStyle';
|
|
3
|
+
export declare function getDynamicStyles(): DynamicStyleCollection;
|
|
4
|
+
export declare function setDynamicStyles(styles: DynamicStyleCollection): void;
|
|
5
|
+
export declare function getConfig(): Readonly<Configuration>;
|
|
6
|
+
export declare function setConfiguration(newConfiguration: Configuration): Promise<void>;
|
|
7
|
+
export declare function loadRemoteConfiguration(url: string): Promise<Configuration>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ColorRepresentation } from '../../../node_modules/three';
|
|
2
|
+
export declare const DEFAULT_SHAPE_COLOR: ColorRepresentation;
|
|
3
|
+
export declare const HIGHLIGHT_SHAPE_COLOR: ColorRepresentation;
|
|
4
|
+
export declare const DEFAULT_MEASURE_COLOR: ColorRepresentation;
|
|
5
|
+
export declare const HIGHLIGHT_MEASURE_COLOR: ColorRepresentation;
|
|
6
|
+
export declare const EDIT_SHAPE_COLOR: ColorRepresentation;
|
|
7
|
+
export declare const SHAPE_POINT_RADIUS = 5;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EventDispatcher } from '../../../node_modules/three';
|
|
2
|
+
import { default as BookmarkApi } from './api/BookmarkApi';
|
|
3
|
+
import { default as DatasetApi } from './api/DatasetApi';
|
|
4
|
+
import { default as ViewApi } from './api/ViewApi';
|
|
5
|
+
import { PieroEvents } from './events';
|
|
6
|
+
import { Configuration } from './types/Configuration';
|
|
7
|
+
/**
|
|
8
|
+
* Piero context.
|
|
9
|
+
*/
|
|
10
|
+
export interface PieroContext {
|
|
11
|
+
/**
|
|
12
|
+
* The configuration of the Piero app.
|
|
13
|
+
*/
|
|
14
|
+
configuration: Readonly<Configuration>;
|
|
15
|
+
/**
|
|
16
|
+
* The global event dispatcher.
|
|
17
|
+
*/
|
|
18
|
+
events: EventDispatcher<PieroEvents>;
|
|
19
|
+
/**
|
|
20
|
+
* The base URL of the application.
|
|
21
|
+
*/
|
|
22
|
+
baseURL: URL;
|
|
23
|
+
/**
|
|
24
|
+
* Dataset related functions.
|
|
25
|
+
*/
|
|
26
|
+
datasets: DatasetApi;
|
|
27
|
+
/**
|
|
28
|
+
* 3D View related functions.
|
|
29
|
+
*/
|
|
30
|
+
view: ViewApi;
|
|
31
|
+
/**
|
|
32
|
+
* Bookmark related functions.
|
|
33
|
+
*/
|
|
34
|
+
bookmarks: BookmarkApi;
|
|
35
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Module } from './module';
|
|
2
|
+
import { Configuration } from './types/Configuration';
|
|
3
|
+
import { DynamicStyleCollection } from './types/VectorStyle';
|
|
4
|
+
export type AppParameters = {
|
|
5
|
+
/**
|
|
6
|
+
* Where to attach the piero root element.
|
|
7
|
+
*/
|
|
8
|
+
container: string | Element;
|
|
9
|
+
/**
|
|
10
|
+
* The static configuration to use, or the URL to a remote configuration.
|
|
11
|
+
*/
|
|
12
|
+
configuration: Configuration | string;
|
|
13
|
+
/**
|
|
14
|
+
* Optional style functions to use.
|
|
15
|
+
*/
|
|
16
|
+
dynamicStyles?: DynamicStyleCollection;
|
|
17
|
+
/**
|
|
18
|
+
* The base URL of the application. This is used to resolve relative URLs.
|
|
19
|
+
* @example 'http://localhost:8080/' or 'https://mydomain.com/myapp/'
|
|
20
|
+
*/
|
|
21
|
+
baseUrl: string;
|
|
22
|
+
/**
|
|
23
|
+
* The list of modules to load.
|
|
24
|
+
* @defaultValue []
|
|
25
|
+
*/
|
|
26
|
+
modules?: Module[];
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Entry point for a Piero application.
|
|
30
|
+
*/
|
|
31
|
+
export default function createPieroApp(params: AppParameters): Promise<void>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { EventDispatcher } from '../../../node_modules/three';
|
|
2
|
+
import { default as Bookmark } from './types/Bookmark';
|
|
3
|
+
import { DatasetOrGroup } from './types/Dataset';
|
|
4
|
+
/**
|
|
5
|
+
* An event with no argument.
|
|
6
|
+
*/
|
|
7
|
+
export type PieroEmptyEvent = unknown;
|
|
8
|
+
/**
|
|
9
|
+
* An event with a payload.
|
|
10
|
+
*/
|
|
11
|
+
export type PayloadEvent<T> = {
|
|
12
|
+
value: T;
|
|
13
|
+
};
|
|
14
|
+
export interface PieroGlobalEvents {
|
|
15
|
+
/**
|
|
16
|
+
* Raised when the application has finished loading.
|
|
17
|
+
*/
|
|
18
|
+
ready: PieroEmptyEvent;
|
|
19
|
+
}
|
|
20
|
+
export interface BookmarkEvents {
|
|
21
|
+
'bookmark-added': PayloadEvent<Bookmark>;
|
|
22
|
+
'bookmark-removed': PayloadEvent<Bookmark>;
|
|
23
|
+
}
|
|
24
|
+
export interface DatasetEvents {
|
|
25
|
+
'dataset-added': PayloadEvent<DatasetOrGroup>;
|
|
26
|
+
'dataset-removed': PayloadEvent<DatasetOrGroup>;
|
|
27
|
+
'dataset-visibility-changed': PayloadEvent<DatasetOrGroup>;
|
|
28
|
+
}
|
|
29
|
+
export type PieroEvents = PieroGlobalEvents & BookmarkEvents & DatasetEvents;
|
|
30
|
+
export declare const GLOBAL_EVENT_DISPATCHER: EventDispatcher<PieroEvents>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as CameraController } from '../services/CameraController';
|
|
2
|
+
import { default as Instance } from '@giro3d/giro3d/core/Instance';
|
|
3
|
+
import { default as Panel } from '@giro3d/giro3d/gui/Panel';
|
|
4
|
+
import { default as GUI } from 'lil-gui';
|
|
5
|
+
declare class CameraControlsInspector extends Panel {
|
|
6
|
+
camera: CameraController;
|
|
7
|
+
private _cameraPosition;
|
|
8
|
+
private _boundOnAfterCameraUpdate;
|
|
9
|
+
/**
|
|
10
|
+
* @param gui - The GUI.
|
|
11
|
+
* @param instance - The Giro3D instance.
|
|
12
|
+
*/
|
|
13
|
+
constructor(gui: GUI, cameraController: CameraController, instance: Instance);
|
|
14
|
+
dispose(): void;
|
|
15
|
+
private onAfterCameraUpdate;
|
|
16
|
+
}
|
|
17
|
+
export default CameraControlsInspector;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Dataset, DatasetBase } from '../types/Dataset';
|
|
2
|
+
import { DatasetAsMeshConfig } from '../types/configuration/datasets';
|
|
3
|
+
import { default as Instance } from '@giro3d/giro3d/core/Instance';
|
|
4
|
+
import { default as Entity3D } from '@giro3d/giro3d/entities/Entity3D';
|
|
5
|
+
export type BuilderContext = {
|
|
6
|
+
instance: Instance;
|
|
7
|
+
dataset: Dataset;
|
|
8
|
+
};
|
|
9
|
+
export type EntityBuilder = (context: BuilderContext) => Promise<Entity3D>;
|
|
10
|
+
export declare function registerEntityBuilder(datasetType: string, builder: EntityBuilder): void;
|
|
11
|
+
/**
|
|
12
|
+
* Gets the Giro3D entity for a dataset
|
|
13
|
+
* @param instance - Giro3D main instance
|
|
14
|
+
* @param dataset - Dataset
|
|
15
|
+
* @returns Entity
|
|
16
|
+
*/
|
|
17
|
+
declare function getEntity(instance: Instance, dataset: Dataset & DatasetBase<DatasetAsMeshConfig>): Promise<Entity3D>;
|
|
18
|
+
declare const _default: {
|
|
19
|
+
getEntity: typeof getEntity;
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { default as Instance } from '@giro3d/giro3d/core/Instance';
|
|
2
|
+
import { default as Map } from '@giro3d/giro3d/entities/Map';
|
|
3
|
+
import { EventDispatcher } from '../../../../node_modules/three';
|
|
4
|
+
export declare class GraticuleLayer extends EventDispatcher {
|
|
5
|
+
readonly name: "Graticule";
|
|
6
|
+
readonly uuid: "graticule";
|
|
7
|
+
readonly canSetOpacity = false;
|
|
8
|
+
private _enabled;
|
|
9
|
+
private _visible;
|
|
10
|
+
private _instance?;
|
|
11
|
+
private _map?;
|
|
12
|
+
set instance(v: Instance);
|
|
13
|
+
set map(v: Map);
|
|
14
|
+
get enabled(): boolean;
|
|
15
|
+
set enabled(v: boolean);
|
|
16
|
+
get visible(): boolean;
|
|
17
|
+
set visible(v: boolean);
|
|
18
|
+
get displayed(): boolean;
|
|
19
|
+
private _updateVisible;
|
|
20
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as Instance } from '@giro3d/giro3d/core/Instance';
|
|
2
|
+
import { default as Extent } from '@giro3d/giro3d/core/geographic/Extent';
|
|
3
|
+
declare class Grid {
|
|
4
|
+
private readonly _instance;
|
|
5
|
+
private readonly _grid;
|
|
6
|
+
constructor(instance: Instance, extent: Extent, name: string);
|
|
7
|
+
dispose(): void;
|
|
8
|
+
get visible(): boolean;
|
|
9
|
+
set visible(v: boolean);
|
|
10
|
+
}
|
|
11
|
+
export default Grid;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { BaseLayer, BasemapLayer } from '../types/BaseLayer';
|
|
2
|
+
import { Dataset, DatasetBase } from '../types/Dataset';
|
|
3
|
+
import { Overlay } from '../types/Overlay';
|
|
4
|
+
import { DatasetAsLayerConfig } from '../types/configuration/datasets';
|
|
5
|
+
import { LayerOptions } from '../types/configuration/externals';
|
|
6
|
+
import { LayerSourceConfig } from '../types/configuration/layers';
|
|
7
|
+
import { default as Instance } from '@giro3d/giro3d/core/Instance';
|
|
8
|
+
import { default as Extent } from '@giro3d/giro3d/core/geographic/Extent';
|
|
9
|
+
import { default as ColorLayer } from '@giro3d/giro3d/core/layer/ColorLayer';
|
|
10
|
+
import { default as ElevationLayer } from '@giro3d/giro3d/core/layer/ElevationLayer';
|
|
11
|
+
import { default as MaskLayer } from '@giro3d/giro3d/core/layer/MaskLayer';
|
|
12
|
+
import { default as ImageSource } from '@giro3d/giro3d/sources/ImageSource';
|
|
13
|
+
/**
|
|
14
|
+
* Generates a Giro3D source from a configuration
|
|
15
|
+
* @param config - Source configuration
|
|
16
|
+
* @returns Source
|
|
17
|
+
*/
|
|
18
|
+
declare function getSource(config: LayerSourceConfig): Promise<ImageSource>;
|
|
19
|
+
/**
|
|
20
|
+
* Gets the options for building Giro3D {@link Layer}s.
|
|
21
|
+
* @param layer - Layer configuration
|
|
22
|
+
* @returns Options that should be passed to layer constructor
|
|
23
|
+
*/
|
|
24
|
+
declare function getLayerOptions(layer: BaseLayer | Overlay | DatasetAsLayerConfig): Promise<LayerOptions>;
|
|
25
|
+
/**
|
|
26
|
+
* Gets the Giro3D layer for an overlay
|
|
27
|
+
* @param overlay - Overlay configuration
|
|
28
|
+
* @param extent - Extent of the overlay
|
|
29
|
+
* @returns Layer
|
|
30
|
+
*/
|
|
31
|
+
declare function getOverlay(overlay: Overlay, extent: Extent): Promise<ColorLayer>;
|
|
32
|
+
/**
|
|
33
|
+
* Gets the Giro3D layer for a layer
|
|
34
|
+
* @param basemap - Basemap layer configuration
|
|
35
|
+
* @returns Layer
|
|
36
|
+
*/
|
|
37
|
+
declare function getLayer(basemap: BaseLayer): Promise<BasemapLayer>;
|
|
38
|
+
declare function getDatasetLayer(instance: Instance, dataset: Dataset & DatasetBase<DatasetAsLayerConfig>): Promise<ColorLayer | MaskLayer | ElevationLayer>;
|
|
39
|
+
declare const _default: {
|
|
40
|
+
getSource: typeof getSource;
|
|
41
|
+
getLayerOptions: typeof getLayerOptions;
|
|
42
|
+
getLayer: typeof getLayer;
|
|
43
|
+
getOverlay: typeof getOverlay;
|
|
44
|
+
getDatasetLayer: typeof getDatasetLayer;
|
|
45
|
+
};
|
|
46
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { HIGHLIGHT_MEASURE_COLOR } from '../constants';
|
|
2
|
+
import { default as Measure } from '../types/Measure';
|
|
3
|
+
import { default as Shape } from '@giro3d/giro3d/entities/Shape';
|
|
4
|
+
export type MeasureUserData = {
|
|
5
|
+
measure: Measure;
|
|
6
|
+
highlightable: true;
|
|
7
|
+
highlightColor: typeof HIGHLIGHT_MEASURE_COLOR;
|
|
8
|
+
};
|
|
9
|
+
declare class Measure3D extends Shape<MeasureUserData> {
|
|
10
|
+
readonly isMeasure3D: true;
|
|
11
|
+
get from(): import('../../../../node_modules/three').Vector3;
|
|
12
|
+
get to(): import('../../../../node_modules/three').Vector3;
|
|
13
|
+
get length(): number;
|
|
14
|
+
constructor();
|
|
15
|
+
copy(source: this): this;
|
|
16
|
+
clone(): Measure3D;
|
|
17
|
+
static isMeasure3D: (obj: unknown) => obj is Measure3D;
|
|
18
|
+
}
|
|
19
|
+
export default Measure3D;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as Instance } from '@giro3d/giro3d/core/Instance';
|
|
2
|
+
import { default as Extent } from '@giro3d/giro3d/core/geographic/Extent';
|
|
3
|
+
declare class Plane {
|
|
4
|
+
private readonly _instance;
|
|
5
|
+
private readonly _plane;
|
|
6
|
+
constructor(instance: Instance, extent: Extent, name: string);
|
|
7
|
+
dispose(): void;
|
|
8
|
+
get visible(): boolean;
|
|
9
|
+
set visible(v: boolean);
|
|
10
|
+
}
|
|
11
|
+
export default Plane;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { FeatureElevationCallback, FeatureExtrusionOffsetCallback, FeatureStyle, FeatureStyleCallback } from '@giro3d/giro3d/core/FeatureTypes';
|
|
2
|
+
import { default as FeatureCollection } from '@giro3d/giro3d/entities/FeatureCollection';
|
|
3
|
+
import { EntityBuilder } from '../EntityBuilder';
|
|
4
|
+
import { FeatureProjectionMixin } from '../sources/mixins';
|
|
5
|
+
/** Options for the Giro3D FeatureCollection */
|
|
6
|
+
type FeatureCollectionConstructorOptions = ConstructorParameters<typeof FeatureCollection>[0];
|
|
7
|
+
/** Options for {@link FeatureCollectionEntity} */
|
|
8
|
+
export interface FeatureCollectionEntityOptions extends Required<FeatureProjectionMixin>, Partial<Pick<FeatureCollectionConstructorOptions, 'extent' | 'minLevel' | 'maxLevel' | 'ignoreZ'>> {
|
|
9
|
+
/** Source to use */
|
|
10
|
+
source: 'bdtopo';
|
|
11
|
+
/**
|
|
12
|
+
* Set the elevation of the features received from the source.
|
|
13
|
+
* It can be a constant for every feature, or a callback.
|
|
14
|
+
* The callback version is particularly useful to derive the elevation
|
|
15
|
+
* from the properties of the feature.
|
|
16
|
+
* Requires {@link _ignoreZ} to be `false`.
|
|
17
|
+
*/
|
|
18
|
+
elevation?: number | FeatureElevationCallback;
|
|
19
|
+
/**
|
|
20
|
+
* If set, this will cause 2D features to be extruded of the corresponding amount.
|
|
21
|
+
* If a single value is given, it will be used for all the vertices of every feature.
|
|
22
|
+
* If an array is given, each extruded vertex will use the corresponding value.
|
|
23
|
+
* If a callback is given, it allows to extrude each feature individually.
|
|
24
|
+
*/
|
|
25
|
+
extrusionOffset?: number | FeatureExtrusionOffsetCallback;
|
|
26
|
+
/**
|
|
27
|
+
* An style or a callback returning a style to style the individual features.
|
|
28
|
+
* If an object is used, the informations it contains will be used to style every
|
|
29
|
+
* feature the same way. If a function is provided, it will be called with the feature.
|
|
30
|
+
* This allows to individually style each feature.
|
|
31
|
+
*/
|
|
32
|
+
style?: FeatureStyle | FeatureStyleCallback;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Entity for displaying 3D buildings
|
|
36
|
+
*/
|
|
37
|
+
export declare class FeatureCollectionEntity extends FeatureCollection {
|
|
38
|
+
constructor(options: FeatureCollectionEntityOptions);
|
|
39
|
+
}
|
|
40
|
+
export declare const build: EntityBuilder;
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { UrlOrData } from '../../utils/Fetcher';
|
|
2
|
+
import { GetMemoryUsageContext } from '@giro3d/giro3d/core/MemoryUsage';
|
|
3
|
+
import { EntityPreprocessOptions } from '@giro3d/giro3d/entities/Entity';
|
|
4
|
+
import { PointCloudOptions, default as PointCloud } from '@giro3d/giro3d/entities/PointCloud';
|
|
5
|
+
import { GetNodeDataOptions, PointCloudMetadata, PointCloudNode, PointCloudNodeData, PointCloudSourceBase } from '@giro3d/giro3d/sources/PointCloudSource';
|
|
6
|
+
import { DataProjectionMixin, UrlOrDataMixin } from '../sources/mixins';
|
|
7
|
+
/** Parameters for {@link PointCloudSource} for creating {@link PointCloudEntity} */
|
|
8
|
+
export interface PointCloudSourceOptions extends UrlOrDataMixin, DataProjectionMixin {
|
|
9
|
+
}
|
|
10
|
+
export type CSVPointCloudSourceOptions = UrlOrDataMixin & DataProjectionMixin;
|
|
11
|
+
/**
|
|
12
|
+
* Source for loading CSV (as X, Y, Z) point clouds.
|
|
13
|
+
*
|
|
14
|
+
* @see https://loaders.gl/docs/modules/csv/api-reference/csv-loader
|
|
15
|
+
*/
|
|
16
|
+
export declare class CSVPointCloudSource extends PointCloudSourceBase {
|
|
17
|
+
readonly isCSVPointCloudSource: true;
|
|
18
|
+
readonly type = "CSVPointCloudSource";
|
|
19
|
+
readonly url: UrlOrData;
|
|
20
|
+
readonly dataProjection?: string;
|
|
21
|
+
private readonly _opCounter;
|
|
22
|
+
private _root;
|
|
23
|
+
private _metadata;
|
|
24
|
+
private _points;
|
|
25
|
+
private _origin;
|
|
26
|
+
private _zArray;
|
|
27
|
+
private _localVolume;
|
|
28
|
+
get progress(): number;
|
|
29
|
+
get loading(): boolean;
|
|
30
|
+
constructor(options: CSVPointCloudSourceOptions);
|
|
31
|
+
protected initializeOnce(): Promise<this>;
|
|
32
|
+
getHierarchy(): Promise<PointCloudNode>;
|
|
33
|
+
getMetadata(): Promise<PointCloudMetadata>;
|
|
34
|
+
getNodeData(params: GetNodeDataOptions): Promise<PointCloudNodeData>;
|
|
35
|
+
dispose(): void;
|
|
36
|
+
getMemoryUsage(context: GetMemoryUsageContext): void;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Point cloud entity
|
|
40
|
+
*/
|
|
41
|
+
export default class PointCloudEntity extends PointCloud {
|
|
42
|
+
readonly isPointCloudEntity = true;
|
|
43
|
+
constructor(options: PointCloudOptions);
|
|
44
|
+
initialize(opts: EntityPreprocessOptions): Promise<void>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EntityBuilder } from '../EntityBuilder';
|
|
2
|
+
import { Tiles3dSource, default as Tiles3dEntity } from './Tiles3dEntity';
|
|
3
|
+
/** Parameters for creating {@link TiledPointCloudEntity} */
|
|
4
|
+
export interface TiledPointCloudSource extends Tiles3dSource {
|
|
5
|
+
name: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Entity for displaying 3D-Tiles point clouds
|
|
9
|
+
*/
|
|
10
|
+
export default class TiledPointCloudEntity extends Tiles3dEntity {
|
|
11
|
+
constructor(parameters: TiledPointCloudSource);
|
|
12
|
+
}
|
|
13
|
+
export declare const build: EntityBuilder;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Tiles3DOptions, default as Tiles3D } from '@giro3d/giro3d/entities/Tiles3D';
|
|
2
|
+
import { UrlMixin } from '../sources/mixins';
|
|
3
|
+
/** Parameters for creating {@link Tiles3dEntity} */
|
|
4
|
+
export interface Tiles3dSource extends UrlMixin {
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Entity for displaying 3D-Tiles files
|
|
8
|
+
*/
|
|
9
|
+
export default class Tiles3dEntity extends Tiles3D {
|
|
10
|
+
constructor(parameters: Tiles3dSource, options?: Tiles3DOptions);
|
|
11
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { SimpleFeature } from '../../utils/OLFeatures';
|
|
2
|
+
import { default as PickOptions } from '@giro3d/giro3d/core/picking/PickOptions';
|
|
3
|
+
import { default as PickResult } from '@giro3d/giro3d/core/picking/PickResult';
|
|
4
|
+
import { default as Entity3D } from '@giro3d/giro3d/entities/Entity3D';
|
|
5
|
+
import { Box3, Vector2, Vector3 } from '../../../../../node_modules/three';
|
|
6
|
+
import { VectorMeshSource } from './VectorMeshEntity';
|
|
7
|
+
/**
|
|
8
|
+
* Pick result on {@link VectorLabelsEntity}
|
|
9
|
+
*/
|
|
10
|
+
export type LabelPickResult = PickResult & {
|
|
11
|
+
isLabelPickResult: true;
|
|
12
|
+
entity: VectorLabelsEntity;
|
|
13
|
+
};
|
|
14
|
+
export interface VectorLabelOptions {
|
|
15
|
+
/**
|
|
16
|
+
* Callback for generating the text of labels
|
|
17
|
+
* @param feature - Feature corresponding to the label
|
|
18
|
+
* @param at - 3D position
|
|
19
|
+
* @returns Content of the label to create
|
|
20
|
+
*/
|
|
21
|
+
text?: (feature: SimpleFeature, at: Vector3) => string;
|
|
22
|
+
/**
|
|
23
|
+
* Callback for styling the label
|
|
24
|
+
* @param span - Label
|
|
25
|
+
* @param feature - Feature corresponding to the label
|
|
26
|
+
* @returns Nothing
|
|
27
|
+
*/
|
|
28
|
+
style?: (span: HTMLSpanElement, feature: SimpleFeature) => void;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Entity for displaying vector data as labels
|
|
32
|
+
*/
|
|
33
|
+
export default class VectorLabelsEntity extends Entity3D {
|
|
34
|
+
readonly sources: VectorMeshSource[];
|
|
35
|
+
private _labels;
|
|
36
|
+
private _textCallback;
|
|
37
|
+
private _styleCallback?;
|
|
38
|
+
constructor(sources: VectorMeshSource | VectorMeshSource[], options?: VectorLabelOptions);
|
|
39
|
+
updateVisibility(): void;
|
|
40
|
+
updateOpacity(): void;
|
|
41
|
+
private updateStyle;
|
|
42
|
+
private createLabel;
|
|
43
|
+
protected preprocess(): Promise<void>;
|
|
44
|
+
private pickLabels;
|
|
45
|
+
private raycastLabel;
|
|
46
|
+
pick(coordinates: Vector2, _options?: PickOptions): LabelPickResult[];
|
|
47
|
+
getBoundingBox(): Box3 | null;
|
|
48
|
+
}
|