@smplrspace/smplr-loader 2.63.2-beta.2 → 2.63.2-beta.4
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/dist/generated/smplr.d.ts +605 -3156
- package/package.json +1 -1
|
@@ -34,38 +34,13 @@ import type { Scene } from '@babylonjs/core/scene';
|
|
|
34
34
|
import type { ShadowGenerator } from '@babylonjs/core/Lights/Shadows/shadowGenerator';
|
|
35
35
|
import type { SnapshotIn } from 'mobx-state-tree';
|
|
36
36
|
import type { SnapshotOut } from 'mobx-state-tree';
|
|
37
|
+
import type { SOLevel } from 'src/editor/store/space/Level';
|
|
38
|
+
import type { SOSpace } from 'src/editor/store/space/Space';
|
|
37
39
|
import type { User as User_2 } from '@auth0/auth0-spa-js';
|
|
38
40
|
import type { Vector2 } from '@babylonjs/core/Maths/math';
|
|
39
41
|
import type { Vector3 } from '@babylonjs/core/Maths/math.vector';
|
|
40
42
|
import { Vector3 as Vector3_2 } from '@babylonjs/core/Maths/math';
|
|
41
43
|
|
|
42
|
-
declare const AbstractSegment: IModelType< {
|
|
43
|
-
start: IModelType< {
|
|
44
|
-
r: ISimpleType<number>;
|
|
45
|
-
t: ISimpleType<number>;
|
|
46
|
-
} & {
|
|
47
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
48
|
-
}, {
|
|
49
|
-
readonly json: CanvasCoordWithId;
|
|
50
|
-
} & {
|
|
51
|
-
regenerateId(randomizer: string): void;
|
|
52
|
-
}, _NotCustomized, _NotCustomized>;
|
|
53
|
-
end: IModelType< {
|
|
54
|
-
r: ISimpleType<number>;
|
|
55
|
-
t: ISimpleType<number>;
|
|
56
|
-
} & {
|
|
57
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
58
|
-
}, {
|
|
59
|
-
readonly json: CanvasCoordWithId;
|
|
60
|
-
} & {
|
|
61
|
-
regenerateId(randomizer: string): void;
|
|
62
|
-
}, _NotCustomized, _NotCustomized>;
|
|
63
|
-
}, {
|
|
64
|
-
readonly superJson: JsonAbstractSegment;
|
|
65
|
-
} & {
|
|
66
|
-
readonly centerPoint: SOCanvasPoint;
|
|
67
|
-
}, _NotCustomized, _NotCustomized>;
|
|
68
|
-
|
|
69
44
|
declare const Annotation: IModelType< {
|
|
70
45
|
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
71
46
|
type: IOptionalIType<ISimpleType<AnnotationType>, [undefined]>;
|
|
@@ -186,23 +161,6 @@ declare interface CanvasCoord {
|
|
|
186
161
|
t: number;
|
|
187
162
|
}
|
|
188
163
|
|
|
189
|
-
declare interface CanvasCoordWithId extends CanvasCoord {
|
|
190
|
-
id: string;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
declare const CanvasPoint: IModelType< {
|
|
194
|
-
r: ISimpleType<number>;
|
|
195
|
-
t: ISimpleType<number>;
|
|
196
|
-
} & {
|
|
197
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
198
|
-
}, {
|
|
199
|
-
readonly json: CanvasCoordWithId;
|
|
200
|
-
} & {
|
|
201
|
-
regenerateId(randomizer: string): void;
|
|
202
|
-
}, _NotCustomized, _NotCustomized>;
|
|
203
|
-
|
|
204
|
-
declare type Cap = 'flat' | 'round';
|
|
205
|
-
|
|
206
164
|
declare const categoryScale: <C extends string>({ categories, nodata, }: CategoryScaleOptions<C>) => (category: C) => string;
|
|
207
165
|
|
|
208
166
|
declare interface CategoryScaleOptions<C extends string> {
|
|
@@ -259,8 +217,6 @@ declare namespace Color {
|
|
|
259
217
|
}
|
|
260
218
|
export { Color }
|
|
261
219
|
|
|
262
|
-
declare type Color_2 = 'white' | 'grey' | 'darkgrey';
|
|
263
|
-
|
|
264
220
|
declare interface ColorSwatches extends Pick<ColorSwatchesProps, 'swatches'> {
|
|
265
221
|
type: 'swatches';
|
|
266
222
|
}
|
|
@@ -461,36 +417,6 @@ declare enum EventType {
|
|
|
461
417
|
CameraStoppedMoving = "CameraStoppedMoving"
|
|
462
418
|
}
|
|
463
419
|
|
|
464
|
-
declare const Facade: IModelType< {
|
|
465
|
-
url: ISimpleType<string>;
|
|
466
|
-
levelIndex: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
467
|
-
position: IOptionalIType<IModelType< {
|
|
468
|
-
x: ISimpleType<number>;
|
|
469
|
-
z: ISimpleType<number>;
|
|
470
|
-
} & {
|
|
471
|
-
elevation: ISimpleType<number>;
|
|
472
|
-
}, {}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
473
|
-
rotation: IOptionalIType<IModelType< {
|
|
474
|
-
pitch: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
475
|
-
yaw: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
476
|
-
roll: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
477
|
-
}, {
|
|
478
|
-
readonly json: Rotation3d;
|
|
479
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
480
|
-
dimensions: IOptionalIType<IModelType< {
|
|
481
|
-
length: IMaybe<ISimpleType<number>>;
|
|
482
|
-
width: IMaybe<ISimpleType<number>>;
|
|
483
|
-
height: IMaybe<ISimpleType<number>>;
|
|
484
|
-
}, {
|
|
485
|
-
readonly json: JsonObjectDimensions;
|
|
486
|
-
readonly safeValues: {
|
|
487
|
-
length: number;
|
|
488
|
-
width: number;
|
|
489
|
-
height: number;
|
|
490
|
-
};
|
|
491
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
492
|
-
}, {}, _NotCustomized, _NotCustomized>;
|
|
493
|
-
|
|
494
420
|
declare type FeatureExtras = Record<string, JsonValue>;
|
|
495
421
|
|
|
496
422
|
declare interface Filter {
|
|
@@ -530,28 +456,6 @@ declare interface Filter {
|
|
|
530
456
|
};
|
|
531
457
|
}
|
|
532
458
|
|
|
533
|
-
declare const Floorplan: IModelType< {
|
|
534
|
-
url: IMaybe<ISimpleType<string>>;
|
|
535
|
-
r2Key: IMaybe<ISimpleType<string>>;
|
|
536
|
-
data: IMaybe<ISimpleType<string>>;
|
|
537
|
-
r: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
538
|
-
t: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
539
|
-
scale: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
540
|
-
flipped: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
541
|
-
}, {
|
|
542
|
-
isNil(): boolean;
|
|
543
|
-
} & {
|
|
544
|
-
setUrl(url: string): void;
|
|
545
|
-
setR2Key(r2Key: string | undefined): void;
|
|
546
|
-
setData(data: string | undefined): void;
|
|
547
|
-
moveTo({ r, t }: CanvasCoord): void;
|
|
548
|
-
setScale(scale: number): void;
|
|
549
|
-
setFlipped(flipped: boolean): void;
|
|
550
|
-
remove(): void;
|
|
551
|
-
} & {
|
|
552
|
-
rescaleByFactor(factor: number, imageOnly?: boolean): void;
|
|
553
|
-
}, _NotCustomized, _NotCustomized>;
|
|
554
|
-
|
|
555
459
|
export declare interface Furniture {
|
|
556
460
|
catalogId: string;
|
|
557
461
|
id: string;
|
|
@@ -679,155 +583,6 @@ declare const getNominalDimensions_8: NominalDimensionsGetter<TableAndChairsConf
|
|
|
679
583
|
|
|
680
584
|
declare const getNominalDimensions_9: NominalDimensionsGetter<TriangularDeskConfiguration>;
|
|
681
585
|
|
|
682
|
-
declare const Ground: IModelType< {
|
|
683
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
684
|
-
type: IOptionalIType<ISimpleType<"ground">, [undefined]>;
|
|
685
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
686
|
-
options: IOptionalIType<IModelType< {
|
|
687
|
-
type: IOptionalIType<ISimpleType<"normal" | "shell" | "norender">, [undefined]>;
|
|
688
|
-
baseHeight: IMaybe<ISimpleType<number>>;
|
|
689
|
-
thickness: IMaybe<ISimpleType<number>>;
|
|
690
|
-
contour: IMaybe<ISimpleType<number>>;
|
|
691
|
-
style: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
692
|
-
external: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
693
|
-
}, {
|
|
694
|
-
readonly json: JsonGroundOptions;
|
|
695
|
-
} & {
|
|
696
|
-
setType(type: "normal" | "shell" | "norender"): void;
|
|
697
|
-
setBaseHeight(baseHeight: number | undefined): void;
|
|
698
|
-
setThickness(thickness: number | undefined): void;
|
|
699
|
-
setContour(contour: number): void;
|
|
700
|
-
setStyle(style: string): void;
|
|
701
|
-
setExternal(external: boolean): void;
|
|
702
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
703
|
-
segments: IArrayType<IModelType< {
|
|
704
|
-
start: IModelType< {
|
|
705
|
-
r: ISimpleType<number>;
|
|
706
|
-
t: ISimpleType<number>;
|
|
707
|
-
} & {
|
|
708
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
709
|
-
}, {
|
|
710
|
-
readonly json: CanvasCoordWithId;
|
|
711
|
-
} & {
|
|
712
|
-
regenerateId(randomizer: string): void;
|
|
713
|
-
}, _NotCustomized, _NotCustomized>;
|
|
714
|
-
end: IModelType< {
|
|
715
|
-
r: ISimpleType<number>;
|
|
716
|
-
t: ISimpleType<number>;
|
|
717
|
-
} & {
|
|
718
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
719
|
-
}, {
|
|
720
|
-
readonly json: CanvasCoordWithId;
|
|
721
|
-
} & {
|
|
722
|
-
regenerateId(randomizer: string): void;
|
|
723
|
-
}, _NotCustomized, _NotCustomized>;
|
|
724
|
-
}, {
|
|
725
|
-
readonly superJson: JsonAbstractSegment;
|
|
726
|
-
} & {
|
|
727
|
-
readonly centerPoint: SOCanvasPoint;
|
|
728
|
-
} & {
|
|
729
|
-
regenerateIds(randomizer: string): void;
|
|
730
|
-
} & {
|
|
731
|
-
readonly json: JsonAbstractSegment;
|
|
732
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
733
|
-
holes: IArrayType<IModelType< {
|
|
734
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
735
|
-
type: IOptionalIType<ISimpleType<"hole">, [undefined]>;
|
|
736
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
737
|
-
segments: IArrayType<IModelType< {
|
|
738
|
-
start: IModelType< {
|
|
739
|
-
r: ISimpleType<number>;
|
|
740
|
-
t: ISimpleType<number>;
|
|
741
|
-
} & {
|
|
742
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
743
|
-
}, {
|
|
744
|
-
readonly json: CanvasCoordWithId;
|
|
745
|
-
} & {
|
|
746
|
-
regenerateId(randomizer: string): void;
|
|
747
|
-
}, _NotCustomized, _NotCustomized>;
|
|
748
|
-
end: IModelType< {
|
|
749
|
-
r: ISimpleType<number>;
|
|
750
|
-
t: ISimpleType<number>;
|
|
751
|
-
} & {
|
|
752
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
753
|
-
}, {
|
|
754
|
-
readonly json: CanvasCoordWithId;
|
|
755
|
-
} & {
|
|
756
|
-
regenerateId(randomizer: string): void;
|
|
757
|
-
}, _NotCustomized, _NotCustomized>;
|
|
758
|
-
}, {
|
|
759
|
-
readonly superJson: JsonAbstractSegment;
|
|
760
|
-
} & {
|
|
761
|
-
readonly centerPoint: SOCanvasPoint;
|
|
762
|
-
} & {
|
|
763
|
-
regenerateIds(randomizer: string): void;
|
|
764
|
-
} & {
|
|
765
|
-
readonly json: JsonAbstractSegment;
|
|
766
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
767
|
-
}, {
|
|
768
|
-
readonly json: JsonHole;
|
|
769
|
-
getGround(): IGround;
|
|
770
|
-
} & {
|
|
771
|
-
newInParent(): void;
|
|
772
|
-
removeInParent(): void;
|
|
773
|
-
clearInEditor(id: string): void;
|
|
774
|
-
regenerateIds(randomizer: string): void;
|
|
775
|
-
} & {
|
|
776
|
-
rename(name: string): void;
|
|
777
|
-
} & {
|
|
778
|
-
readonly points: SOCanvasPoint[];
|
|
779
|
-
readonly geometry: SegmentGeometry;
|
|
780
|
-
} & {
|
|
781
|
-
addPoint({ r, t }: SICanvasPoint): void;
|
|
782
|
-
addPointAfter({ pointId }: {
|
|
783
|
-
pointId: string;
|
|
784
|
-
}): void;
|
|
785
|
-
close(): void;
|
|
786
|
-
removePoint(id: string): void;
|
|
787
|
-
} & {
|
|
788
|
-
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
789
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
790
|
-
} & {
|
|
791
|
-
layers: IArrayType<ISimpleType<string>>;
|
|
792
|
-
} & {
|
|
793
|
-
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
794
|
-
}, {
|
|
795
|
-
readonly json: JsonGround;
|
|
796
|
-
} & {
|
|
797
|
-
newInParent(): void;
|
|
798
|
-
removeInParent(): void;
|
|
799
|
-
clearInEditor(id: string): void;
|
|
800
|
-
regenerateIds(randomizer: string): void;
|
|
801
|
-
} & {
|
|
802
|
-
rename(name: string): void;
|
|
803
|
-
ensureName(): void;
|
|
804
|
-
addHole(hole?: Omit<SIHole, 'segments'> & {
|
|
805
|
-
segments: SOGroundSegment[];
|
|
806
|
-
}): void;
|
|
807
|
-
removeHole(holeId: string): void;
|
|
808
|
-
replaceSegments(segments: SIGroundSegment[]): void;
|
|
809
|
-
} & {
|
|
810
|
-
readonly points: SOCanvasPoint[];
|
|
811
|
-
readonly geometry: SegmentGeometry;
|
|
812
|
-
} & {
|
|
813
|
-
addPoint({ r, t }: SICanvasPoint): void;
|
|
814
|
-
addPointAfter({ pointId }: {
|
|
815
|
-
pointId: string;
|
|
816
|
-
}): void;
|
|
817
|
-
close(): void;
|
|
818
|
-
removePoint(id: string): void;
|
|
819
|
-
} & {
|
|
820
|
-
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
821
|
-
} & {
|
|
822
|
-
setLayers(layers: string[]): void;
|
|
823
|
-
} & {
|
|
824
|
-
setExtras(extras: FeatureExtras | undefined): void;
|
|
825
|
-
mergeExtras(extras: FeatureExtras): void;
|
|
826
|
-
setExtrasEntry(key: string, value: JsonValue): void;
|
|
827
|
-
removeExtrasEntry(key: string): void;
|
|
828
|
-
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
829
|
-
}, _NotCustomized, _NotCustomized>;
|
|
830
|
-
|
|
831
586
|
declare type GroundFootprintGetter<C> = (args: {
|
|
832
587
|
width: number;
|
|
833
588
|
length: number;
|
|
@@ -843,39 +598,6 @@ declare interface GroundMaterials {
|
|
|
843
598
|
white: PBRMetallicRoughnessMaterial;
|
|
844
599
|
}
|
|
845
600
|
|
|
846
|
-
declare const GroundSegment: IModelType< {
|
|
847
|
-
start: IModelType< {
|
|
848
|
-
r: ISimpleType<number>;
|
|
849
|
-
t: ISimpleType<number>;
|
|
850
|
-
} & {
|
|
851
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
852
|
-
}, {
|
|
853
|
-
readonly json: CanvasCoordWithId;
|
|
854
|
-
} & {
|
|
855
|
-
regenerateId(randomizer: string): void;
|
|
856
|
-
}, _NotCustomized, _NotCustomized>;
|
|
857
|
-
end: IModelType< {
|
|
858
|
-
r: ISimpleType<number>;
|
|
859
|
-
t: ISimpleType<number>;
|
|
860
|
-
} & {
|
|
861
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
862
|
-
}, {
|
|
863
|
-
readonly json: CanvasCoordWithId;
|
|
864
|
-
} & {
|
|
865
|
-
regenerateId(randomizer: string): void;
|
|
866
|
-
}, _NotCustomized, _NotCustomized>;
|
|
867
|
-
}, {
|
|
868
|
-
readonly superJson: JsonAbstractSegment;
|
|
869
|
-
} & {
|
|
870
|
-
readonly centerPoint: SOCanvasPoint;
|
|
871
|
-
} & {
|
|
872
|
-
regenerateIds(randomizer: string): void;
|
|
873
|
-
} & {
|
|
874
|
-
readonly json: JsonAbstractSegment;
|
|
875
|
-
}, _NotCustomized, _NotCustomized>;
|
|
876
|
-
|
|
877
|
-
declare type GroundType = 'normal' | 'shell' | 'norender';
|
|
878
|
-
|
|
879
601
|
declare interface HeatmapBarChartOptions {
|
|
880
602
|
style: 'bar-chart';
|
|
881
603
|
height: (interpolatedValue: number) => number;
|
|
@@ -935,75 +657,11 @@ touch(): void;
|
|
|
935
657
|
updateDefinition(updates: Partial<Omit<HeatmapDataLayer<UnknownData>, "type">>): void;
|
|
936
658
|
}, _NotCustomized, _NotCustomized>;
|
|
937
659
|
|
|
938
|
-
declare const Hole: IModelType< {
|
|
939
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
940
|
-
type: IOptionalIType<ISimpleType<"hole">, [undefined]>;
|
|
941
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
942
|
-
segments: IArrayType<IModelType< {
|
|
943
|
-
start: IModelType< {
|
|
944
|
-
r: ISimpleType<number>;
|
|
945
|
-
t: ISimpleType<number>;
|
|
946
|
-
} & {
|
|
947
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
948
|
-
}, {
|
|
949
|
-
readonly json: CanvasCoordWithId;
|
|
950
|
-
} & {
|
|
951
|
-
regenerateId(randomizer: string): void;
|
|
952
|
-
}, _NotCustomized, _NotCustomized>;
|
|
953
|
-
end: IModelType< {
|
|
954
|
-
r: ISimpleType<number>;
|
|
955
|
-
t: ISimpleType<number>;
|
|
956
|
-
} & {
|
|
957
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
958
|
-
}, {
|
|
959
|
-
readonly json: CanvasCoordWithId;
|
|
960
|
-
} & {
|
|
961
|
-
regenerateId(randomizer: string): void;
|
|
962
|
-
}, _NotCustomized, _NotCustomized>;
|
|
963
|
-
}, {
|
|
964
|
-
readonly superJson: JsonAbstractSegment;
|
|
965
|
-
} & {
|
|
966
|
-
readonly centerPoint: SOCanvasPoint;
|
|
967
|
-
} & {
|
|
968
|
-
regenerateIds(randomizer: string): void;
|
|
969
|
-
} & {
|
|
970
|
-
readonly json: JsonAbstractSegment;
|
|
971
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
972
|
-
}, {
|
|
973
|
-
readonly json: JsonHole;
|
|
974
|
-
getGround(): IGround;
|
|
975
|
-
} & {
|
|
976
|
-
newInParent(): void;
|
|
977
|
-
removeInParent(): void;
|
|
978
|
-
clearInEditor(id: string): void;
|
|
979
|
-
regenerateIds(randomizer: string): void;
|
|
980
|
-
} & {
|
|
981
|
-
rename(name: string): void;
|
|
982
|
-
} & {
|
|
983
|
-
readonly points: SOCanvasPoint[];
|
|
984
|
-
readonly geometry: SegmentGeometry;
|
|
985
|
-
} & {
|
|
986
|
-
addPoint({ r, t }: SICanvasPoint): void;
|
|
987
|
-
addPointAfter({ pointId }: {
|
|
988
|
-
pointId: string;
|
|
989
|
-
}): void;
|
|
990
|
-
close(): void;
|
|
991
|
-
removePoint(id: string): void;
|
|
992
|
-
} & {
|
|
993
|
-
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
994
|
-
}, _NotCustomized, _NotCustomized>;
|
|
995
|
-
|
|
996
660
|
declare interface HoveredDataElement {
|
|
997
661
|
layer: RenderableDataLayer<DataLayer<UnknownData>>;
|
|
998
662
|
element: UnknownData;
|
|
999
663
|
}
|
|
1000
664
|
|
|
1001
|
-
declare interface IAnnotation extends Instance<typeof Annotation> {
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
declare interface ICanvasPoint extends Instance<typeof CanvasPoint> {
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
665
|
export declare type IconData = BaseData & {
|
|
1008
666
|
position: SmplrCoord3d;
|
|
1009
667
|
width?: number;
|
|
@@ -1069,9 +727,6 @@ touch(): void;
|
|
|
1069
727
|
updateDefinition(updates: Partial<Omit<IconDataLayer<UnknownData>, "type">>): void;
|
|
1070
728
|
}, _NotCustomized, _NotCustomized>;
|
|
1071
729
|
|
|
1072
|
-
declare interface IGround extends Instance<typeof Ground> {
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1075
730
|
export declare type ImageSource = {
|
|
1076
731
|
url: string;
|
|
1077
732
|
} | {
|
|
@@ -1105,34 +760,11 @@ declare interface InternalSpaceRenderOptions {
|
|
|
1105
760
|
};
|
|
1106
761
|
}
|
|
1107
762
|
|
|
1108
|
-
declare interface IObject extends Instance<typeof Object_2> {
|
|
1109
|
-
}
|
|
1110
|
-
|
|
1111
|
-
declare interface IRoof extends Instance<typeof Roof> {
|
|
1112
|
-
}
|
|
1113
|
-
|
|
1114
763
|
declare function isSpaceSid(s: string): s is SpaceSid;
|
|
1115
764
|
|
|
1116
|
-
declare interface IStair extends Instance<typeof Stair> {
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
765
|
declare interface IViewerStore extends Instance<typeof ViewerStore> {
|
|
1120
766
|
}
|
|
1121
767
|
|
|
1122
|
-
declare interface IWall extends Instance<typeof Wall> {
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1125
|
-
declare interface IWallOpening extends Instance<typeof WallOpening> {
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
declare interface IWallSegment extends Instance<typeof WallSegment> {
|
|
1129
|
-
}
|
|
1130
|
-
|
|
1131
|
-
declare interface JsonAbstractSegment {
|
|
1132
|
-
start: CanvasCoordWithId;
|
|
1133
|
-
end: CanvasCoordWithId;
|
|
1134
|
-
}
|
|
1135
|
-
|
|
1136
768
|
declare interface JsonAnnotation {
|
|
1137
769
|
id: string;
|
|
1138
770
|
type: AnnotationType;
|
|
@@ -1145,135 +777,21 @@ declare interface JsonAnnotation {
|
|
|
1145
777
|
extras?: FeatureExtras;
|
|
1146
778
|
}
|
|
1147
779
|
|
|
1148
|
-
declare interface JsonGround {
|
|
1149
|
-
id: string;
|
|
1150
|
-
type: 'ground';
|
|
1151
|
-
name: string;
|
|
1152
|
-
options: JsonGroundOptions;
|
|
1153
|
-
segments: JsonAbstractSegment[];
|
|
1154
|
-
holes: JsonHole[];
|
|
1155
|
-
layers: string[];
|
|
1156
|
-
extras?: FeatureExtras;
|
|
1157
|
-
}
|
|
1158
|
-
|
|
1159
|
-
declare interface JsonGroundOptions {
|
|
1160
|
-
type: GroundType;
|
|
1161
|
-
baseHeight?: number;
|
|
1162
|
-
thickness?: number;
|
|
1163
|
-
contour?: number;
|
|
1164
|
-
style: string;
|
|
1165
|
-
external: boolean;
|
|
1166
|
-
}
|
|
1167
|
-
|
|
1168
|
-
declare interface JsonHole {
|
|
1169
|
-
id: string;
|
|
1170
|
-
type: 'hole';
|
|
1171
|
-
name: string;
|
|
1172
|
-
segments: JsonAbstractSegment[];
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
|
-
declare interface JsonLevel {
|
|
1176
|
-
name: string;
|
|
1177
|
-
initials: string;
|
|
1178
|
-
autoInitials: boolean;
|
|
1179
|
-
grounds: JsonGround[];
|
|
1180
|
-
walls: JsonWall[];
|
|
1181
|
-
roofs: JsonRoof[];
|
|
1182
|
-
stairs: JsonStair[];
|
|
1183
|
-
annotations: JsonAnnotation[];
|
|
1184
|
-
objects: Furniture[];
|
|
1185
|
-
floorplan: Omit<SOFloorplan, 'data'>;
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
780
|
declare interface JsonObjectDimensions {
|
|
1189
781
|
length?: number;
|
|
1190
782
|
width?: number;
|
|
1191
783
|
height?: number;
|
|
1192
784
|
}
|
|
1193
785
|
|
|
1194
|
-
declare interface JsonRoof {
|
|
1195
|
-
id: string;
|
|
1196
|
-
type: 'roof';
|
|
1197
|
-
name: string;
|
|
1198
|
-
options: SORoofOptions;
|
|
1199
|
-
segments: SORoofSegment[];
|
|
1200
|
-
extras?: FeatureExtras;
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
declare interface JsonSpace {
|
|
1204
|
-
levels: JsonLevel[];
|
|
1205
|
-
facade?: SOFacade;
|
|
1206
|
-
defaults: SOSpaceDefaults;
|
|
1207
|
-
}
|
|
1208
|
-
|
|
1209
|
-
declare interface JsonStair {
|
|
1210
|
-
id: string;
|
|
1211
|
-
name: string;
|
|
1212
|
-
bottomSegment: CanvasCoordWithId[];
|
|
1213
|
-
topSegment: CanvasCoordWithId[];
|
|
1214
|
-
baseHeight?: number;
|
|
1215
|
-
height?: number;
|
|
1216
|
-
style: Style;
|
|
1217
|
-
color: Color_2;
|
|
1218
|
-
layers: string[];
|
|
1219
|
-
extras?: FeatureExtras;
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
786
|
declare type JsonValue = string | number | boolean | null | JsonValue[] | {
|
|
1223
787
|
[key: string]: JsonValue;
|
|
1224
788
|
};
|
|
1225
789
|
|
|
1226
|
-
declare
|
|
1227
|
-
id: string;
|
|
1228
|
-
type: 'wall';
|
|
1229
|
-
name: string;
|
|
1230
|
-
options: JsonWallOptions;
|
|
1231
|
-
segments: JsonWallSegment[];
|
|
1232
|
-
layers: string[];
|
|
1233
|
-
extras?: FeatureExtras;
|
|
1234
|
-
}
|
|
790
|
+
declare const key = "chair";
|
|
1235
791
|
|
|
1236
|
-
declare
|
|
1237
|
-
id: string;
|
|
1238
|
-
name: string;
|
|
1239
|
-
type: OpeningType;
|
|
1240
|
-
dimensions: JsonWallOpeningDimensions;
|
|
1241
|
-
position?: JsonWallOpeningPosition;
|
|
1242
|
-
options: SOWallOpeningOptions;
|
|
1243
|
-
layers: string[];
|
|
1244
|
-
extras?: FeatureExtras;
|
|
1245
|
-
}
|
|
792
|
+
declare const key_2 = "sofa";
|
|
1246
793
|
|
|
1247
|
-
declare
|
|
1248
|
-
width?: number;
|
|
1249
|
-
height?: number;
|
|
1250
|
-
baseHeight?: number;
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
declare interface JsonWallOpeningPosition {
|
|
1254
|
-
from: 'start' | 'end';
|
|
1255
|
-
distance: number;
|
|
1256
|
-
}
|
|
1257
|
-
|
|
1258
|
-
declare interface JsonWallOptions {
|
|
1259
|
-
type: WallType;
|
|
1260
|
-
cap: Cap;
|
|
1261
|
-
height?: number;
|
|
1262
|
-
thickness?: number;
|
|
1263
|
-
autoFacade: boolean;
|
|
1264
|
-
partOfFacade: boolean;
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
|
-
declare interface JsonWallSegment extends JsonAbstractSegment {
|
|
1268
|
-
id: string;
|
|
1269
|
-
openings: JsonWallOpening[];
|
|
1270
|
-
}
|
|
1271
|
-
|
|
1272
|
-
declare const key = "chair";
|
|
1273
|
-
|
|
1274
|
-
declare const key_2 = "sofa";
|
|
1275
|
-
|
|
1276
|
-
declare const key_3 = "cube";
|
|
794
|
+
declare const key_3 = "cube";
|
|
1277
795
|
|
|
1278
796
|
declare const key_4 = "desk";
|
|
1279
797
|
|
|
@@ -1319,653 +837,9 @@ declare interface LegendProps {
|
|
|
1319
837
|
correctColor?: boolean;
|
|
1320
838
|
}
|
|
1321
839
|
|
|
1322
|
-
declare const
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
autoInitials: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
1326
|
-
grounds: IOptionalIType<IArrayType<IModelType< {
|
|
1327
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1328
|
-
type: IOptionalIType<ISimpleType<"ground">, [undefined]>;
|
|
1329
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1330
|
-
options: IOptionalIType<IModelType< {
|
|
1331
|
-
type: IOptionalIType<ISimpleType<"normal" | "shell" | "norender">, [undefined]>;
|
|
1332
|
-
baseHeight: IMaybe<ISimpleType<number>>;
|
|
1333
|
-
thickness: IMaybe<ISimpleType<number>>;
|
|
1334
|
-
contour: IMaybe<ISimpleType<number>>;
|
|
1335
|
-
style: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1336
|
-
external: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
1337
|
-
}, {
|
|
1338
|
-
readonly json: JsonGroundOptions;
|
|
1339
|
-
} & {
|
|
1340
|
-
setType(type: "normal" | "shell" | "norender"): void;
|
|
1341
|
-
setBaseHeight(baseHeight: number | undefined): void;
|
|
1342
|
-
setThickness(thickness: number | undefined): void;
|
|
1343
|
-
setContour(contour: number): void;
|
|
1344
|
-
setStyle(style: string): void;
|
|
1345
|
-
setExternal(external: boolean): void;
|
|
1346
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
1347
|
-
segments: IArrayType<IModelType< {
|
|
1348
|
-
start: IModelType< {
|
|
1349
|
-
r: ISimpleType<number>;
|
|
1350
|
-
t: ISimpleType<number>;
|
|
1351
|
-
} & {
|
|
1352
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1353
|
-
}, {
|
|
1354
|
-
readonly json: CanvasCoordWithId;
|
|
1355
|
-
} & {
|
|
1356
|
-
regenerateId(randomizer: string): void;
|
|
1357
|
-
}, _NotCustomized, _NotCustomized>;
|
|
1358
|
-
end: IModelType< {
|
|
1359
|
-
r: ISimpleType<number>;
|
|
1360
|
-
t: ISimpleType<number>;
|
|
1361
|
-
} & {
|
|
1362
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1363
|
-
}, {
|
|
1364
|
-
readonly json: CanvasCoordWithId;
|
|
1365
|
-
} & {
|
|
1366
|
-
regenerateId(randomizer: string): void;
|
|
1367
|
-
}, _NotCustomized, _NotCustomized>;
|
|
1368
|
-
}, {
|
|
1369
|
-
readonly superJson: JsonAbstractSegment;
|
|
1370
|
-
} & {
|
|
1371
|
-
readonly centerPoint: SOCanvasPoint;
|
|
1372
|
-
} & {
|
|
1373
|
-
regenerateIds(randomizer: string): void;
|
|
1374
|
-
} & {
|
|
1375
|
-
readonly json: JsonAbstractSegment;
|
|
1376
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
1377
|
-
holes: IArrayType<IModelType< {
|
|
1378
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1379
|
-
type: IOptionalIType<ISimpleType<"hole">, [undefined]>;
|
|
1380
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1381
|
-
segments: IArrayType<IModelType< {
|
|
1382
|
-
start: IModelType< {
|
|
1383
|
-
r: ISimpleType<number>;
|
|
1384
|
-
t: ISimpleType<number>;
|
|
1385
|
-
} & {
|
|
1386
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1387
|
-
}, {
|
|
1388
|
-
readonly json: CanvasCoordWithId;
|
|
1389
|
-
} & {
|
|
1390
|
-
regenerateId(randomizer: string): void;
|
|
1391
|
-
}, _NotCustomized, _NotCustomized>;
|
|
1392
|
-
end: IModelType< {
|
|
1393
|
-
r: ISimpleType<number>;
|
|
1394
|
-
t: ISimpleType<number>;
|
|
1395
|
-
} & {
|
|
1396
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1397
|
-
}, {
|
|
1398
|
-
readonly json: CanvasCoordWithId;
|
|
1399
|
-
} & {
|
|
1400
|
-
regenerateId(randomizer: string): void;
|
|
1401
|
-
}, _NotCustomized, _NotCustomized>;
|
|
1402
|
-
}, {
|
|
1403
|
-
readonly superJson: JsonAbstractSegment;
|
|
1404
|
-
} & {
|
|
1405
|
-
readonly centerPoint: SOCanvasPoint;
|
|
1406
|
-
} & {
|
|
1407
|
-
regenerateIds(randomizer: string): void;
|
|
1408
|
-
} & {
|
|
1409
|
-
readonly json: JsonAbstractSegment;
|
|
1410
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
1411
|
-
}, {
|
|
1412
|
-
readonly json: JsonHole;
|
|
1413
|
-
getGround(): IGround;
|
|
1414
|
-
} & {
|
|
1415
|
-
newInParent(): void;
|
|
1416
|
-
removeInParent(): void;
|
|
1417
|
-
clearInEditor(id: string): void;
|
|
1418
|
-
regenerateIds(randomizer: string): void;
|
|
1419
|
-
} & {
|
|
1420
|
-
rename(name: string): void;
|
|
1421
|
-
} & {
|
|
1422
|
-
readonly points: SOCanvasPoint[];
|
|
1423
|
-
readonly geometry: SegmentGeometry;
|
|
1424
|
-
} & {
|
|
1425
|
-
addPoint({ r, t }: SICanvasPoint): void;
|
|
1426
|
-
addPointAfter({ pointId }: {
|
|
1427
|
-
pointId: string;
|
|
1428
|
-
}): void;
|
|
1429
|
-
close(): void;
|
|
1430
|
-
removePoint(id: string): void;
|
|
1431
|
-
} & {
|
|
1432
|
-
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
1433
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
1434
|
-
} & {
|
|
1435
|
-
layers: IArrayType<ISimpleType<string>>;
|
|
1436
|
-
} & {
|
|
1437
|
-
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
1438
|
-
}, {
|
|
1439
|
-
readonly json: JsonGround;
|
|
1440
|
-
} & {
|
|
1441
|
-
newInParent(): void;
|
|
1442
|
-
removeInParent(): void;
|
|
1443
|
-
clearInEditor(id: string): void;
|
|
1444
|
-
regenerateIds(randomizer: string): void;
|
|
1445
|
-
} & {
|
|
1446
|
-
rename(name: string): void;
|
|
1447
|
-
ensureName(): void;
|
|
1448
|
-
addHole(hole?: (Omit<SIHole, "segments"> & {
|
|
1449
|
-
segments: SOGroundSegment[];
|
|
1450
|
-
}) | undefined): void;
|
|
1451
|
-
removeHole(holeId: string): void;
|
|
1452
|
-
replaceSegments(segments: SIGroundSegment[]): void;
|
|
1453
|
-
} & {
|
|
1454
|
-
readonly points: SOCanvasPoint[];
|
|
1455
|
-
readonly geometry: SegmentGeometry;
|
|
1456
|
-
} & {
|
|
1457
|
-
addPoint({ r, t }: SICanvasPoint): void;
|
|
1458
|
-
addPointAfter({ pointId }: {
|
|
1459
|
-
pointId: string;
|
|
1460
|
-
}): void;
|
|
1461
|
-
close(): void;
|
|
1462
|
-
removePoint(id: string): void;
|
|
1463
|
-
} & {
|
|
1464
|
-
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
1465
|
-
} & {
|
|
1466
|
-
setLayers(layers: string[]): void;
|
|
1467
|
-
} & {
|
|
1468
|
-
setExtras(extras: FeatureExtras | undefined): void;
|
|
1469
|
-
mergeExtras(extras: FeatureExtras): void;
|
|
1470
|
-
setExtrasEntry(key: string, value: JsonValue): void;
|
|
1471
|
-
removeExtrasEntry(key: string): void;
|
|
1472
|
-
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
1473
|
-
}, _NotCustomized, _NotCustomized>>, [undefined]>;
|
|
1474
|
-
walls: IOptionalIType<IArrayType<IModelType< {
|
|
1475
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1476
|
-
type: IOptionalIType<ISimpleType<"wall">, [undefined]>;
|
|
1477
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1478
|
-
options: IOptionalIType<IModelType< {
|
|
1479
|
-
type: IOptionalIType<ISimpleType<"normal" | "shell" | "norender" | "structural">, [undefined]>;
|
|
1480
|
-
cap: IOptionalIType<ISimpleType<"flat" | "round">, [undefined]>;
|
|
1481
|
-
height: IMaybe<ISimpleType<number>>;
|
|
1482
|
-
thickness: IMaybe<ISimpleType<number>>;
|
|
1483
|
-
autoFacade: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
1484
|
-
partOfFacade: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
1485
|
-
}, {
|
|
1486
|
-
readonly json: JsonWallOptions;
|
|
1487
|
-
} & {
|
|
1488
|
-
setType(type: "normal" | "shell" | "norender" | "structural"): void;
|
|
1489
|
-
setCap(cap: "flat" | "round"): void;
|
|
1490
|
-
setHeight(height: number | undefined): void;
|
|
1491
|
-
setThickness(thickness: number | undefined): void;
|
|
1492
|
-
setAutoFacade(autoFacade: boolean): void;
|
|
1493
|
-
setPartOfFacade(partOfFacade: boolean): void;
|
|
1494
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
1495
|
-
segments: IArrayType<IModelType< {
|
|
1496
|
-
start: IModelType< {
|
|
1497
|
-
r: ISimpleType<number>;
|
|
1498
|
-
t: ISimpleType<number>;
|
|
1499
|
-
} & {
|
|
1500
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1501
|
-
}, {
|
|
1502
|
-
readonly json: CanvasCoordWithId;
|
|
1503
|
-
} & {
|
|
1504
|
-
regenerateId(randomizer: string): void;
|
|
1505
|
-
}, _NotCustomized, _NotCustomized>;
|
|
1506
|
-
end: IModelType< {
|
|
1507
|
-
r: ISimpleType<number>;
|
|
1508
|
-
t: ISimpleType<number>;
|
|
1509
|
-
} & {
|
|
1510
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1511
|
-
}, {
|
|
1512
|
-
readonly json: CanvasCoordWithId;
|
|
1513
|
-
} & {
|
|
1514
|
-
regenerateId(randomizer: string): void;
|
|
1515
|
-
}, _NotCustomized, _NotCustomized>;
|
|
1516
|
-
} & {
|
|
1517
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1518
|
-
openings: IArrayType<IModelType< {
|
|
1519
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1520
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1521
|
-
type: ISimpleType<"door" | "window">;
|
|
1522
|
-
dimensions: IOptionalIType<IModelType< {
|
|
1523
|
-
width: IMaybe<ISimpleType<number>>;
|
|
1524
|
-
height: IMaybe<ISimpleType<number>>;
|
|
1525
|
-
baseHeight: IMaybe<ISimpleType<number>>;
|
|
1526
|
-
}, {
|
|
1527
|
-
readonly json: JsonWallOpeningDimensions;
|
|
1528
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
1529
|
-
position: IMaybe<IModelType< {
|
|
1530
|
-
from: ISimpleType<"start" | "end">;
|
|
1531
|
-
distance: ISimpleType<number>;
|
|
1532
|
-
}, {
|
|
1533
|
-
readonly json: JsonWallOpeningPosition;
|
|
1534
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
1535
|
-
options: IOptionalIType<IModelType< {
|
|
1536
|
-
style: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1537
|
-
nbOfPanels: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
1538
|
-
nbOfPanelsVertically: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
1539
|
-
targetPanelWidth: IMaybe<ISimpleType<number>>;
|
|
1540
|
-
twoPanels: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
1541
|
-
centerSplit: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
1542
|
-
swapKnob: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
1543
|
-
swapInOut: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
1544
|
-
swapPanels: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
1545
|
-
glass: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
1546
|
-
openFrom: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1547
|
-
panelsOpened: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
1548
|
-
openAngle: IMaybe<ISimpleType<number>>;
|
|
1549
|
-
railingHeight: IMaybe<ISimpleType<number>>;
|
|
1550
|
-
railingStyle: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1551
|
-
}, {
|
|
1552
|
-
readonly maxPanelsOpened: number;
|
|
1553
|
-
} & {
|
|
1554
|
-
setStyle(style: string): void;
|
|
1555
|
-
setNbOfPanels(nbOfPanels: number): void;
|
|
1556
|
-
setNbOfPanelsVertically(nbOfPanelsVertically: number): void;
|
|
1557
|
-
setTargetPanelWidth(targetPanelWidth: number | undefined): void;
|
|
1558
|
-
setCenterSplit(centerSplit: boolean): void;
|
|
1559
|
-
setSwapKnob(swapKnob: boolean): void;
|
|
1560
|
-
setSwapInOut(swapInOut: boolean): void;
|
|
1561
|
-
setSwapPanels(swapPanels: boolean): void;
|
|
1562
|
-
setTwoPanels(twoPanels: boolean): void;
|
|
1563
|
-
setGlass(glass: boolean): void;
|
|
1564
|
-
setPanelsOpened(panelsOpened: number): void;
|
|
1565
|
-
setOpenAngle(openAngle: number): void;
|
|
1566
|
-
setRailingHeight(railingHeight: number | undefined): void;
|
|
1567
|
-
setRailingStyle(railingStyle: string): void;
|
|
1568
|
-
} & {
|
|
1569
|
-
setOpenFrom(openFrom: string): void;
|
|
1570
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
1571
|
-
} & {
|
|
1572
|
-
layers: IArrayType<ISimpleType<string>>;
|
|
1573
|
-
} & {
|
|
1574
|
-
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
1575
|
-
}, {
|
|
1576
|
-
readonly json: JsonWallOpening;
|
|
1577
|
-
readonly segment: IWallSegment;
|
|
1578
|
-
} & {
|
|
1579
|
-
readonly feature: IWall;
|
|
1580
|
-
readonly direction: number;
|
|
1581
|
-
} & {
|
|
1582
|
-
readonly orientation: "horizontal" | "vertical";
|
|
1583
|
-
} & {
|
|
1584
|
-
verifyOpeningPosition(): void;
|
|
1585
|
-
regenerateId(randomizer: string): void;
|
|
1586
|
-
applyTargetPanelWidth(): void;
|
|
1587
|
-
} & {
|
|
1588
|
-
rename(name: string): void;
|
|
1589
|
-
ensureName(): void;
|
|
1590
|
-
resize(dimensions: Partial<SIWallOpeningDimensions>): void;
|
|
1591
|
-
setTargetPanelWidth(targetPanelWidth: number | undefined): void;
|
|
1592
|
-
moveTo(position: SIWallOpeningPosition): void;
|
|
1593
|
-
moveInDirection(direction: URDL, distance?: number): void;
|
|
1594
|
-
remove(): void;
|
|
1595
|
-
} & {
|
|
1596
|
-
expandToFullSegment(): void;
|
|
1597
|
-
addToAllSegmentsInWall(): void;
|
|
1598
|
-
} & {
|
|
1599
|
-
setLayers(layers: string[]): void;
|
|
1600
|
-
} & {
|
|
1601
|
-
setExtras(extras: FeatureExtras | undefined): void;
|
|
1602
|
-
mergeExtras(extras: FeatureExtras): void;
|
|
1603
|
-
setExtrasEntry(key: string, value: JsonValue): void;
|
|
1604
|
-
removeExtrasEntry(key: string): void;
|
|
1605
|
-
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
1606
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
1607
|
-
}, {
|
|
1608
|
-
readonly superJson: JsonAbstractSegment;
|
|
1609
|
-
} & {
|
|
1610
|
-
readonly centerPoint: SOCanvasPoint;
|
|
1611
|
-
} & {
|
|
1612
|
-
readonly json: JsonWallSegment;
|
|
1613
|
-
readonly centerPoint: SOCanvasPoint;
|
|
1614
|
-
} & {
|
|
1615
|
-
addOpening(opening: SIWallOpening): void;
|
|
1616
|
-
removeOpening(id: string): void;
|
|
1617
|
-
regenerateIds(randomizer: string): void;
|
|
1618
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
1619
|
-
} & {
|
|
1620
|
-
layers: IArrayType<ISimpleType<string>>;
|
|
1621
|
-
} & {
|
|
1622
|
-
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
1623
|
-
}, {
|
|
1624
|
-
readonly json: JsonWall;
|
|
1625
|
-
} & {
|
|
1626
|
-
newInParent(): void;
|
|
1627
|
-
setOptions(options: JsonWallOptions): void;
|
|
1628
|
-
removeInParent(): void;
|
|
1629
|
-
clearInEditor(id: string): void;
|
|
1630
|
-
regenerateIds(randomizer: string): void;
|
|
1631
|
-
} & {
|
|
1632
|
-
rename(name: string): void;
|
|
1633
|
-
ensureName(): void;
|
|
1634
|
-
splitWallAtPoint({ pointId }: {
|
|
1635
|
-
pointId: string;
|
|
1636
|
-
}): void;
|
|
1637
|
-
} & {
|
|
1638
|
-
readonly points: SOCanvasPoint[];
|
|
1639
|
-
readonly geometry: SegmentGeometry;
|
|
1640
|
-
} & {
|
|
1641
|
-
addPoint({ r, t }: SICanvasPoint): void;
|
|
1642
|
-
addPointAfter({ pointId }: {
|
|
1643
|
-
pointId: string;
|
|
1644
|
-
}): void;
|
|
1645
|
-
close(): void;
|
|
1646
|
-
removePoint(id: string): void;
|
|
1647
|
-
} & {
|
|
1648
|
-
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
1649
|
-
} & {
|
|
1650
|
-
setLayers(layers: string[]): void;
|
|
1651
|
-
} & {
|
|
1652
|
-
setExtras(extras: FeatureExtras | undefined): void;
|
|
1653
|
-
mergeExtras(extras: FeatureExtras): void;
|
|
1654
|
-
setExtrasEntry(key: string, value: JsonValue): void;
|
|
1655
|
-
removeExtrasEntry(key: string): void;
|
|
1656
|
-
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
1657
|
-
}, _NotCustomized, _NotCustomized>>, [undefined]>;
|
|
1658
|
-
roofs: IOptionalIType<IArrayType<IModelType< {
|
|
1659
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1660
|
-
type: IOptionalIType<ISimpleType<"roof">, [undefined]>;
|
|
1661
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1662
|
-
options: IOptionalIType<IModelType< {
|
|
1663
|
-
baseHeight: IMaybe<ISimpleType<number>>;
|
|
1664
|
-
topHeight: IMaybe<ISimpleType<number>>;
|
|
1665
|
-
angle: IMaybe<ISimpleType<number>>;
|
|
1666
|
-
}, {
|
|
1667
|
-
setBaseHeight(baseHeight: number | undefined): void;
|
|
1668
|
-
setTopHeight(topHeight: number | undefined): void;
|
|
1669
|
-
setAngle(angle: number | undefined): void;
|
|
1670
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
1671
|
-
segments: IArrayType<IModelType< {
|
|
1672
|
-
start: IModelType< {
|
|
1673
|
-
r: ISimpleType<number>;
|
|
1674
|
-
t: ISimpleType<number>;
|
|
1675
|
-
} & {
|
|
1676
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1677
|
-
}, {
|
|
1678
|
-
readonly json: CanvasCoordWithId;
|
|
1679
|
-
} & {
|
|
1680
|
-
regenerateId(randomizer: string): void;
|
|
1681
|
-
}, _NotCustomized, _NotCustomized>;
|
|
1682
|
-
end: IModelType< {
|
|
1683
|
-
r: ISimpleType<number>;
|
|
1684
|
-
t: ISimpleType<number>;
|
|
1685
|
-
} & {
|
|
1686
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1687
|
-
}, {
|
|
1688
|
-
readonly json: CanvasCoordWithId;
|
|
1689
|
-
} & {
|
|
1690
|
-
regenerateId(randomizer: string): void;
|
|
1691
|
-
}, _NotCustomized, _NotCustomized>;
|
|
1692
|
-
} & {
|
|
1693
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1694
|
-
base: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
1695
|
-
}, {
|
|
1696
|
-
readonly superJson: JsonAbstractSegment;
|
|
1697
|
-
} & {
|
|
1698
|
-
readonly centerPoint: SOCanvasPoint;
|
|
1699
|
-
} & {
|
|
1700
|
-
regenerateIds(randomizer: string): void;
|
|
1701
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
1702
|
-
} & {
|
|
1703
|
-
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
1704
|
-
}, {
|
|
1705
|
-
readonly json: JsonRoof;
|
|
1706
|
-
} & {
|
|
1707
|
-
newInParent(): void;
|
|
1708
|
-
removeInParent(): void;
|
|
1709
|
-
clearInEditor(id: string): void;
|
|
1710
|
-
regenerateIds(randomizer: string): void;
|
|
1711
|
-
} & {
|
|
1712
|
-
rename(name: string): void;
|
|
1713
|
-
ensureName(): void;
|
|
1714
|
-
setBaseSegmentById(id: string): void;
|
|
1715
|
-
} & {
|
|
1716
|
-
readonly points: SOCanvasPoint[];
|
|
1717
|
-
readonly geometry: SegmentGeometry;
|
|
1718
|
-
} & {
|
|
1719
|
-
addPoint({ r, t }: SICanvasPoint): void;
|
|
1720
|
-
addPointAfter({ pointId }: {
|
|
1721
|
-
pointId: string;
|
|
1722
|
-
}): void;
|
|
1723
|
-
close(): void;
|
|
1724
|
-
removePoint(id: string): void;
|
|
1725
|
-
} & {
|
|
1726
|
-
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
1727
|
-
} & {
|
|
1728
|
-
setExtras(extras: FeatureExtras | undefined): void;
|
|
1729
|
-
mergeExtras(extras: FeatureExtras): void;
|
|
1730
|
-
setExtrasEntry(key: string, value: JsonValue): void;
|
|
1731
|
-
removeExtrasEntry(key: string): void;
|
|
1732
|
-
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
1733
|
-
}, _NotCustomized, _NotCustomized>>, [undefined]>;
|
|
1734
|
-
stairs: IArrayType<IModelType< {
|
|
1735
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1736
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1737
|
-
bottomSegment: IArrayType<IModelType< {
|
|
1738
|
-
r: ISimpleType<number>;
|
|
1739
|
-
t: ISimpleType<number>;
|
|
1740
|
-
} & {
|
|
1741
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1742
|
-
}, {
|
|
1743
|
-
readonly json: CanvasCoordWithId;
|
|
1744
|
-
} & {
|
|
1745
|
-
regenerateId(randomizer: string): void;
|
|
1746
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
1747
|
-
topSegment: IArrayType<IModelType< {
|
|
1748
|
-
r: ISimpleType<number>;
|
|
1749
|
-
t: ISimpleType<number>;
|
|
1750
|
-
} & {
|
|
1751
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1752
|
-
}, {
|
|
1753
|
-
readonly json: CanvasCoordWithId;
|
|
1754
|
-
} & {
|
|
1755
|
-
regenerateId(randomizer: string): void;
|
|
1756
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
1757
|
-
baseHeight: IMaybe<ISimpleType<number>>;
|
|
1758
|
-
height: IMaybe<ISimpleType<number>>;
|
|
1759
|
-
style: IOptionalIType<ISimpleType<"slope" | "thin" | "thick" | "block">, [undefined]>;
|
|
1760
|
-
color: IOptionalIType<ISimpleType<"white" | "grey" | "darkgrey">, [undefined]>;
|
|
1761
|
-
} & {
|
|
1762
|
-
layers: IArrayType<ISimpleType<string>>;
|
|
1763
|
-
} & {
|
|
1764
|
-
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
1765
|
-
}, {
|
|
1766
|
-
readonly json: JsonStair;
|
|
1767
|
-
} & {
|
|
1768
|
-
rename(name: string): void;
|
|
1769
|
-
ensureName(): void;
|
|
1770
|
-
setBaseHeight(baseHeight: number | undefined): void;
|
|
1771
|
-
setHeight(height: number | undefined): void;
|
|
1772
|
-
setStyle(style: "slope" | "thin" | "thick" | "block"): void;
|
|
1773
|
-
setColor(color: "white" | "grey" | "darkgrey"): void;
|
|
1774
|
-
moveBy({ dr, dt }: {
|
|
1775
|
-
dr: number;
|
|
1776
|
-
dt: number;
|
|
1777
|
-
}): void;
|
|
1778
|
-
remove(): void;
|
|
1779
|
-
regenerateIds(randomizer: string): void;
|
|
1780
|
-
} & {
|
|
1781
|
-
setLayers(layers: string[]): void;
|
|
1782
|
-
} & {
|
|
1783
|
-
setExtras(extras: FeatureExtras | undefined): void;
|
|
1784
|
-
mergeExtras(extras: FeatureExtras): void;
|
|
1785
|
-
setExtrasEntry(key: string, value: JsonValue): void;
|
|
1786
|
-
removeExtrasEntry(key: string): void;
|
|
1787
|
-
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
1788
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
1789
|
-
annotations: IArrayType<IModelType< {
|
|
1790
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1791
|
-
type: IOptionalIType<ISimpleType<AnnotationType>, [undefined]>;
|
|
1792
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1793
|
-
r: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
1794
|
-
t: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
1795
|
-
height: IMaybe<ISimpleType<number>>;
|
|
1796
|
-
size: IMaybe<ISimpleType<number>>;
|
|
1797
|
-
} & {
|
|
1798
|
-
layers: IArrayType<ISimpleType<string>>;
|
|
1799
|
-
} & {
|
|
1800
|
-
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
1801
|
-
}, {
|
|
1802
|
-
readonly json: JsonAnnotation;
|
|
1803
|
-
} & {
|
|
1804
|
-
setType(type: AnnotationType): void;
|
|
1805
|
-
rename(name: string): void;
|
|
1806
|
-
moveTo({ r, t }: CanvasCoord): void;
|
|
1807
|
-
setHeight(height: number | undefined): void;
|
|
1808
|
-
setSize(size: number | undefined): void;
|
|
1809
|
-
remove(): void;
|
|
1810
|
-
regenerateId(randomizer: string): void;
|
|
1811
|
-
} & {
|
|
1812
|
-
setLayers(layers: string[]): void;
|
|
1813
|
-
} & {
|
|
1814
|
-
setExtras(extras: FeatureExtras | undefined): void;
|
|
1815
|
-
mergeExtras(extras: FeatureExtras): void;
|
|
1816
|
-
setExtrasEntry(key: string, value: JsonValue): void;
|
|
1817
|
-
removeExtrasEntry(key: string): void;
|
|
1818
|
-
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
1819
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
1820
|
-
objects: IArrayType<IModelType< {
|
|
1821
|
-
catalogId: ISimpleType<string>;
|
|
1822
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1823
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
1824
|
-
levelIndex: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
1825
|
-
position: IOptionalIType<IModelType< {
|
|
1826
|
-
x: ISimpleType<number>;
|
|
1827
|
-
z: ISimpleType<number>;
|
|
1828
|
-
} & {
|
|
1829
|
-
elevation: ISimpleType<number>;
|
|
1830
|
-
}, {}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
1831
|
-
rotation: IOptionalIType<IModelType< {
|
|
1832
|
-
pitch: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
1833
|
-
yaw: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
1834
|
-
roll: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
1835
|
-
}, {
|
|
1836
|
-
readonly json: Rotation3d;
|
|
1837
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
1838
|
-
dimensions: IOptionalIType<IModelType< {
|
|
1839
|
-
length: IMaybe<ISimpleType<number>>;
|
|
1840
|
-
width: IMaybe<ISimpleType<number>>;
|
|
1841
|
-
height: IMaybe<ISimpleType<number>>;
|
|
1842
|
-
}, {
|
|
1843
|
-
readonly json: JsonObjectDimensions;
|
|
1844
|
-
readonly safeValues: {
|
|
1845
|
-
length: number;
|
|
1846
|
-
width: number;
|
|
1847
|
-
height: number;
|
|
1848
|
-
};
|
|
1849
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
1850
|
-
configuration: IMaybe<IType<Partial<ParametricObjectConfiguration>, Partial<ParametricObjectConfiguration>, Partial<ParametricObjectConfiguration>>>;
|
|
1851
|
-
external: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
1852
|
-
} & {
|
|
1853
|
-
layers: IArrayType<ISimpleType<string>>;
|
|
1854
|
-
} & {
|
|
1855
|
-
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
1856
|
-
}, {
|
|
1857
|
-
readonly json: Furniture;
|
|
1858
|
-
} & {
|
|
1859
|
-
rename(name: string): void;
|
|
1860
|
-
moveTo(position: Partial<SILevelCoord3d>): void;
|
|
1861
|
-
setLevelIndex(levelIndex: number): void;
|
|
1862
|
-
resize(dimensions: Partial<SIObjectDimensions>): void;
|
|
1863
|
-
rotate(rotation: Partial<SIObjectRotation>): void;
|
|
1864
|
-
configure(configurationChanges: Partial<ParametricObjectConfiguration>): void;
|
|
1865
|
-
remove(): void;
|
|
1866
|
-
regenerateId(randomizer: string): void;
|
|
1867
|
-
setExternal(external: boolean): void;
|
|
1868
|
-
} & {
|
|
1869
|
-
resizeAndMoveTo(dimensions: Partial<SIObjectDimensions>, position: Partial<SILevelCoord3d>): void;
|
|
1870
|
-
} & {
|
|
1871
|
-
setLayers(layers: string[]): void;
|
|
1872
|
-
} & {
|
|
1873
|
-
setExtras(extras: FeatureExtras | undefined): void;
|
|
1874
|
-
mergeExtras(extras: FeatureExtras): void;
|
|
1875
|
-
setExtrasEntry(key: string, value: JsonValue): void;
|
|
1876
|
-
removeExtrasEntry(key: string): void;
|
|
1877
|
-
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
1878
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
1879
|
-
floorplan: IOptionalIType<IModelType< {
|
|
1880
|
-
url: IMaybe<ISimpleType<string>>;
|
|
1881
|
-
r2Key: IMaybe<ISimpleType<string>>;
|
|
1882
|
-
data: IMaybe<ISimpleType<string>>;
|
|
1883
|
-
r: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
1884
|
-
t: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
1885
|
-
scale: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
1886
|
-
flipped: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
1887
|
-
}, {
|
|
1888
|
-
isNil(): boolean;
|
|
1889
|
-
} & {
|
|
1890
|
-
setUrl(url: string): void;
|
|
1891
|
-
setR2Key(r2Key: string | undefined): void;
|
|
1892
|
-
setData(data: string | undefined): void;
|
|
1893
|
-
moveTo({ r, t }: CanvasCoord): void;
|
|
1894
|
-
setScale(scale: number): void;
|
|
1895
|
-
setFlipped(flipped: boolean): void;
|
|
1896
|
-
remove(): void;
|
|
1897
|
-
} & {
|
|
1898
|
-
rescaleByFactor(factor: number, imageOnly?: boolean): void;
|
|
1899
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
1900
|
-
}, {
|
|
1901
|
-
readonly json: JsonLevel;
|
|
1902
|
-
readonly hash: string;
|
|
1903
|
-
readonly points: ICanvasPoint[];
|
|
1904
|
-
} & {
|
|
1905
|
-
readonly boundingBox: CanvasBoundingBox | null;
|
|
1906
|
-
readonly centerPoint: CanvasCoord | null;
|
|
1907
|
-
readonly autoGroundHash: string;
|
|
1908
|
-
getHash({ only, ignore }: {
|
|
1909
|
-
only: any;
|
|
1910
|
-
ignore: any;
|
|
1911
|
-
}): string;
|
|
1912
|
-
readonly isEmpty: boolean;
|
|
1913
|
-
readonly openings: IWallOpening[];
|
|
1914
|
-
} & {
|
|
1915
|
-
readonly doors: IWallOpening[];
|
|
1916
|
-
readonly windows: IWallOpening[];
|
|
1917
|
-
nextGroundName(excludeId?: string): string;
|
|
1918
|
-
nextWallName(excludeId?: string): string;
|
|
1919
|
-
nextRoofName(excludeId?: string): string;
|
|
1920
|
-
nextStairsName(excludeId?: string): string;
|
|
1921
|
-
nextOpeningName(type: string, excludeId?: string): string;
|
|
1922
|
-
readonly initialsFromName: string;
|
|
1923
|
-
} & {
|
|
1924
|
-
rename(name: string): void;
|
|
1925
|
-
setInitials(initials: string): void;
|
|
1926
|
-
setAutoInitials(enabled: boolean): void;
|
|
1927
|
-
newGround(ground?: Omit<SIGround, 'segments'> & {
|
|
1928
|
-
segments: SOGroundSegment[];
|
|
1929
|
-
}, forceId?: string): void;
|
|
1930
|
-
removeGround(id: string): void;
|
|
1931
|
-
removeAllGrounds(): void;
|
|
1932
|
-
newWall(wall?: Omit<SIWall, 'segments'> & {
|
|
1933
|
-
segments: SOAbstractSegment[] | SOWallSegment[];
|
|
1934
|
-
}): void;
|
|
1935
|
-
addWalls(walls: SIWall[]): void;
|
|
1936
|
-
removeWall(id: string): void;
|
|
1937
|
-
removeAllWalls(): void;
|
|
1938
|
-
newRoof(): void;
|
|
1939
|
-
removeRoof(id: string): void;
|
|
1940
|
-
removeAllRoofs(): void;
|
|
1941
|
-
addStairs(stairs?: SIStair): void;
|
|
1942
|
-
removeStairs(id: string): void;
|
|
1943
|
-
removeAllStairs(): void;
|
|
1944
|
-
addAnnotation(annotation: SIAnnotation): void;
|
|
1945
|
-
removeAnnotation(id: string): void;
|
|
1946
|
-
removeAllAnnotations(): void;
|
|
1947
|
-
addObject(object: SIObject): void;
|
|
1948
|
-
removeObject(id: string): void;
|
|
1949
|
-
removeAllObjects(): void;
|
|
1950
|
-
setObjectsLevelIndex(levelIndex: number): void;
|
|
1951
|
-
updateObjectsLevelIndex(updater: (levelIndex: number) => number): void;
|
|
1952
|
-
regenerateIds(randomizer: string): void;
|
|
1953
|
-
} & {
|
|
1954
|
-
addObjects(objects: SIObject[]): void;
|
|
1955
|
-
addAnnotations(annotations: SIAnnotation[]): void;
|
|
1956
|
-
newWallWithOptions(template: {
|
|
1957
|
-
options: JsonWallOptions;
|
|
1958
|
-
layers: string[];
|
|
1959
|
-
}): void;
|
|
1960
|
-
clear(): void;
|
|
1961
|
-
removeDeskCluster(clusterId: string): void;
|
|
1962
|
-
removeSeminarSeatingCluster(clusterId: string): void;
|
|
1963
|
-
removeParkingCluster(clusterId: string): void;
|
|
1964
|
-
}, _NotCustomized, _NotCustomized>;
|
|
1965
|
-
|
|
1966
|
-
declare const LevelCoord3d: IModelType< {
|
|
1967
|
-
x: ISimpleType<number>;
|
|
1968
|
-
z: ISimpleType<number>;
|
|
840
|
+
declare const LevelCoord3d: IModelType< {
|
|
841
|
+
x: ISimpleType<number>;
|
|
842
|
+
z: ISimpleType<number>;
|
|
1969
843
|
} & {
|
|
1970
844
|
elevation: ISimpleType<number>;
|
|
1971
845
|
}, {}, _NotCustomized, _NotCustomized>;
|
|
@@ -3138,125 +2012,6 @@ declare enum RenderPhase {
|
|
|
3138
2012
|
ObjectPlaceholders = "object-placeholders"
|
|
3139
2013
|
}
|
|
3140
2014
|
|
|
3141
|
-
declare const Roof: IModelType< {
|
|
3142
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3143
|
-
type: IOptionalIType<ISimpleType<"roof">, [undefined]>;
|
|
3144
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3145
|
-
options: IOptionalIType<IModelType< {
|
|
3146
|
-
baseHeight: IMaybe<ISimpleType<number>>;
|
|
3147
|
-
topHeight: IMaybe<ISimpleType<number>>;
|
|
3148
|
-
angle: IMaybe<ISimpleType<number>>;
|
|
3149
|
-
}, {
|
|
3150
|
-
setBaseHeight(baseHeight: number | undefined): void;
|
|
3151
|
-
setTopHeight(topHeight: number | undefined): void;
|
|
3152
|
-
setAngle(angle: number | undefined): void;
|
|
3153
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
3154
|
-
segments: IArrayType<IModelType< {
|
|
3155
|
-
start: IModelType< {
|
|
3156
|
-
r: ISimpleType<number>;
|
|
3157
|
-
t: ISimpleType<number>;
|
|
3158
|
-
} & {
|
|
3159
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3160
|
-
}, {
|
|
3161
|
-
readonly json: CanvasCoordWithId;
|
|
3162
|
-
} & {
|
|
3163
|
-
regenerateId(randomizer: string): void;
|
|
3164
|
-
}, _NotCustomized, _NotCustomized>;
|
|
3165
|
-
end: IModelType< {
|
|
3166
|
-
r: ISimpleType<number>;
|
|
3167
|
-
t: ISimpleType<number>;
|
|
3168
|
-
} & {
|
|
3169
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3170
|
-
}, {
|
|
3171
|
-
readonly json: CanvasCoordWithId;
|
|
3172
|
-
} & {
|
|
3173
|
-
regenerateId(randomizer: string): void;
|
|
3174
|
-
}, _NotCustomized, _NotCustomized>;
|
|
3175
|
-
} & {
|
|
3176
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3177
|
-
base: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
3178
|
-
}, {
|
|
3179
|
-
readonly superJson: JsonAbstractSegment;
|
|
3180
|
-
} & {
|
|
3181
|
-
readonly centerPoint: SOCanvasPoint;
|
|
3182
|
-
} & {
|
|
3183
|
-
regenerateIds(randomizer: string): void;
|
|
3184
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
3185
|
-
} & {
|
|
3186
|
-
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
3187
|
-
}, {
|
|
3188
|
-
readonly json: JsonRoof;
|
|
3189
|
-
} & {
|
|
3190
|
-
newInParent(): void;
|
|
3191
|
-
removeInParent(): void;
|
|
3192
|
-
clearInEditor(id: string): void;
|
|
3193
|
-
regenerateIds(randomizer: string): void;
|
|
3194
|
-
} & {
|
|
3195
|
-
rename(name: string): void;
|
|
3196
|
-
ensureName(): void;
|
|
3197
|
-
setBaseSegmentById(id: string): void;
|
|
3198
|
-
} & {
|
|
3199
|
-
readonly points: SOCanvasPoint[];
|
|
3200
|
-
readonly geometry: SegmentGeometry;
|
|
3201
|
-
} & {
|
|
3202
|
-
addPoint({ r, t }: SICanvasPoint): void;
|
|
3203
|
-
addPointAfter({ pointId }: {
|
|
3204
|
-
pointId: string;
|
|
3205
|
-
}): void;
|
|
3206
|
-
close(): void;
|
|
3207
|
-
removePoint(id: string): void;
|
|
3208
|
-
} & {
|
|
3209
|
-
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
3210
|
-
} & {
|
|
3211
|
-
setExtras(extras: FeatureExtras | undefined): void;
|
|
3212
|
-
mergeExtras(extras: FeatureExtras): void;
|
|
3213
|
-
setExtrasEntry(key: string, value: JsonValue): void;
|
|
3214
|
-
removeExtrasEntry(key: string): void;
|
|
3215
|
-
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
3216
|
-
}, _NotCustomized, _NotCustomized>;
|
|
3217
|
-
|
|
3218
|
-
declare const RoofOptions: IModelType< {
|
|
3219
|
-
baseHeight: IMaybe<ISimpleType<number>>;
|
|
3220
|
-
topHeight: IMaybe<ISimpleType<number>>;
|
|
3221
|
-
angle: IMaybe<ISimpleType<number>>;
|
|
3222
|
-
}, {
|
|
3223
|
-
setBaseHeight(baseHeight: number | undefined): void;
|
|
3224
|
-
setTopHeight(topHeight: number | undefined): void;
|
|
3225
|
-
setAngle(angle: number | undefined): void;
|
|
3226
|
-
}, _NotCustomized, _NotCustomized>;
|
|
3227
|
-
|
|
3228
|
-
declare const RoofSegment: IModelType< {
|
|
3229
|
-
start: IModelType< {
|
|
3230
|
-
r: ISimpleType<number>;
|
|
3231
|
-
t: ISimpleType<number>;
|
|
3232
|
-
} & {
|
|
3233
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3234
|
-
}, {
|
|
3235
|
-
readonly json: CanvasCoordWithId;
|
|
3236
|
-
} & {
|
|
3237
|
-
regenerateId(randomizer: string): void;
|
|
3238
|
-
}, _NotCustomized, _NotCustomized>;
|
|
3239
|
-
end: IModelType< {
|
|
3240
|
-
r: ISimpleType<number>;
|
|
3241
|
-
t: ISimpleType<number>;
|
|
3242
|
-
} & {
|
|
3243
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3244
|
-
}, {
|
|
3245
|
-
readonly json: CanvasCoordWithId;
|
|
3246
|
-
} & {
|
|
3247
|
-
regenerateId(randomizer: string): void;
|
|
3248
|
-
}, _NotCustomized, _NotCustomized>;
|
|
3249
|
-
} & {
|
|
3250
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3251
|
-
base: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
3252
|
-
}, {
|
|
3253
|
-
readonly superJson: JsonAbstractSegment;
|
|
3254
|
-
} & {
|
|
3255
|
-
readonly centerPoint: SOCanvasPoint;
|
|
3256
|
-
} & {
|
|
3257
|
-
regenerateIds(randomizer: string): void;
|
|
3258
|
-
}, _NotCustomized, _NotCustomized>;
|
|
3259
|
-
|
|
3260
2015
|
export declare interface RoomWithHoles {
|
|
3261
2016
|
room: SmplrCoord2d[];
|
|
3262
2017
|
holes: SmplrCoord2d[][];
|
|
@@ -3289,8 +2044,6 @@ declare interface ScreenXY {
|
|
|
3289
2044
|
screenY: number;
|
|
3290
2045
|
}
|
|
3291
2046
|
|
|
3292
|
-
declare type SegmentGeometry = 'point' | 'unknown' | 'polygon' | 'line';
|
|
3293
|
-
|
|
3294
2047
|
declare type SelectOption<C, K extends keyof C> = BaseOption<C, K> & {
|
|
3295
2048
|
type: 'select';
|
|
3296
2049
|
defaultValue: C[K] | undefined;
|
|
@@ -3326,42 +2079,21 @@ declare type ShelvesConfiguration = {
|
|
|
3326
2079
|
backPanel: boolean;
|
|
3327
2080
|
};
|
|
3328
2081
|
|
|
3329
|
-
declare interface SIAnnotation extends SnapshotIn<typeof Annotation> {
|
|
3330
|
-
}
|
|
3331
|
-
|
|
3332
|
-
declare interface SICanvasPoint extends SnapshotIn<typeof CanvasPoint> {
|
|
3333
|
-
}
|
|
3334
|
-
|
|
3335
2082
|
declare interface SIDottedPolylineViewerDataLayer extends SnapshotIn<typeof DottedPolylineViewerDataLayer> {
|
|
3336
2083
|
}
|
|
3337
2084
|
|
|
3338
2085
|
declare interface SIFurnitureViewerDataLayer extends SnapshotIn<typeof FurnitureViewerDataLayer> {
|
|
3339
2086
|
}
|
|
3340
2087
|
|
|
3341
|
-
declare interface SIGround extends SnapshotIn<typeof Ground> {
|
|
3342
|
-
}
|
|
3343
|
-
|
|
3344
|
-
declare interface SIGroundSegment extends SnapshotIn<typeof GroundSegment> {
|
|
3345
|
-
}
|
|
3346
|
-
|
|
3347
2088
|
declare interface SIHeatmapViewerDataLayer extends SnapshotIn<typeof HeatmapViewerDataLayer> {
|
|
3348
2089
|
}
|
|
3349
2090
|
|
|
3350
|
-
declare interface SIHole extends SnapshotIn<typeof Hole> {
|
|
3351
|
-
}
|
|
3352
|
-
|
|
3353
2091
|
declare interface SIIconViewerDataLayer extends SnapshotIn<typeof IconViewerDataLayer> {
|
|
3354
2092
|
}
|
|
3355
2093
|
|
|
3356
|
-
declare interface SILevel extends Instance<typeof Level> {
|
|
3357
|
-
}
|
|
3358
|
-
|
|
3359
2094
|
declare interface SILevelCoord3d extends SnapshotIn<typeof LevelCoord3d> {
|
|
3360
2095
|
}
|
|
3361
2096
|
|
|
3362
|
-
declare interface SIObject extends SnapshotIn<typeof Object_2> {
|
|
3363
|
-
}
|
|
3364
|
-
|
|
3365
2097
|
declare interface SIObjectDimensions extends SnapshotIn<typeof ObjectDimensions> {
|
|
3366
2098
|
}
|
|
3367
2099
|
|
|
@@ -3380,23 +2112,8 @@ declare interface SIPolylineViewerDataLayer extends SnapshotIn<typeof PolylineVi
|
|
|
3380
2112
|
declare interface SIPosterViewerDataLayer extends SnapshotIn<typeof PosterViewerDataLayer> {
|
|
3381
2113
|
}
|
|
3382
2114
|
|
|
3383
|
-
declare interface SIStair extends SnapshotIn<typeof Stair> {
|
|
3384
|
-
}
|
|
3385
|
-
|
|
3386
2115
|
declare type SIViewerDataLayer = SIPointViewerDataLayer | SIIconViewerDataLayer | SIPosterViewerDataLayer | SIPolylineViewerDataLayer | SIDottedPolylineViewerDataLayer | SIPolygonViewerDataLayer | SIFurnitureViewerDataLayer | SIHeatmapViewerDataLayer;
|
|
3387
2116
|
|
|
3388
|
-
declare interface SIWall extends SnapshotIn<typeof Wall> {
|
|
3389
|
-
}
|
|
3390
|
-
|
|
3391
|
-
declare interface SIWallOpening extends SnapshotIn<typeof WallOpening> {
|
|
3392
|
-
}
|
|
3393
|
-
|
|
3394
|
-
declare interface SIWallOpeningDimensions extends SnapshotIn<typeof WallOpeningDimensions> {
|
|
3395
|
-
}
|
|
3396
|
-
|
|
3397
|
-
declare interface SIWallOpeningPosition extends SnapshotIn<typeof WallOpeningPosition> {
|
|
3398
|
-
}
|
|
3399
|
-
|
|
3400
2117
|
declare type SmplrCamera = OrbitCamera;
|
|
3401
2118
|
|
|
3402
2119
|
export declare interface SmplrCoord2d {
|
|
@@ -3434,15 +2151,9 @@ declare type SmplrShadowGenerator = ShadowGenerator | CascadedShadowGenerator;
|
|
|
3434
2151
|
|
|
3435
2152
|
declare const smplrToCssColor: (c: string) => string;
|
|
3436
2153
|
|
|
3437
|
-
declare interface SOAbstractSegment extends SnapshotOut<typeof AbstractSegment> {
|
|
3438
|
-
}
|
|
3439
|
-
|
|
3440
2154
|
declare interface SOAnnotation extends SnapshotOut<typeof Annotation> {
|
|
3441
2155
|
}
|
|
3442
2156
|
|
|
3443
|
-
declare interface SOCanvasPoint extends SnapshotOut<typeof CanvasPoint> {
|
|
3444
|
-
}
|
|
3445
|
-
|
|
3446
2157
|
declare namespace sofa {
|
|
3447
2158
|
export {
|
|
3448
2159
|
key_2 as key,
|
|
@@ -3454,43 +2165,19 @@ declare namespace sofa {
|
|
|
3454
2165
|
}
|
|
3455
2166
|
}
|
|
3456
2167
|
|
|
3457
|
-
declare interface SOFacade extends SnapshotOut<typeof Facade> {
|
|
3458
|
-
}
|
|
3459
|
-
|
|
3460
2168
|
declare type SofaConfiguration = {
|
|
3461
2169
|
seats: number | undefined;
|
|
3462
2170
|
};
|
|
3463
2171
|
|
|
3464
|
-
declare interface SOFloorplan extends SnapshotOut<typeof Floorplan> {
|
|
3465
|
-
}
|
|
3466
|
-
|
|
3467
|
-
declare interface SOGroundSegment extends SnapshotOut<typeof GroundSegment> {
|
|
3468
|
-
}
|
|
3469
|
-
|
|
3470
|
-
declare interface SOLevel extends SnapshotOut<typeof Level> {
|
|
3471
|
-
}
|
|
3472
|
-
|
|
3473
2172
|
declare interface SOObject extends SnapshotOut<typeof Object_2> {
|
|
3474
2173
|
}
|
|
3475
2174
|
|
|
3476
|
-
declare interface SORoofOptions extends SnapshotOut<typeof RoofOptions> {
|
|
3477
|
-
}
|
|
3478
|
-
|
|
3479
|
-
declare interface SORoofSegment extends SnapshotOut<typeof RoofSegment> {
|
|
3480
|
-
}
|
|
3481
|
-
|
|
3482
|
-
declare interface SOSpace extends SnapshotOut<typeof Space_2> {
|
|
3483
|
-
}
|
|
3484
|
-
|
|
3485
2175
|
declare interface SOSpaceDefaults extends SnapshotOut<typeof SpaceDefaults> {
|
|
3486
2176
|
}
|
|
3487
2177
|
|
|
3488
2178
|
declare interface SOWallOpeningOptions extends SnapshotOut<typeof WallOpeningOptions> {
|
|
3489
2179
|
}
|
|
3490
2180
|
|
|
3491
|
-
declare interface SOWallSegment extends SnapshotOut<typeof WallSegment> {
|
|
3492
|
-
}
|
|
3493
|
-
|
|
3494
2181
|
export declare class Space {
|
|
3495
2182
|
private options;
|
|
3496
2183
|
private viewerStarted;
|
|
@@ -3562,819 +2249,58 @@ export declare class Space {
|
|
|
3562
2249
|
}): Promise<File>;
|
|
3563
2250
|
}
|
|
3564
2251
|
|
|
3565
|
-
declare const
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
segments: IArrayType<IModelType< {
|
|
3592
|
-
start: IModelType< {
|
|
3593
|
-
r: ISimpleType<number>;
|
|
3594
|
-
t: ISimpleType<number>;
|
|
3595
|
-
} & {
|
|
3596
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3597
|
-
}, {
|
|
3598
|
-
readonly json: CanvasCoordWithId;
|
|
3599
|
-
} & {
|
|
3600
|
-
regenerateId(randomizer: string): void;
|
|
3601
|
-
}, _NotCustomized, _NotCustomized>;
|
|
3602
|
-
end: IModelType< {
|
|
3603
|
-
r: ISimpleType<number>;
|
|
3604
|
-
t: ISimpleType<number>;
|
|
3605
|
-
} & {
|
|
3606
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3607
|
-
}, {
|
|
3608
|
-
readonly json: CanvasCoordWithId;
|
|
3609
|
-
} & {
|
|
3610
|
-
regenerateId(randomizer: string): void;
|
|
3611
|
-
}, _NotCustomized, _NotCustomized>;
|
|
3612
|
-
}, {
|
|
3613
|
-
readonly superJson: JsonAbstractSegment;
|
|
3614
|
-
} & {
|
|
3615
|
-
readonly centerPoint: SOCanvasPoint;
|
|
3616
|
-
} & {
|
|
3617
|
-
regenerateIds(randomizer: string): void;
|
|
3618
|
-
} & {
|
|
3619
|
-
readonly json: JsonAbstractSegment;
|
|
3620
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
3621
|
-
holes: IArrayType<IModelType< {
|
|
3622
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3623
|
-
type: IOptionalIType<ISimpleType<"hole">, [undefined]>;
|
|
3624
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3625
|
-
segments: IArrayType<IModelType< {
|
|
3626
|
-
start: IModelType< {
|
|
3627
|
-
r: ISimpleType<number>;
|
|
3628
|
-
t: ISimpleType<number>;
|
|
3629
|
-
} & {
|
|
3630
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3631
|
-
}, {
|
|
3632
|
-
readonly json: CanvasCoordWithId;
|
|
3633
|
-
} & {
|
|
3634
|
-
regenerateId(randomizer: string): void;
|
|
3635
|
-
}, _NotCustomized, _NotCustomized>;
|
|
3636
|
-
end: IModelType< {
|
|
3637
|
-
r: ISimpleType<number>;
|
|
3638
|
-
t: ISimpleType<number>;
|
|
3639
|
-
} & {
|
|
3640
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3641
|
-
}, {
|
|
3642
|
-
readonly json: CanvasCoordWithId;
|
|
3643
|
-
} & {
|
|
3644
|
-
regenerateId(randomizer: string): void;
|
|
3645
|
-
}, _NotCustomized, _NotCustomized>;
|
|
3646
|
-
}, {
|
|
3647
|
-
readonly superJson: JsonAbstractSegment;
|
|
3648
|
-
} & {
|
|
3649
|
-
readonly centerPoint: SOCanvasPoint;
|
|
3650
|
-
} & {
|
|
3651
|
-
regenerateIds(randomizer: string): void;
|
|
3652
|
-
} & {
|
|
3653
|
-
readonly json: JsonAbstractSegment;
|
|
3654
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
3655
|
-
}, {
|
|
3656
|
-
readonly json: JsonHole;
|
|
3657
|
-
getGround(): IGround;
|
|
3658
|
-
} & {
|
|
3659
|
-
newInParent(): void;
|
|
3660
|
-
removeInParent(): void;
|
|
3661
|
-
clearInEditor(id: string): void;
|
|
3662
|
-
regenerateIds(randomizer: string): void;
|
|
3663
|
-
} & {
|
|
3664
|
-
rename(name: string): void;
|
|
3665
|
-
} & {
|
|
3666
|
-
readonly points: SOCanvasPoint[];
|
|
3667
|
-
readonly geometry: SegmentGeometry;
|
|
3668
|
-
} & {
|
|
3669
|
-
addPoint({ r, t }: SICanvasPoint): void;
|
|
3670
|
-
addPointAfter({ pointId }: {
|
|
3671
|
-
pointId: string;
|
|
3672
|
-
}): void;
|
|
3673
|
-
close(): void;
|
|
3674
|
-
removePoint(id: string): void;
|
|
3675
|
-
} & {
|
|
3676
|
-
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
3677
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
3678
|
-
} & {
|
|
3679
|
-
layers: IArrayType<ISimpleType<string>>;
|
|
3680
|
-
} & {
|
|
3681
|
-
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
3682
|
-
}, {
|
|
3683
|
-
readonly json: JsonGround;
|
|
3684
|
-
} & {
|
|
3685
|
-
newInParent(): void;
|
|
3686
|
-
removeInParent(): void;
|
|
3687
|
-
clearInEditor(id: string): void;
|
|
3688
|
-
regenerateIds(randomizer: string): void;
|
|
3689
|
-
} & {
|
|
3690
|
-
rename(name: string): void;
|
|
3691
|
-
ensureName(): void;
|
|
3692
|
-
addHole(hole?: (Omit<SIHole, "segments"> & {
|
|
3693
|
-
segments: SOGroundSegment[];
|
|
3694
|
-
}) | undefined): void;
|
|
3695
|
-
removeHole(holeId: string): void;
|
|
3696
|
-
replaceSegments(segments: SIGroundSegment[]): void;
|
|
3697
|
-
} & {
|
|
3698
|
-
readonly points: SOCanvasPoint[];
|
|
3699
|
-
readonly geometry: SegmentGeometry;
|
|
3700
|
-
} & {
|
|
3701
|
-
addPoint({ r, t }: SICanvasPoint): void;
|
|
3702
|
-
addPointAfter({ pointId }: {
|
|
3703
|
-
pointId: string;
|
|
3704
|
-
}): void;
|
|
3705
|
-
close(): void;
|
|
3706
|
-
removePoint(id: string): void;
|
|
3707
|
-
} & {
|
|
3708
|
-
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
3709
|
-
} & {
|
|
3710
|
-
setLayers(layers: string[]): void;
|
|
3711
|
-
} & {
|
|
3712
|
-
setExtras(extras: FeatureExtras | undefined): void;
|
|
3713
|
-
mergeExtras(extras: FeatureExtras): void;
|
|
3714
|
-
setExtrasEntry(key: string, value: JsonValue): void;
|
|
3715
|
-
removeExtrasEntry(key: string): void;
|
|
3716
|
-
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
3717
|
-
}, _NotCustomized, _NotCustomized>>, [undefined]>;
|
|
3718
|
-
walls: IOptionalIType<IArrayType<IModelType< {
|
|
3719
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3720
|
-
type: IOptionalIType<ISimpleType<"wall">, [undefined]>;
|
|
3721
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3722
|
-
options: IOptionalIType<IModelType< {
|
|
3723
|
-
type: IOptionalIType<ISimpleType<"normal" | "shell" | "norender" | "structural">, [undefined]>;
|
|
3724
|
-
cap: IOptionalIType<ISimpleType<"flat" | "round">, [undefined]>;
|
|
3725
|
-
height: IMaybe<ISimpleType<number>>;
|
|
3726
|
-
thickness: IMaybe<ISimpleType<number>>;
|
|
3727
|
-
autoFacade: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
3728
|
-
partOfFacade: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
3729
|
-
}, {
|
|
3730
|
-
readonly json: JsonWallOptions;
|
|
3731
|
-
} & {
|
|
3732
|
-
setType(type: "normal" | "shell" | "norender" | "structural"): void;
|
|
3733
|
-
setCap(cap: "flat" | "round"): void;
|
|
3734
|
-
setHeight(height: number | undefined): void;
|
|
3735
|
-
setThickness(thickness: number | undefined): void;
|
|
3736
|
-
setAutoFacade(autoFacade: boolean): void;
|
|
3737
|
-
setPartOfFacade(partOfFacade: boolean): void;
|
|
3738
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
3739
|
-
segments: IArrayType<IModelType< {
|
|
3740
|
-
start: IModelType< {
|
|
3741
|
-
r: ISimpleType<number>;
|
|
3742
|
-
t: ISimpleType<number>;
|
|
3743
|
-
} & {
|
|
3744
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3745
|
-
}, {
|
|
3746
|
-
readonly json: CanvasCoordWithId;
|
|
3747
|
-
} & {
|
|
3748
|
-
regenerateId(randomizer: string): void;
|
|
3749
|
-
}, _NotCustomized, _NotCustomized>;
|
|
3750
|
-
end: IModelType< {
|
|
3751
|
-
r: ISimpleType<number>;
|
|
3752
|
-
t: ISimpleType<number>;
|
|
3753
|
-
} & {
|
|
3754
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3755
|
-
}, {
|
|
3756
|
-
readonly json: CanvasCoordWithId;
|
|
3757
|
-
} & {
|
|
3758
|
-
regenerateId(randomizer: string): void;
|
|
3759
|
-
}, _NotCustomized, _NotCustomized>;
|
|
3760
|
-
} & {
|
|
3761
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3762
|
-
openings: IArrayType<IModelType< {
|
|
3763
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3764
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3765
|
-
type: ISimpleType<"door" | "window">;
|
|
3766
|
-
dimensions: IOptionalIType<IModelType< {
|
|
3767
|
-
width: IMaybe<ISimpleType<number>>;
|
|
3768
|
-
height: IMaybe<ISimpleType<number>>;
|
|
3769
|
-
baseHeight: IMaybe<ISimpleType<number>>;
|
|
3770
|
-
}, {
|
|
3771
|
-
readonly json: JsonWallOpeningDimensions;
|
|
3772
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
3773
|
-
position: IMaybe<IModelType< {
|
|
3774
|
-
from: ISimpleType<"start" | "end">;
|
|
3775
|
-
distance: ISimpleType<number>;
|
|
3776
|
-
}, {
|
|
3777
|
-
readonly json: JsonWallOpeningPosition;
|
|
3778
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
3779
|
-
options: IOptionalIType<IModelType< {
|
|
3780
|
-
style: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3781
|
-
nbOfPanels: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
3782
|
-
nbOfPanelsVertically: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
3783
|
-
targetPanelWidth: IMaybe<ISimpleType<number>>;
|
|
3784
|
-
twoPanels: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
3785
|
-
centerSplit: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
3786
|
-
swapKnob: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
3787
|
-
swapInOut: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
3788
|
-
swapPanels: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
3789
|
-
glass: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
3790
|
-
openFrom: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3791
|
-
panelsOpened: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
3792
|
-
openAngle: IMaybe<ISimpleType<number>>;
|
|
3793
|
-
railingHeight: IMaybe<ISimpleType<number>>;
|
|
3794
|
-
railingStyle: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3795
|
-
}, {
|
|
3796
|
-
readonly maxPanelsOpened: number;
|
|
3797
|
-
} & {
|
|
3798
|
-
setStyle(style: string): void;
|
|
3799
|
-
setNbOfPanels(nbOfPanels: number): void;
|
|
3800
|
-
setNbOfPanelsVertically(nbOfPanelsVertically: number): void;
|
|
3801
|
-
setTargetPanelWidth(targetPanelWidth: number | undefined): void;
|
|
3802
|
-
setCenterSplit(centerSplit: boolean): void;
|
|
3803
|
-
setSwapKnob(swapKnob: boolean): void;
|
|
3804
|
-
setSwapInOut(swapInOut: boolean): void;
|
|
3805
|
-
setSwapPanels(swapPanels: boolean): void;
|
|
3806
|
-
setTwoPanels(twoPanels: boolean): void;
|
|
3807
|
-
setGlass(glass: boolean): void;
|
|
3808
|
-
setPanelsOpened(panelsOpened: number): void;
|
|
3809
|
-
setOpenAngle(openAngle: number): void;
|
|
3810
|
-
setRailingHeight(railingHeight: number | undefined): void;
|
|
3811
|
-
setRailingStyle(railingStyle: string): void;
|
|
3812
|
-
} & {
|
|
3813
|
-
setOpenFrom(openFrom: string): void;
|
|
3814
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
3815
|
-
} & {
|
|
3816
|
-
layers: IArrayType<ISimpleType<string>>;
|
|
3817
|
-
} & {
|
|
3818
|
-
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
3819
|
-
}, {
|
|
3820
|
-
readonly json: JsonWallOpening;
|
|
3821
|
-
readonly segment: IWallSegment;
|
|
3822
|
-
} & {
|
|
3823
|
-
readonly feature: IWall;
|
|
3824
|
-
readonly direction: number;
|
|
3825
|
-
} & {
|
|
3826
|
-
readonly orientation: "horizontal" | "vertical";
|
|
3827
|
-
} & {
|
|
3828
|
-
verifyOpeningPosition(): void;
|
|
3829
|
-
regenerateId(randomizer: string): void;
|
|
3830
|
-
applyTargetPanelWidth(): void;
|
|
3831
|
-
} & {
|
|
3832
|
-
rename(name: string): void;
|
|
3833
|
-
ensureName(): void;
|
|
3834
|
-
resize(dimensions: Partial<SIWallOpeningDimensions>): void;
|
|
3835
|
-
setTargetPanelWidth(targetPanelWidth: number | undefined): void;
|
|
3836
|
-
moveTo(position: SIWallOpeningPosition): void;
|
|
3837
|
-
moveInDirection(direction: URDL, distance?: number): void;
|
|
3838
|
-
remove(): void;
|
|
3839
|
-
} & {
|
|
3840
|
-
expandToFullSegment(): void;
|
|
3841
|
-
addToAllSegmentsInWall(): void;
|
|
3842
|
-
} & {
|
|
3843
|
-
setLayers(layers: string[]): void;
|
|
3844
|
-
} & {
|
|
3845
|
-
setExtras(extras: FeatureExtras | undefined): void;
|
|
3846
|
-
mergeExtras(extras: FeatureExtras): void;
|
|
3847
|
-
setExtrasEntry(key: string, value: JsonValue): void;
|
|
3848
|
-
removeExtrasEntry(key: string): void;
|
|
3849
|
-
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
3850
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
3851
|
-
}, {
|
|
3852
|
-
readonly superJson: JsonAbstractSegment;
|
|
3853
|
-
} & {
|
|
3854
|
-
readonly centerPoint: SOCanvasPoint;
|
|
3855
|
-
} & {
|
|
3856
|
-
readonly json: JsonWallSegment;
|
|
3857
|
-
readonly centerPoint: SOCanvasPoint;
|
|
3858
|
-
} & {
|
|
3859
|
-
addOpening(opening: SIWallOpening): void;
|
|
3860
|
-
removeOpening(id: string): void;
|
|
3861
|
-
regenerateIds(randomizer: string): void;
|
|
3862
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
3863
|
-
} & {
|
|
3864
|
-
layers: IArrayType<ISimpleType<string>>;
|
|
3865
|
-
} & {
|
|
3866
|
-
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
3867
|
-
}, {
|
|
3868
|
-
readonly json: JsonWall;
|
|
3869
|
-
} & {
|
|
3870
|
-
newInParent(): void;
|
|
3871
|
-
setOptions(options: JsonWallOptions): void;
|
|
3872
|
-
removeInParent(): void;
|
|
3873
|
-
clearInEditor(id: string): void;
|
|
3874
|
-
regenerateIds(randomizer: string): void;
|
|
3875
|
-
} & {
|
|
3876
|
-
rename(name: string): void;
|
|
3877
|
-
ensureName(): void;
|
|
3878
|
-
splitWallAtPoint({ pointId }: {
|
|
3879
|
-
pointId: string;
|
|
3880
|
-
}): void;
|
|
3881
|
-
} & {
|
|
3882
|
-
readonly points: SOCanvasPoint[];
|
|
3883
|
-
readonly geometry: SegmentGeometry;
|
|
3884
|
-
} & {
|
|
3885
|
-
addPoint({ r, t }: SICanvasPoint): void;
|
|
3886
|
-
addPointAfter({ pointId }: {
|
|
3887
|
-
pointId: string;
|
|
3888
|
-
}): void;
|
|
3889
|
-
close(): void;
|
|
3890
|
-
removePoint(id: string): void;
|
|
3891
|
-
} & {
|
|
3892
|
-
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
3893
|
-
} & {
|
|
3894
|
-
setLayers(layers: string[]): void;
|
|
3895
|
-
} & {
|
|
3896
|
-
setExtras(extras: FeatureExtras | undefined): void;
|
|
3897
|
-
mergeExtras(extras: FeatureExtras): void;
|
|
3898
|
-
setExtrasEntry(key: string, value: JsonValue): void;
|
|
3899
|
-
removeExtrasEntry(key: string): void;
|
|
3900
|
-
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
3901
|
-
}, _NotCustomized, _NotCustomized>>, [undefined]>;
|
|
3902
|
-
roofs: IOptionalIType<IArrayType<IModelType< {
|
|
3903
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3904
|
-
type: IOptionalIType<ISimpleType<"roof">, [undefined]>;
|
|
3905
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3906
|
-
options: IOptionalIType<IModelType< {
|
|
3907
|
-
baseHeight: IMaybe<ISimpleType<number>>;
|
|
3908
|
-
topHeight: IMaybe<ISimpleType<number>>;
|
|
3909
|
-
angle: IMaybe<ISimpleType<number>>;
|
|
3910
|
-
}, {
|
|
3911
|
-
setBaseHeight(baseHeight: number | undefined): void;
|
|
3912
|
-
setTopHeight(topHeight: number | undefined): void;
|
|
3913
|
-
setAngle(angle: number | undefined): void;
|
|
3914
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
3915
|
-
segments: IArrayType<IModelType< {
|
|
3916
|
-
start: IModelType< {
|
|
3917
|
-
r: ISimpleType<number>;
|
|
3918
|
-
t: ISimpleType<number>;
|
|
3919
|
-
} & {
|
|
3920
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3921
|
-
}, {
|
|
3922
|
-
readonly json: CanvasCoordWithId;
|
|
3923
|
-
} & {
|
|
3924
|
-
regenerateId(randomizer: string): void;
|
|
3925
|
-
}, _NotCustomized, _NotCustomized>;
|
|
3926
|
-
end: IModelType< {
|
|
3927
|
-
r: ISimpleType<number>;
|
|
3928
|
-
t: ISimpleType<number>;
|
|
3929
|
-
} & {
|
|
3930
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
2252
|
+
declare const SpaceDefaults: IModelType< {
|
|
2253
|
+
unit: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
2254
|
+
groundThickness: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
2255
|
+
wallHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
2256
|
+
wallThickness: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
2257
|
+
roofBaseHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
2258
|
+
roofTopHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
2259
|
+
roofAngle: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
2260
|
+
doorWidth: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
2261
|
+
doorHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
2262
|
+
doorBaseHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
2263
|
+
doorOpenAngle: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
2264
|
+
windowWidth: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
2265
|
+
windowHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
2266
|
+
windowBaseHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
2267
|
+
railingHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
2268
|
+
stairsStepSize: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
2269
|
+
annotationHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
2270
|
+
annotationSize: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
2271
|
+
wallLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
2272
|
+
groundLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
2273
|
+
doorLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
2274
|
+
windowLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
2275
|
+
stairsLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
2276
|
+
objectLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
2277
|
+
annotationLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
3931
2278
|
}, {
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
ensureName(): void;
|
|
3958
|
-
setBaseSegmentById(id: string): void;
|
|
3959
|
-
} & {
|
|
3960
|
-
readonly points: SOCanvasPoint[];
|
|
3961
|
-
readonly geometry: SegmentGeometry;
|
|
3962
|
-
} & {
|
|
3963
|
-
addPoint({ r, t }: SICanvasPoint): void;
|
|
3964
|
-
addPointAfter({ pointId }: {
|
|
3965
|
-
pointId: string;
|
|
3966
|
-
}): void;
|
|
3967
|
-
close(): void;
|
|
3968
|
-
removePoint(id: string): void;
|
|
3969
|
-
} & {
|
|
3970
|
-
movePoint(id: string, { r, t }: SICanvasPoint): void;
|
|
3971
|
-
} & {
|
|
3972
|
-
setExtras(extras: FeatureExtras | undefined): void;
|
|
3973
|
-
mergeExtras(extras: FeatureExtras): void;
|
|
3974
|
-
setExtrasEntry(key: string, value: JsonValue): void;
|
|
3975
|
-
removeExtrasEntry(key: string): void;
|
|
3976
|
-
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
3977
|
-
}, _NotCustomized, _NotCustomized>>, [undefined]>;
|
|
3978
|
-
stairs: IArrayType<IModelType< {
|
|
3979
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3980
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3981
|
-
bottomSegment: IArrayType<IModelType< {
|
|
3982
|
-
r: ISimpleType<number>;
|
|
3983
|
-
t: ISimpleType<number>;
|
|
3984
|
-
} & {
|
|
3985
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3986
|
-
}, {
|
|
3987
|
-
readonly json: CanvasCoordWithId;
|
|
3988
|
-
} & {
|
|
3989
|
-
regenerateId(randomizer: string): void;
|
|
3990
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
3991
|
-
topSegment: IArrayType<IModelType< {
|
|
3992
|
-
r: ISimpleType<number>;
|
|
3993
|
-
t: ISimpleType<number>;
|
|
3994
|
-
} & {
|
|
3995
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
3996
|
-
}, {
|
|
3997
|
-
readonly json: CanvasCoordWithId;
|
|
3998
|
-
} & {
|
|
3999
|
-
regenerateId(randomizer: string): void;
|
|
4000
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
4001
|
-
baseHeight: IMaybe<ISimpleType<number>>;
|
|
4002
|
-
height: IMaybe<ISimpleType<number>>;
|
|
4003
|
-
style: IOptionalIType<ISimpleType<"slope" | "thin" | "thick" | "block">, [undefined]>;
|
|
4004
|
-
color: IOptionalIType<ISimpleType<"white" | "grey" | "darkgrey">, [undefined]>;
|
|
4005
|
-
} & {
|
|
4006
|
-
layers: IArrayType<ISimpleType<string>>;
|
|
4007
|
-
} & {
|
|
4008
|
-
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
4009
|
-
}, {
|
|
4010
|
-
readonly json: JsonStair;
|
|
4011
|
-
} & {
|
|
4012
|
-
rename(name: string): void;
|
|
4013
|
-
ensureName(): void;
|
|
4014
|
-
setBaseHeight(baseHeight: number | undefined): void;
|
|
4015
|
-
setHeight(height: number | undefined): void;
|
|
4016
|
-
setStyle(style: "slope" | "thin" | "thick" | "block"): void;
|
|
4017
|
-
setColor(color: "white" | "grey" | "darkgrey"): void;
|
|
4018
|
-
moveBy({ dr, dt }: {
|
|
4019
|
-
dr: number;
|
|
4020
|
-
dt: number;
|
|
4021
|
-
}): void;
|
|
4022
|
-
remove(): void;
|
|
4023
|
-
regenerateIds(randomizer: string): void;
|
|
4024
|
-
} & {
|
|
4025
|
-
setLayers(layers: string[]): void;
|
|
4026
|
-
} & {
|
|
4027
|
-
setExtras(extras: FeatureExtras | undefined): void;
|
|
4028
|
-
mergeExtras(extras: FeatureExtras): void;
|
|
4029
|
-
setExtrasEntry(key: string, value: JsonValue): void;
|
|
4030
|
-
removeExtrasEntry(key: string): void;
|
|
4031
|
-
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
4032
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
4033
|
-
annotations: IArrayType<IModelType< {
|
|
4034
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
4035
|
-
type: IOptionalIType<ISimpleType<AnnotationType>, [undefined]>;
|
|
4036
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
4037
|
-
r: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4038
|
-
t: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4039
|
-
height: IMaybe<ISimpleType<number>>;
|
|
4040
|
-
size: IMaybe<ISimpleType<number>>;
|
|
4041
|
-
} & {
|
|
4042
|
-
layers: IArrayType<ISimpleType<string>>;
|
|
4043
|
-
} & {
|
|
4044
|
-
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
4045
|
-
}, {
|
|
4046
|
-
readonly json: JsonAnnotation;
|
|
4047
|
-
} & {
|
|
4048
|
-
setType(type: AnnotationType): void;
|
|
4049
|
-
rename(name: string): void;
|
|
4050
|
-
moveTo({ r, t }: CanvasCoord): void;
|
|
4051
|
-
setHeight(height: number | undefined): void;
|
|
4052
|
-
setSize(size: number | undefined): void;
|
|
4053
|
-
remove(): void;
|
|
4054
|
-
regenerateId(randomizer: string): void;
|
|
4055
|
-
} & {
|
|
4056
|
-
setLayers(layers: string[]): void;
|
|
4057
|
-
} & {
|
|
4058
|
-
setExtras(extras: FeatureExtras | undefined): void;
|
|
4059
|
-
mergeExtras(extras: FeatureExtras): void;
|
|
4060
|
-
setExtrasEntry(key: string, value: JsonValue): void;
|
|
4061
|
-
removeExtrasEntry(key: string): void;
|
|
4062
|
-
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
4063
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
4064
|
-
objects: IArrayType<IModelType< {
|
|
4065
|
-
catalogId: ISimpleType<string>;
|
|
4066
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
4067
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
4068
|
-
levelIndex: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4069
|
-
position: IOptionalIType<IModelType< {
|
|
4070
|
-
x: ISimpleType<number>;
|
|
4071
|
-
z: ISimpleType<number>;
|
|
4072
|
-
} & {
|
|
4073
|
-
elevation: ISimpleType<number>;
|
|
4074
|
-
}, {}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
4075
|
-
rotation: IOptionalIType<IModelType< {
|
|
4076
|
-
pitch: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4077
|
-
yaw: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4078
|
-
roll: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4079
|
-
}, {
|
|
4080
|
-
readonly json: Rotation3d;
|
|
4081
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
4082
|
-
dimensions: IOptionalIType<IModelType< {
|
|
4083
|
-
length: IMaybe<ISimpleType<number>>;
|
|
4084
|
-
width: IMaybe<ISimpleType<number>>;
|
|
4085
|
-
height: IMaybe<ISimpleType<number>>;
|
|
4086
|
-
}, {
|
|
4087
|
-
readonly json: JsonObjectDimensions;
|
|
4088
|
-
readonly safeValues: {
|
|
4089
|
-
length: number;
|
|
4090
|
-
width: number;
|
|
4091
|
-
height: number;
|
|
4092
|
-
};
|
|
4093
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
4094
|
-
configuration: IMaybe<IType<Partial<ParametricObjectConfiguration>, Partial<ParametricObjectConfiguration>, Partial<ParametricObjectConfiguration>>>;
|
|
4095
|
-
external: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
4096
|
-
} & {
|
|
4097
|
-
layers: IArrayType<ISimpleType<string>>;
|
|
4098
|
-
} & {
|
|
4099
|
-
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
4100
|
-
}, {
|
|
4101
|
-
readonly json: Furniture;
|
|
4102
|
-
} & {
|
|
4103
|
-
rename(name: string): void;
|
|
4104
|
-
moveTo(position: Partial<SILevelCoord3d>): void;
|
|
4105
|
-
setLevelIndex(levelIndex: number): void;
|
|
4106
|
-
resize(dimensions: Partial<SIObjectDimensions>): void;
|
|
4107
|
-
rotate(rotation: Partial<SIObjectRotation>): void;
|
|
4108
|
-
configure(configurationChanges: Partial<ParametricObjectConfiguration>): void;
|
|
4109
|
-
remove(): void;
|
|
4110
|
-
regenerateId(randomizer: string): void;
|
|
4111
|
-
setExternal(external: boolean): void;
|
|
4112
|
-
} & {
|
|
4113
|
-
resizeAndMoveTo(dimensions: Partial<SIObjectDimensions>, position: Partial<SILevelCoord3d>): void;
|
|
4114
|
-
} & {
|
|
4115
|
-
setLayers(layers: string[]): void;
|
|
4116
|
-
} & {
|
|
4117
|
-
setExtras(extras: FeatureExtras | undefined): void;
|
|
4118
|
-
mergeExtras(extras: FeatureExtras): void;
|
|
4119
|
-
setExtrasEntry(key: string, value: JsonValue): void;
|
|
4120
|
-
removeExtrasEntry(key: string): void;
|
|
4121
|
-
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
4122
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
4123
|
-
floorplan: IOptionalIType<IModelType< {
|
|
4124
|
-
url: IMaybe<ISimpleType<string>>;
|
|
4125
|
-
r2Key: IMaybe<ISimpleType<string>>;
|
|
4126
|
-
data: IMaybe<ISimpleType<string>>;
|
|
4127
|
-
r: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4128
|
-
t: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4129
|
-
scale: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4130
|
-
flipped: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
4131
|
-
}, {
|
|
4132
|
-
isNil(): boolean;
|
|
4133
|
-
} & {
|
|
4134
|
-
setUrl(url: string): void;
|
|
4135
|
-
setR2Key(r2Key: string | undefined): void;
|
|
4136
|
-
setData(data: string | undefined): void;
|
|
4137
|
-
moveTo({ r, t }: CanvasCoord): void;
|
|
4138
|
-
setScale(scale: number): void;
|
|
4139
|
-
setFlipped(flipped: boolean): void;
|
|
4140
|
-
remove(): void;
|
|
4141
|
-
} & {
|
|
4142
|
-
rescaleByFactor(factor: number, imageOnly?: boolean): void;
|
|
4143
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
4144
|
-
}, {
|
|
4145
|
-
readonly json: JsonLevel;
|
|
4146
|
-
readonly hash: string;
|
|
4147
|
-
readonly points: ICanvasPoint[];
|
|
4148
|
-
} & {
|
|
4149
|
-
readonly boundingBox: CanvasBoundingBox | null;
|
|
4150
|
-
readonly centerPoint: CanvasCoord | null;
|
|
4151
|
-
readonly autoGroundHash: string;
|
|
4152
|
-
getHash({ only, ignore }: {
|
|
4153
|
-
only: any;
|
|
4154
|
-
ignore: any;
|
|
4155
|
-
}): string;
|
|
4156
|
-
readonly isEmpty: boolean;
|
|
4157
|
-
readonly openings: IWallOpening[];
|
|
4158
|
-
} & {
|
|
4159
|
-
readonly doors: IWallOpening[];
|
|
4160
|
-
readonly windows: IWallOpening[];
|
|
4161
|
-
nextGroundName(excludeId?: string | undefined): string;
|
|
4162
|
-
nextWallName(excludeId?: string | undefined): string;
|
|
4163
|
-
nextRoofName(excludeId?: string | undefined): string;
|
|
4164
|
-
nextStairsName(excludeId?: string | undefined): string;
|
|
4165
|
-
nextOpeningName(type: string, excludeId?: string | undefined): string;
|
|
4166
|
-
readonly initialsFromName: string;
|
|
4167
|
-
} & {
|
|
4168
|
-
rename(name: string): void;
|
|
4169
|
-
setInitials(initials: string): void;
|
|
4170
|
-
setAutoInitials(enabled: boolean): void;
|
|
4171
|
-
newGround(ground?: (Omit<SIGround, "segments"> & {
|
|
4172
|
-
segments: SOGroundSegment[];
|
|
4173
|
-
}) | undefined, forceId?: string | undefined): void;
|
|
4174
|
-
removeGround(id: string): void;
|
|
4175
|
-
removeAllGrounds(): void;
|
|
4176
|
-
newWall(wall?: (Omit<SIWall, "segments"> & {
|
|
4177
|
-
segments: SOAbstractSegment[] | SOWallSegment[];
|
|
4178
|
-
}) | undefined): void;
|
|
4179
|
-
addWalls(walls: SIWall[]): void;
|
|
4180
|
-
removeWall(id: string): void;
|
|
4181
|
-
removeAllWalls(): void;
|
|
4182
|
-
newRoof(): void;
|
|
4183
|
-
removeRoof(id: string): void;
|
|
4184
|
-
removeAllRoofs(): void;
|
|
4185
|
-
addStairs(stairs?: SIStair | undefined): void;
|
|
4186
|
-
removeStairs(id: string): void;
|
|
4187
|
-
removeAllStairs(): void;
|
|
4188
|
-
addAnnotation(annotation: SIAnnotation): void;
|
|
4189
|
-
removeAnnotation(id: string): void;
|
|
4190
|
-
removeAllAnnotations(): void;
|
|
4191
|
-
addObject(object: SIObject): void;
|
|
4192
|
-
removeObject(id: string): void;
|
|
4193
|
-
removeAllObjects(): void;
|
|
4194
|
-
setObjectsLevelIndex(levelIndex: number): void;
|
|
4195
|
-
updateObjectsLevelIndex(updater: (levelIndex: number) => number): void;
|
|
4196
|
-
regenerateIds(randomizer: string): void;
|
|
4197
|
-
} & {
|
|
4198
|
-
addObjects(objects: SIObject[]): void;
|
|
4199
|
-
addAnnotations(annotations: SIAnnotation[]): void;
|
|
4200
|
-
newWallWithOptions(template: {
|
|
4201
|
-
options: JsonWallOptions;
|
|
4202
|
-
layers: string[];
|
|
4203
|
-
}): void;
|
|
4204
|
-
clear(): void;
|
|
4205
|
-
removeDeskCluster(clusterId: string): void;
|
|
4206
|
-
removeSeminarSeatingCluster(clusterId: string): void;
|
|
4207
|
-
removeParkingCluster(clusterId: string): void;
|
|
4208
|
-
}, _NotCustomized, _NotCustomized>>, [undefined]>;
|
|
4209
|
-
facade: IMaybe<IModelType< {
|
|
4210
|
-
url: ISimpleType<string>;
|
|
4211
|
-
levelIndex: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4212
|
-
position: IOptionalIType<IModelType< {
|
|
4213
|
-
x: ISimpleType<number>;
|
|
4214
|
-
z: ISimpleType<number>;
|
|
4215
|
-
} & {
|
|
4216
|
-
elevation: ISimpleType<number>;
|
|
4217
|
-
}, {}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
4218
|
-
rotation: IOptionalIType<IModelType< {
|
|
4219
|
-
pitch: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4220
|
-
yaw: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4221
|
-
roll: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4222
|
-
}, {
|
|
4223
|
-
readonly json: Rotation3d;
|
|
4224
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
4225
|
-
dimensions: IOptionalIType<IModelType< {
|
|
4226
|
-
length: IMaybe<ISimpleType<number>>;
|
|
4227
|
-
width: IMaybe<ISimpleType<number>>;
|
|
4228
|
-
height: IMaybe<ISimpleType<number>>;
|
|
4229
|
-
}, {
|
|
4230
|
-
readonly json: JsonObjectDimensions;
|
|
4231
|
-
readonly safeValues: {
|
|
4232
|
-
length: number;
|
|
4233
|
-
width: number;
|
|
4234
|
-
height: number;
|
|
4235
|
-
};
|
|
4236
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
4237
|
-
}, {}, _NotCustomized, _NotCustomized>>;
|
|
4238
|
-
defaults: IOptionalIType<IModelType< {
|
|
4239
|
-
unit: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
4240
|
-
groundThickness: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4241
|
-
wallHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4242
|
-
wallThickness: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4243
|
-
roofBaseHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4244
|
-
roofTopHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4245
|
-
roofAngle: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4246
|
-
doorWidth: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4247
|
-
doorHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4248
|
-
doorBaseHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4249
|
-
doorOpenAngle: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4250
|
-
windowWidth: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4251
|
-
windowHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4252
|
-
windowBaseHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4253
|
-
railingHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4254
|
-
stairsStepSize: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4255
|
-
annotationHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4256
|
-
annotationSize: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4257
|
-
wallLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
4258
|
-
groundLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
4259
|
-
doorLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
4260
|
-
windowLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
4261
|
-
stairsLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
4262
|
-
objectLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
4263
|
-
annotationLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
4264
|
-
}, {
|
|
4265
|
-
setUnit(unit: string): void;
|
|
4266
|
-
setGroundThickness(groundThickness: number): void;
|
|
4267
|
-
setWallHeight(wallHeight: number): void;
|
|
4268
|
-
setWallThickness(wallThickness: number): void;
|
|
4269
|
-
setRoofBaseHeight(roofBaseHeight: number): void;
|
|
4270
|
-
setRoofTopHeight(roofTopHeight: number): void;
|
|
4271
|
-
setRoofAngle(roofAngle: number): void;
|
|
4272
|
-
setDoorWidth(doorWidth: number): void;
|
|
4273
|
-
setDoorHeight(doorHeight: number): void;
|
|
4274
|
-
setDoorBaseHeight(doorBaseHeight: number): void;
|
|
4275
|
-
setDoorOpenAngle(doorOpenAngle: number): void;
|
|
4276
|
-
setWindowWidth(windowWidth: number): void;
|
|
4277
|
-
setWindowHeight(windowHeight: number): void;
|
|
4278
|
-
setWindowBaseHeight(windowBaseHeight: number): void;
|
|
4279
|
-
setRailingHeight(railingHeight: number): void;
|
|
4280
|
-
setStairsStepSize(stairsStepSize: number): void;
|
|
4281
|
-
setAnnotationHeight(annotationHeight: number): void;
|
|
4282
|
-
setAnnotationSize(annotationSize: number): void;
|
|
4283
|
-
setWallLayers(layers: string[]): void;
|
|
4284
|
-
setGroundLayers(layers: string[]): void;
|
|
4285
|
-
setDoorLayers(layers: string[]): void;
|
|
4286
|
-
setWindowLayers(layers: string[]): void;
|
|
4287
|
-
setStairsLayers(layers: string[]): void;
|
|
4288
|
-
setObjectLayers(layers: string[]): void;
|
|
4289
|
-
setAnnotationLayers(layers: string[]): void;
|
|
4290
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
4291
|
-
}, {
|
|
4292
|
-
readonly json: JsonSpace;
|
|
4293
|
-
readonly hash: string;
|
|
4294
|
-
} & {
|
|
4295
|
-
getHash({ only, ignore }: {
|
|
4296
|
-
only?: string[] | undefined;
|
|
4297
|
-
ignore?: string[] | undefined;
|
|
4298
|
-
}): string;
|
|
4299
|
-
readonly isEmpty: boolean;
|
|
4300
|
-
readonly grounds: IGround[];
|
|
4301
|
-
readonly walls: IWall[];
|
|
4302
|
-
readonly roofs: IRoof[];
|
|
4303
|
-
readonly stairs: IStair[];
|
|
4304
|
-
readonly objects: IObject[];
|
|
4305
|
-
readonly openings: IWallOpening[];
|
|
4306
|
-
readonly doors: IWallOpening[];
|
|
4307
|
-
readonly windows: IWallOpening[];
|
|
4308
|
-
readonly annotations: IAnnotation[];
|
|
4309
|
-
} & {
|
|
4310
|
-
readonly layersInSpace: string[];
|
|
4311
|
-
} & {
|
|
4312
|
-
addLevel(): void;
|
|
4313
|
-
clearLevel(levelIndex: number): void;
|
|
4314
|
-
removeLevel(levelIndex: number): void;
|
|
4315
|
-
setLevels(levels: SILevel[]): void;
|
|
4316
|
-
regenerateIdsForLevel(levelIndex: number): void;
|
|
4317
|
-
} & {
|
|
4318
|
-
flip(): void;
|
|
4319
|
-
duplicateLevel(levelIndex: number): void;
|
|
4320
|
-
moveLevel({ from, to }: {
|
|
4321
|
-
from: number;
|
|
4322
|
-
to: number;
|
|
4323
|
-
}): void;
|
|
4324
|
-
}, _NotCustomized, _NotCustomized>;
|
|
4325
|
-
|
|
4326
|
-
declare const SpaceDefaults: IModelType< {
|
|
4327
|
-
unit: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
4328
|
-
groundThickness: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4329
|
-
wallHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4330
|
-
wallThickness: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4331
|
-
roofBaseHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4332
|
-
roofTopHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4333
|
-
roofAngle: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4334
|
-
doorWidth: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4335
|
-
doorHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4336
|
-
doorBaseHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4337
|
-
doorOpenAngle: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4338
|
-
windowWidth: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4339
|
-
windowHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4340
|
-
windowBaseHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4341
|
-
railingHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4342
|
-
stairsStepSize: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4343
|
-
annotationHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4344
|
-
annotationSize: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4345
|
-
wallLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
4346
|
-
groundLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
4347
|
-
doorLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
4348
|
-
windowLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
4349
|
-
stairsLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
4350
|
-
objectLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
4351
|
-
annotationLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
|
|
4352
|
-
}, {
|
|
4353
|
-
setUnit(unit: string): void;
|
|
4354
|
-
setGroundThickness(groundThickness: number): void;
|
|
4355
|
-
setWallHeight(wallHeight: number): void;
|
|
4356
|
-
setWallThickness(wallThickness: number): void;
|
|
4357
|
-
setRoofBaseHeight(roofBaseHeight: number): void;
|
|
4358
|
-
setRoofTopHeight(roofTopHeight: number): void;
|
|
4359
|
-
setRoofAngle(roofAngle: number): void;
|
|
4360
|
-
setDoorWidth(doorWidth: number): void;
|
|
4361
|
-
setDoorHeight(doorHeight: number): void;
|
|
4362
|
-
setDoorBaseHeight(doorBaseHeight: number): void;
|
|
4363
|
-
setDoorOpenAngle(doorOpenAngle: number): void;
|
|
4364
|
-
setWindowWidth(windowWidth: number): void;
|
|
4365
|
-
setWindowHeight(windowHeight: number): void;
|
|
4366
|
-
setWindowBaseHeight(windowBaseHeight: number): void;
|
|
4367
|
-
setRailingHeight(railingHeight: number): void;
|
|
4368
|
-
setStairsStepSize(stairsStepSize: number): void;
|
|
4369
|
-
setAnnotationHeight(annotationHeight: number): void;
|
|
4370
|
-
setAnnotationSize(annotationSize: number): void;
|
|
4371
|
-
setWallLayers(layers: string[]): void;
|
|
4372
|
-
setGroundLayers(layers: string[]): void;
|
|
4373
|
-
setDoorLayers(layers: string[]): void;
|
|
4374
|
-
setWindowLayers(layers: string[]): void;
|
|
4375
|
-
setStairsLayers(layers: string[]): void;
|
|
4376
|
-
setObjectLayers(layers: string[]): void;
|
|
4377
|
-
setAnnotationLayers(layers: string[]): void;
|
|
2279
|
+
setUnit(unit: string): void;
|
|
2280
|
+
setGroundThickness(groundThickness: number): void;
|
|
2281
|
+
setWallHeight(wallHeight: number): void;
|
|
2282
|
+
setWallThickness(wallThickness: number): void;
|
|
2283
|
+
setRoofBaseHeight(roofBaseHeight: number): void;
|
|
2284
|
+
setRoofTopHeight(roofTopHeight: number): void;
|
|
2285
|
+
setRoofAngle(roofAngle: number): void;
|
|
2286
|
+
setDoorWidth(doorWidth: number): void;
|
|
2287
|
+
setDoorHeight(doorHeight: number): void;
|
|
2288
|
+
setDoorBaseHeight(doorBaseHeight: number): void;
|
|
2289
|
+
setDoorOpenAngle(doorOpenAngle: number): void;
|
|
2290
|
+
setWindowWidth(windowWidth: number): void;
|
|
2291
|
+
setWindowHeight(windowHeight: number): void;
|
|
2292
|
+
setWindowBaseHeight(windowBaseHeight: number): void;
|
|
2293
|
+
setRailingHeight(railingHeight: number): void;
|
|
2294
|
+
setStairsStepSize(stairsStepSize: number): void;
|
|
2295
|
+
setAnnotationHeight(annotationHeight: number): void;
|
|
2296
|
+
setAnnotationSize(annotationSize: number): void;
|
|
2297
|
+
setWallLayers(layers: string[]): void;
|
|
2298
|
+
setGroundLayers(layers: string[]): void;
|
|
2299
|
+
setDoorLayers(layers: string[]): void;
|
|
2300
|
+
setWindowLayers(layers: string[]): void;
|
|
2301
|
+
setStairsLayers(layers: string[]): void;
|
|
2302
|
+
setObjectLayers(layers: string[]): void;
|
|
2303
|
+
setAnnotationLayers(layers: string[]): void;
|
|
4378
2304
|
}, _NotCustomized, _NotCustomized>;
|
|
4379
2305
|
|
|
4380
2306
|
export declare interface SpaceLevel {
|
|
@@ -4526,64 +2452,6 @@ declare interface SphereOptions<D> {
|
|
|
4526
2452
|
});
|
|
4527
2453
|
}
|
|
4528
2454
|
|
|
4529
|
-
declare const Stair: IModelType< {
|
|
4530
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
4531
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
4532
|
-
bottomSegment: IArrayType<IModelType< {
|
|
4533
|
-
r: ISimpleType<number>;
|
|
4534
|
-
t: ISimpleType<number>;
|
|
4535
|
-
} & {
|
|
4536
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
4537
|
-
}, {
|
|
4538
|
-
readonly json: CanvasCoordWithId;
|
|
4539
|
-
} & {
|
|
4540
|
-
regenerateId(randomizer: string): void;
|
|
4541
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
4542
|
-
topSegment: IArrayType<IModelType< {
|
|
4543
|
-
r: ISimpleType<number>;
|
|
4544
|
-
t: ISimpleType<number>;
|
|
4545
|
-
} & {
|
|
4546
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
4547
|
-
}, {
|
|
4548
|
-
readonly json: CanvasCoordWithId;
|
|
4549
|
-
} & {
|
|
4550
|
-
regenerateId(randomizer: string): void;
|
|
4551
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
4552
|
-
baseHeight: IMaybe<ISimpleType<number>>;
|
|
4553
|
-
height: IMaybe<ISimpleType<number>>;
|
|
4554
|
-
style: IOptionalIType<ISimpleType<Style>, [undefined]>;
|
|
4555
|
-
color: IOptionalIType<ISimpleType<Color_2>, [undefined]>;
|
|
4556
|
-
} & {
|
|
4557
|
-
layers: IArrayType<ISimpleType<string>>;
|
|
4558
|
-
} & {
|
|
4559
|
-
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
4560
|
-
}, {
|
|
4561
|
-
readonly json: JsonStair;
|
|
4562
|
-
} & {
|
|
4563
|
-
rename(name: string): void;
|
|
4564
|
-
ensureName(): void;
|
|
4565
|
-
setBaseHeight(baseHeight: number | undefined): void;
|
|
4566
|
-
setHeight(height: number | undefined): void;
|
|
4567
|
-
setStyle(style: Style): void;
|
|
4568
|
-
setColor(color: Color_2): void;
|
|
4569
|
-
moveBy({ dr, dt }: {
|
|
4570
|
-
dr: number;
|
|
4571
|
-
dt: number;
|
|
4572
|
-
}): void;
|
|
4573
|
-
remove(): void;
|
|
4574
|
-
regenerateIds(randomizer: string): void;
|
|
4575
|
-
} & {
|
|
4576
|
-
setLayers(layers: string[]): void;
|
|
4577
|
-
} & {
|
|
4578
|
-
setExtras(extras: FeatureExtras | undefined): void;
|
|
4579
|
-
mergeExtras(extras: FeatureExtras): void;
|
|
4580
|
-
setExtrasEntry(key: string, value: JsonValue): void;
|
|
4581
|
-
removeExtrasEntry(key: string): void;
|
|
4582
|
-
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
4583
|
-
}, _NotCustomized, _NotCustomized>;
|
|
4584
|
-
|
|
4585
|
-
declare type Style = 'slope' | 'thin' | 'thick' | 'block';
|
|
4586
|
-
|
|
4587
2455
|
declare namespace table {
|
|
4588
2456
|
export {
|
|
4589
2457
|
key_7 as key,
|
|
@@ -4653,8 +2521,6 @@ export declare interface UnknownSpaceData extends UnknownData {
|
|
|
4653
2521
|
spaceId: SpaceSid;
|
|
4654
2522
|
}
|
|
4655
2523
|
|
|
4656
|
-
declare type URDL = 'up' | 'down' | 'right' | 'left';
|
|
4657
|
-
|
|
4658
2524
|
declare const useEventEmitter: () => {
|
|
4659
2525
|
addListener: (listener: Listener) => number;
|
|
4660
2526
|
removeListener: (listenerId: number) => void;
|
|
@@ -4670,979 +2536,612 @@ declare interface User extends Auth0UserWithClaims {
|
|
|
4670
2536
|
name: string
|
|
4671
2537
|
email: string
|
|
4672
2538
|
personalOrganizationId: string
|
|
4673
|
-
smplradmin: boolean
|
|
4674
|
-
smplrspaceMember: boolean
|
|
4675
|
-
missiveDigest: string
|
|
4676
|
-
emailVerified: boolean
|
|
4677
|
-
}
|
|
4678
|
-
|
|
4679
|
-
declare namespace Utils {
|
|
4680
|
-
export {
|
|
4681
|
-
SpaceSid,
|
|
4682
|
-
isSpaceSid
|
|
4683
|
-
}
|
|
4684
|
-
}
|
|
4685
|
-
export { Utils }
|
|
4686
|
-
|
|
4687
|
-
export declare interface ValidGeoSpace extends GeoSpace {
|
|
4688
|
-
definition: SOSpace;
|
|
4689
|
-
georeference: Georeference;
|
|
4690
|
-
basementsCount: number;
|
|
4691
|
-
}
|
|
4692
|
-
|
|
4693
|
-
declare interface Vector2Coord {
|
|
4694
|
-
x: number;
|
|
4695
|
-
y: number;
|
|
4696
|
-
}
|
|
4697
|
-
|
|
4698
|
-
declare interface Vector3Coord extends Vector2Coord {
|
|
4699
|
-
z: number;
|
|
4700
|
-
}
|
|
4701
|
-
|
|
4702
|
-
export declare const version = "2.63.2-beta.2";
|
|
4703
|
-
|
|
4704
|
-
declare interface ViewerDataLayerRenderState<Definition = DataLayer<UnknownData>> {
|
|
4705
|
-
definition: Definition;
|
|
4706
|
-
touchCount: number;
|
|
4707
|
-
compiledTooltipTemplate?: (dataElement: UnknownData) => string;
|
|
4708
|
-
}
|
|
4709
|
-
|
|
4710
|
-
declare interface ViewerLights {
|
|
4711
|
-
directionalLight: DirectionalLight;
|
|
4712
|
-
hemisphericLight: HemisphericLight;
|
|
4713
|
-
}
|
|
4714
|
-
|
|
4715
|
-
declare interface ViewerRendererHandle {
|
|
4716
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4717
|
-
getSpaceDefinition: () => any
|
|
4718
|
-
zoomIn: () => void
|
|
4719
|
-
zoomOut: () => void
|
|
4720
|
-
centerCam: () => void
|
|
4721
|
-
includeLevels: (levelIndices: number[]) => void
|
|
4722
|
-
includeAllLevels: () => void
|
|
4723
|
-
showUpToLevel: (levelIndex: number) => void
|
|
4724
|
-
showAllLevels: () => void
|
|
4725
|
-
getMode: () => CameraMode
|
|
4726
|
-
setMode: (mode: CameraMode) => void
|
|
4727
|
-
updateRenderOptions: (options: SpaceRenderOptions) => void
|
|
4728
|
-
resetRenderOptionsToDefault: () => void
|
|
4729
|
-
resetRenderOptionsToInitial: () => void
|
|
4730
|
-
setHideLevelPicker: (value: boolean) => void
|
|
4731
|
-
setHideNavigationButtons: (value: boolean) => void
|
|
4732
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4733
|
-
getFurnitureElementInstance: (furnitureId: string | string[]) => any
|
|
4734
|
-
// per-level base heights, consumed by DataLayerController's screen projection
|
|
4735
|
-
getBaseHeightForLevel: () => number[]
|
|
4736
|
-
addEventListener: EventEmitter['addListener']
|
|
4737
|
-
removeEventListener: EventEmitter['removeListener']
|
|
4738
|
-
clearEventListeners: EventEmitter['clearUserDefinedListeners']
|
|
4739
|
-
clearAllEventListeners: EventEmitter['clearAllUserDefinedListeners']
|
|
4740
|
-
}
|
|
4741
|
-
|
|
4742
|
-
declare const ViewerStore: IModelType< {
|
|
4743
|
-
initialRenderOptionsInput: IType<LegacySpaceRenderOptions, LegacySpaceRenderOptions, LegacySpaceRenderOptions>;
|
|
4744
|
-
renderOptions: IOptionalIType<IType<InternalSpaceRenderOptions, InternalSpaceRenderOptions, InternalSpaceRenderOptions>, [undefined]>;
|
|
4745
|
-
filterHash: IMaybe<ISimpleType<string>>;
|
|
4746
|
-
spaceHash: IMaybe<ISimpleType<string>>;
|
|
4747
|
-
objectsHash: IMaybe<ISimpleType<string>>;
|
|
4748
|
-
levels: IType<SOLevel[], SOLevel[], SOLevel[]>;
|
|
4749
|
-
defaults: IType<SOSpaceDefaults, SOSpaceDefaults, SOSpaceDefaults>;
|
|
4750
|
-
includeLevels: IType<number[], number[], number[]>;
|
|
4751
|
-
visibleLevels: IOptionalIType<IType<number[], number[], number[]>, [undefined]>;
|
|
4752
|
-
initialTopShownLevel: IMaybe<ISimpleType<number>>;
|
|
4753
|
-
mode: IOptionalIType<ISimpleType<CameraMode>, [undefined]>;
|
|
4754
|
-
initialCameraPlacement: IMaybe<IType<PartialOrbitCameraPlacement, PartialOrbitCameraPlacement, PartialOrbitCameraPlacement>>;
|
|
4755
|
-
moreOptionsVisible: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
4756
|
-
levelsDropdownOpen: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
4757
|
-
goToLevel: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
4758
|
-
hideLevelPicker: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
4759
|
-
hideNavigationButtons: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
4760
|
-
showStructuralWalls: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
4761
|
-
showAnnotations: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
4762
|
-
showFacade: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
4763
|
-
persistentTooltipsVisible: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
4764
|
-
dataLayers: IMapType<ITypeUnion<ModelCreationType<ExtractCFromProps< {
|
|
4765
|
-
definition: IType<PointDataLayer<UnknownData>, PointDataLayer<UnknownData>, PointDataLayer<UnknownData>>;
|
|
4766
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
4767
|
-
fn: (dataElement: UnknownData) => string;
|
|
4768
|
-
}, {
|
|
4769
|
-
fn: (dataElement: UnknownData) => string;
|
|
4770
|
-
}, {
|
|
4771
|
-
fn: (dataElement: UnknownData) => string;
|
|
4772
|
-
}>>;
|
|
4773
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4774
|
-
} & {
|
|
4775
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Point>;
|
|
4776
|
-
}>> | ModelCreationType<ExtractCFromProps< {
|
|
4777
|
-
definition: IType<IconDataLayer<UnknownData>, IconDataLayer<UnknownData>, IconDataLayer<UnknownData>>;
|
|
4778
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
4779
|
-
fn: (dataElement: UnknownData) => string;
|
|
4780
|
-
}, {
|
|
4781
|
-
fn: (dataElement: UnknownData) => string;
|
|
4782
|
-
}, {
|
|
4783
|
-
fn: (dataElement: UnknownData) => string;
|
|
4784
|
-
}>>;
|
|
4785
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4786
|
-
} & {
|
|
4787
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Icon>;
|
|
4788
|
-
}>> | ModelCreationType<ExtractCFromProps< {
|
|
4789
|
-
definition: IType<PosterDataLayer<UnknownData>, PosterDataLayer<UnknownData>, PosterDataLayer<UnknownData>>;
|
|
4790
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
4791
|
-
fn: (dataElement: UnknownData) => string;
|
|
4792
|
-
}, {
|
|
4793
|
-
fn: (dataElement: UnknownData) => string;
|
|
4794
|
-
}, {
|
|
4795
|
-
fn: (dataElement: UnknownData) => string;
|
|
4796
|
-
}>>;
|
|
4797
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4798
|
-
} & {
|
|
4799
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Poster>;
|
|
4800
|
-
}>> | ModelCreationType<ExtractCFromProps< {
|
|
4801
|
-
definition: IType<PolylineDataLayer<UnknownData>, PolylineDataLayer<UnknownData>, PolylineDataLayer<UnknownData>>;
|
|
4802
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
4803
|
-
fn: (dataElement: UnknownData) => string;
|
|
4804
|
-
}, {
|
|
4805
|
-
fn: (dataElement: UnknownData) => string;
|
|
4806
|
-
}, {
|
|
4807
|
-
fn: (dataElement: UnknownData) => string;
|
|
4808
|
-
}>>;
|
|
4809
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4810
|
-
} & {
|
|
4811
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Polyline>;
|
|
4812
|
-
}>> | ModelCreationType<ExtractCFromProps< {
|
|
4813
|
-
definition: IType<DottedPolylineDataLayer<UnknownData>, DottedPolylineDataLayer<UnknownData>, DottedPolylineDataLayer<UnknownData>>;
|
|
4814
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
4815
|
-
fn: (dataElement: UnknownData) => string;
|
|
4816
|
-
}, {
|
|
4817
|
-
fn: (dataElement: UnknownData) => string;
|
|
4818
|
-
}, {
|
|
4819
|
-
fn: (dataElement: UnknownData) => string;
|
|
4820
|
-
}>>;
|
|
4821
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4822
|
-
} & {
|
|
4823
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.DottedPolyline>;
|
|
4824
|
-
}>> | ModelCreationType<ExtractCFromProps< {
|
|
4825
|
-
definition: IType<PolygonDataLayer<UnknownData>, PolygonDataLayer<UnknownData>, PolygonDataLayer<UnknownData>>;
|
|
4826
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
4827
|
-
fn: (dataElement: UnknownData) => string;
|
|
4828
|
-
}, {
|
|
4829
|
-
fn: (dataElement: UnknownData) => string;
|
|
4830
|
-
}, {
|
|
4831
|
-
fn: (dataElement: UnknownData) => string;
|
|
4832
|
-
}>>;
|
|
4833
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4834
|
-
} & {
|
|
4835
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Polygon>;
|
|
4836
|
-
}>> | ModelCreationType<ExtractCFromProps< {
|
|
4837
|
-
definition: IType<FurnitureDataLayer<UnknownData>, FurnitureDataLayer<UnknownData>, FurnitureDataLayer<UnknownData>>;
|
|
4838
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
4839
|
-
fn: (dataElement: UnknownData) => string;
|
|
4840
|
-
}, {
|
|
4841
|
-
fn: (dataElement: UnknownData) => string;
|
|
4842
|
-
}, {
|
|
4843
|
-
fn: (dataElement: UnknownData) => string;
|
|
4844
|
-
}>>;
|
|
4845
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4846
|
-
} & {
|
|
4847
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Furniture>;
|
|
4848
|
-
}>> | ModelCreationType<ExtractCFromProps< {
|
|
4849
|
-
definition: IType<HeatmapDataLayer<UnknownData>, HeatmapDataLayer<UnknownData>, HeatmapDataLayer<UnknownData>>;
|
|
4850
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
4851
|
-
fn: (dataElement: UnknownData) => string;
|
|
4852
|
-
}, {
|
|
4853
|
-
fn: (dataElement: UnknownData) => string;
|
|
4854
|
-
}, {
|
|
4855
|
-
fn: (dataElement: UnknownData) => string;
|
|
4856
|
-
}>>;
|
|
4857
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4858
|
-
} & {
|
|
4859
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Heatmap>;
|
|
4860
|
-
}>>, ModelSnapshotType< {
|
|
4861
|
-
definition: IType<PointDataLayer<UnknownData>, PointDataLayer<UnknownData>, PointDataLayer<UnknownData>>;
|
|
4862
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
4863
|
-
fn: (dataElement: UnknownData) => string;
|
|
4864
|
-
}, {
|
|
4865
|
-
fn: (dataElement: UnknownData) => string;
|
|
4866
|
-
}, {
|
|
4867
|
-
fn: (dataElement: UnknownData) => string;
|
|
4868
|
-
}>>;
|
|
4869
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4870
|
-
} & {
|
|
4871
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Point>;
|
|
4872
|
-
}> | ModelSnapshotType< {
|
|
4873
|
-
definition: IType<IconDataLayer<UnknownData>, IconDataLayer<UnknownData>, IconDataLayer<UnknownData>>;
|
|
4874
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
4875
|
-
fn: (dataElement: UnknownData) => string;
|
|
4876
|
-
}, {
|
|
4877
|
-
fn: (dataElement: UnknownData) => string;
|
|
4878
|
-
}, {
|
|
4879
|
-
fn: (dataElement: UnknownData) => string;
|
|
4880
|
-
}>>;
|
|
4881
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4882
|
-
} & {
|
|
4883
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Icon>;
|
|
4884
|
-
}> | ModelSnapshotType< {
|
|
4885
|
-
definition: IType<PosterDataLayer<UnknownData>, PosterDataLayer<UnknownData>, PosterDataLayer<UnknownData>>;
|
|
4886
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
4887
|
-
fn: (dataElement: UnknownData) => string;
|
|
4888
|
-
}, {
|
|
4889
|
-
fn: (dataElement: UnknownData) => string;
|
|
4890
|
-
}, {
|
|
4891
|
-
fn: (dataElement: UnknownData) => string;
|
|
4892
|
-
}>>;
|
|
4893
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4894
|
-
} & {
|
|
4895
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Poster>;
|
|
4896
|
-
}> | ModelSnapshotType< {
|
|
4897
|
-
definition: IType<PolylineDataLayer<UnknownData>, PolylineDataLayer<UnknownData>, PolylineDataLayer<UnknownData>>;
|
|
4898
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
4899
|
-
fn: (dataElement: UnknownData) => string;
|
|
4900
|
-
}, {
|
|
4901
|
-
fn: (dataElement: UnknownData) => string;
|
|
4902
|
-
}, {
|
|
4903
|
-
fn: (dataElement: UnknownData) => string;
|
|
4904
|
-
}>>;
|
|
4905
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4906
|
-
} & {
|
|
4907
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Polyline>;
|
|
4908
|
-
}> | ModelSnapshotType< {
|
|
4909
|
-
definition: IType<DottedPolylineDataLayer<UnknownData>, DottedPolylineDataLayer<UnknownData>, DottedPolylineDataLayer<UnknownData>>;
|
|
4910
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
4911
|
-
fn: (dataElement: UnknownData) => string;
|
|
4912
|
-
}, {
|
|
4913
|
-
fn: (dataElement: UnknownData) => string;
|
|
4914
|
-
}, {
|
|
4915
|
-
fn: (dataElement: UnknownData) => string;
|
|
4916
|
-
}>>;
|
|
4917
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4918
|
-
} & {
|
|
4919
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.DottedPolyline>;
|
|
4920
|
-
}> | ModelSnapshotType< {
|
|
4921
|
-
definition: IType<PolygonDataLayer<UnknownData>, PolygonDataLayer<UnknownData>, PolygonDataLayer<UnknownData>>;
|
|
4922
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
4923
|
-
fn: (dataElement: UnknownData) => string;
|
|
4924
|
-
}, {
|
|
4925
|
-
fn: (dataElement: UnknownData) => string;
|
|
4926
|
-
}, {
|
|
4927
|
-
fn: (dataElement: UnknownData) => string;
|
|
4928
|
-
}>>;
|
|
4929
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4930
|
-
} & {
|
|
4931
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Polygon>;
|
|
4932
|
-
}> | ModelSnapshotType< {
|
|
4933
|
-
definition: IType<FurnitureDataLayer<UnknownData>, FurnitureDataLayer<UnknownData>, FurnitureDataLayer<UnknownData>>;
|
|
4934
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
4935
|
-
fn: (dataElement: UnknownData) => string;
|
|
4936
|
-
}, {
|
|
4937
|
-
fn: (dataElement: UnknownData) => string;
|
|
4938
|
-
}, {
|
|
4939
|
-
fn: (dataElement: UnknownData) => string;
|
|
4940
|
-
}>>;
|
|
4941
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4942
|
-
} & {
|
|
4943
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Furniture>;
|
|
4944
|
-
}> | ModelSnapshotType< {
|
|
4945
|
-
definition: IType<HeatmapDataLayer<UnknownData>, HeatmapDataLayer<UnknownData>, HeatmapDataLayer<UnknownData>>;
|
|
4946
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
4947
|
-
fn: (dataElement: UnknownData) => string;
|
|
4948
|
-
}, {
|
|
4949
|
-
fn: (dataElement: UnknownData) => string;
|
|
4950
|
-
}, {
|
|
4951
|
-
fn: (dataElement: UnknownData) => string;
|
|
4952
|
-
}>>;
|
|
4953
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4954
|
-
} & {
|
|
4955
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Heatmap>;
|
|
4956
|
-
}>, ModelInstanceType< {
|
|
4957
|
-
definition: IType<PointDataLayer<UnknownData>, PointDataLayer<UnknownData>, PointDataLayer<UnknownData>>;
|
|
4958
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
4959
|
-
fn: (dataElement: UnknownData) => string;
|
|
4960
|
-
}, {
|
|
4961
|
-
fn: (dataElement: UnknownData) => string;
|
|
4962
|
-
}, {
|
|
4963
|
-
fn: (dataElement: UnknownData) => string;
|
|
4964
|
-
}>>;
|
|
4965
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4966
|
-
} & {
|
|
4967
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Point>;
|
|
4968
|
-
}, {
|
|
4969
|
-
readonly renderableDefinition: RenderableDataLayer<PointDataLayer<UnknownData>>;
|
|
4970
|
-
readonly renderState: ViewerDataLayerRenderState<PointDataLayer<UnknownData>>;
|
|
4971
|
-
readonly persistentTooltipSources: PersistentTooltipSource[];
|
|
4972
|
-
} & {
|
|
4973
|
-
setCompiledTooltipTemplate(compiledTemplate: (dataElement: UnknownData) => string): void;
|
|
4974
|
-
touch(): void;
|
|
4975
|
-
updateDefinition(updates: Partial<Omit<PointDataLayer<UnknownData>, "type">>): void;
|
|
4976
|
-
}> | ModelInstanceType< {
|
|
4977
|
-
definition: IType<IconDataLayer<UnknownData>, IconDataLayer<UnknownData>, IconDataLayer<UnknownData>>;
|
|
4978
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
4979
|
-
fn: (dataElement: UnknownData) => string;
|
|
4980
|
-
}, {
|
|
4981
|
-
fn: (dataElement: UnknownData) => string;
|
|
4982
|
-
}, {
|
|
4983
|
-
fn: (dataElement: UnknownData) => string;
|
|
4984
|
-
}>>;
|
|
4985
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
4986
|
-
} & {
|
|
4987
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Icon>;
|
|
4988
|
-
}, {
|
|
4989
|
-
readonly renderableDefinition: RenderableDataLayer<IconDataLayer<UnknownData>>;
|
|
4990
|
-
readonly renderState: ViewerDataLayerRenderState<IconDataLayer<UnknownData>>;
|
|
4991
|
-
readonly persistentTooltipSources: PersistentTooltipSource[];
|
|
4992
|
-
} & {
|
|
4993
|
-
setCompiledTooltipTemplate(compiledTemplate: (dataElement: UnknownData) => string): void;
|
|
4994
|
-
touch(): void;
|
|
4995
|
-
updateDefinition(updates: Partial<Omit<IconDataLayer<UnknownData>, "type">>): void;
|
|
4996
|
-
}> | ModelInstanceType< {
|
|
4997
|
-
definition: IType<PosterDataLayer<UnknownData>, PosterDataLayer<UnknownData>, PosterDataLayer<UnknownData>>;
|
|
4998
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
4999
|
-
fn: (dataElement: UnknownData) => string;
|
|
5000
|
-
}, {
|
|
5001
|
-
fn: (dataElement: UnknownData) => string;
|
|
5002
|
-
}, {
|
|
5003
|
-
fn: (dataElement: UnknownData) => string;
|
|
5004
|
-
}>>;
|
|
5005
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5006
|
-
} & {
|
|
5007
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Poster>;
|
|
5008
|
-
}, {
|
|
5009
|
-
readonly renderableDefinition: RenderableDataLayer<PosterDataLayer<UnknownData>>;
|
|
5010
|
-
readonly renderState: ViewerDataLayerRenderState<PosterDataLayer<UnknownData>>;
|
|
5011
|
-
readonly persistentTooltipSources: PersistentTooltipSource[];
|
|
5012
|
-
} & {
|
|
5013
|
-
setCompiledTooltipTemplate(compiledTemplate: (dataElement: UnknownData) => string): void;
|
|
5014
|
-
touch(): void;
|
|
5015
|
-
updateDefinition(updates: Partial<Omit<PosterDataLayer<UnknownData>, "type">>): void;
|
|
5016
|
-
}> | ModelInstanceType< {
|
|
5017
|
-
definition: IType<PolylineDataLayer<UnknownData>, PolylineDataLayer<UnknownData>, PolylineDataLayer<UnknownData>>;
|
|
5018
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
5019
|
-
fn: (dataElement: UnknownData) => string;
|
|
5020
|
-
}, {
|
|
5021
|
-
fn: (dataElement: UnknownData) => string;
|
|
5022
|
-
}, {
|
|
5023
|
-
fn: (dataElement: UnknownData) => string;
|
|
5024
|
-
}>>;
|
|
5025
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5026
|
-
} & {
|
|
5027
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Polyline>;
|
|
5028
|
-
}, {
|
|
5029
|
-
readonly renderableDefinition: RenderableDataLayer<PolylineDataLayer<UnknownData>>;
|
|
5030
|
-
readonly renderState: ViewerDataLayerRenderState<PolylineDataLayer<UnknownData>>;
|
|
5031
|
-
readonly persistentTooltipSources: PersistentTooltipSource[];
|
|
5032
|
-
} & {
|
|
5033
|
-
setCompiledTooltipTemplate(compiledTemplate: (dataElement: UnknownData) => string): void;
|
|
5034
|
-
touch(): void;
|
|
5035
|
-
updateDefinition(updates: Partial<Omit<PolylineDataLayer<UnknownData>, "type">>): void;
|
|
5036
|
-
}> | ModelInstanceType< {
|
|
5037
|
-
definition: IType<DottedPolylineDataLayer<UnknownData>, DottedPolylineDataLayer<UnknownData>, DottedPolylineDataLayer<UnknownData>>;
|
|
5038
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
5039
|
-
fn: (dataElement: UnknownData) => string;
|
|
5040
|
-
}, {
|
|
5041
|
-
fn: (dataElement: UnknownData) => string;
|
|
5042
|
-
}, {
|
|
5043
|
-
fn: (dataElement: UnknownData) => string;
|
|
5044
|
-
}>>;
|
|
5045
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5046
|
-
} & {
|
|
5047
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.DottedPolyline>;
|
|
5048
|
-
}, {
|
|
5049
|
-
readonly renderableDefinition: RenderableDataLayer<DottedPolylineDataLayer<UnknownData>>;
|
|
5050
|
-
readonly renderState: ViewerDataLayerRenderState<DottedPolylineDataLayer<UnknownData>>;
|
|
5051
|
-
readonly persistentTooltipSources: PersistentTooltipSource[];
|
|
5052
|
-
} & {
|
|
5053
|
-
setCompiledTooltipTemplate(compiledTemplate: (dataElement: UnknownData) => string): void;
|
|
5054
|
-
touch(): void;
|
|
5055
|
-
updateDefinition(updates: Partial<Omit<DottedPolylineDataLayer<UnknownData>, "type">>): void;
|
|
5056
|
-
}> | ModelInstanceType< {
|
|
5057
|
-
definition: IType<PolygonDataLayer<UnknownData>, PolygonDataLayer<UnknownData>, PolygonDataLayer<UnknownData>>;
|
|
5058
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
5059
|
-
fn: (dataElement: UnknownData) => string;
|
|
5060
|
-
}, {
|
|
5061
|
-
fn: (dataElement: UnknownData) => string;
|
|
5062
|
-
}, {
|
|
5063
|
-
fn: (dataElement: UnknownData) => string;
|
|
5064
|
-
}>>;
|
|
5065
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5066
|
-
} & {
|
|
5067
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Polygon>;
|
|
5068
|
-
}, {
|
|
5069
|
-
readonly renderableDefinition: RenderableDataLayer<PolygonDataLayer<UnknownData>>;
|
|
5070
|
-
readonly renderState: ViewerDataLayerRenderState<PolygonDataLayer<UnknownData>>;
|
|
5071
|
-
readonly persistentTooltipSources: PersistentTooltipSource[];
|
|
5072
|
-
} & {
|
|
5073
|
-
setCompiledTooltipTemplate(compiledTemplate: (dataElement: UnknownData) => string): void;
|
|
5074
|
-
touch(): void;
|
|
5075
|
-
updateDefinition(updates: Partial<Omit<PolygonDataLayer<UnknownData>, "type">>): void;
|
|
5076
|
-
}> | ModelInstanceType< {
|
|
5077
|
-
definition: IType<FurnitureDataLayer<UnknownData>, FurnitureDataLayer<UnknownData>, FurnitureDataLayer<UnknownData>>;
|
|
5078
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
5079
|
-
fn: (dataElement: UnknownData) => string;
|
|
5080
|
-
}, {
|
|
5081
|
-
fn: (dataElement: UnknownData) => string;
|
|
5082
|
-
}, {
|
|
5083
|
-
fn: (dataElement: UnknownData) => string;
|
|
5084
|
-
}>>;
|
|
5085
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5086
|
-
} & {
|
|
5087
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Furniture>;
|
|
5088
|
-
}, {
|
|
5089
|
-
readonly renderableDefinition: RenderableDataLayer<FurnitureDataLayer<UnknownData>>;
|
|
5090
|
-
readonly renderState: ViewerDataLayerRenderState<FurnitureDataLayer<UnknownData>>;
|
|
5091
|
-
readonly persistentTooltipSources: PersistentTooltipSource[];
|
|
5092
|
-
} & {
|
|
5093
|
-
setCompiledTooltipTemplate(compiledTemplate: (dataElement: UnknownData) => string): void;
|
|
5094
|
-
touch(): void;
|
|
5095
|
-
updateDefinition(updates: Partial<Omit<FurnitureDataLayer<UnknownData>, "type">>): void;
|
|
5096
|
-
}> | ModelInstanceType< {
|
|
5097
|
-
definition: IType<HeatmapDataLayer<UnknownData>, HeatmapDataLayer<UnknownData>, HeatmapDataLayer<UnknownData>>;
|
|
5098
|
-
compiledTooltipTemplate: IMaybe<IType< {
|
|
5099
|
-
fn: (dataElement: UnknownData) => string;
|
|
5100
|
-
}, {
|
|
5101
|
-
fn: (dataElement: UnknownData) => string;
|
|
5102
|
-
}, {
|
|
5103
|
-
fn: (dataElement: UnknownData) => string;
|
|
5104
|
-
}>>;
|
|
5105
|
-
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5106
|
-
} & {
|
|
5107
|
-
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Heatmap>;
|
|
5108
|
-
}, {
|
|
5109
|
-
readonly renderableDefinition: RenderableDataLayer<HeatmapDataLayer<UnknownData>>;
|
|
5110
|
-
readonly renderState: ViewerDataLayerRenderState<HeatmapDataLayer<UnknownData>>;
|
|
5111
|
-
readonly persistentTooltipSources: PersistentTooltipSource[];
|
|
5112
|
-
} & {
|
|
5113
|
-
setCompiledTooltipTemplate(compiledTemplate: (dataElement: UnknownData) => string): void;
|
|
5114
|
-
touch(): void;
|
|
5115
|
-
updateDefinition(updates: Partial<Omit<HeatmapDataLayer<UnknownData>, "type">>): void;
|
|
5116
|
-
}>>>;
|
|
5117
|
-
}, {
|
|
5118
|
-
engine: AbstractEngine | null;
|
|
5119
|
-
canvas: HTMLCanvasElement | null;
|
|
5120
|
-
scene: SmplrScene | null;
|
|
5121
|
-
hoveredDataElement: HoveredDataElement | null;
|
|
5122
|
-
pickHandler: {
|
|
5123
|
-
onPick: OnPickFn;
|
|
5124
|
-
} | null;
|
|
5125
|
-
tooltip: ViewerTooltipData | null;
|
|
5126
|
-
persistentTooltipsViewportTick: number;
|
|
5127
|
-
lights: ViewerLights | null;
|
|
5128
|
-
shadowGenerator: SmplrShadowGenerator | null;
|
|
5129
|
-
useCascadedShadowMap: boolean;
|
|
5130
|
-
smplrWhite: PBRMetallicRoughnessMaterial | null;
|
|
5131
|
-
wallMaterial: PBRMetallicRoughnessMaterial | null;
|
|
5132
|
-
facadeWallMaterial: PBRMetallicRoughnessMaterial | null;
|
|
5133
|
-
structuralWallMaterial: PBRMetallicRoughnessMaterial | null;
|
|
5134
|
-
glassMaterial: PBRMetallicRoughnessMaterial | null;
|
|
5135
|
-
shellMaterial: PBRMetallicRoughnessMaterial | null;
|
|
5136
|
-
shellGroundMaterial: PBRMetallicRoughnessMaterial | null;
|
|
5137
|
-
metalMaterial: PBRMetallicRoughnessMaterial | null;
|
|
5138
|
-
groundMaterials: GroundMaterials | null;
|
|
5139
|
-
meshes: SmplrMesh[];
|
|
5140
|
-
assetsManager: AssetsManager | null;
|
|
5141
|
-
facadeAssetsManager: AssetsManager | null;
|
|
5142
|
-
actionManager: ActionManager | null;
|
|
5143
|
-
spaceRendered: boolean;
|
|
5144
|
-
floorplanRendered: boolean;
|
|
5145
|
-
objectPlaceholdersRendered: boolean;
|
|
5146
|
-
objectsRendered: boolean;
|
|
5147
|
-
sceneReadySent: boolean;
|
|
5148
|
-
handledEngineError: boolean;
|
|
5149
|
-
logoLoaderHidden: boolean;
|
|
5150
|
-
renderLoaderFlag: boolean;
|
|
5151
|
-
renderDoneTick: number;
|
|
5152
|
-
sceneEnvironmentTick: number;
|
|
5153
|
-
objectMeshesTick: number;
|
|
5154
|
-
facadeTick: number;
|
|
5155
|
-
} & {
|
|
5156
|
-
readonly levelCount: number;
|
|
5157
|
-
readonly includedLevels: SOLevel[];
|
|
5158
|
-
readonly baseHeightForLevel: number[];
|
|
5159
|
-
} & {
|
|
5160
|
-
readonly spaceBoundingBox: CanvasBoundingBox;
|
|
5161
|
-
readonly spaceVerticalExtent: number;
|
|
5162
|
-
} & {
|
|
5163
|
-
readonly spaceBoundingBoxExtent: number;
|
|
5164
|
-
readonly spaceCenterAtFloor: Vector2;
|
|
5165
|
-
} & {
|
|
5166
|
-
readonly isInitialVisibleLevels: boolean;
|
|
5167
|
-
readonly topVisibleLevelIndex: number;
|
|
5168
|
-
orbitCameraParameters(camera: OrbitCameraSample | undefined): OrbitCameraParameters;
|
|
5169
|
-
} & {
|
|
5170
|
-
readonly visibleLevelsHash: string;
|
|
5171
|
-
readonly safeTopVisibleLevelIndex: number;
|
|
5172
|
-
readonly sceneReady: boolean;
|
|
5173
|
-
readonly logoLoaderCanHide: boolean;
|
|
5174
|
-
readonly sceneEnvironmentReady: boolean;
|
|
5175
|
-
readonly spaceRenderSignature: string;
|
|
5176
|
-
readonly renderFilter: Filter;
|
|
5177
|
-
} & {
|
|
5178
|
-
readonly showRenderLoader: boolean;
|
|
5179
|
-
} & {
|
|
5180
|
-
readonly groundCenter: Vector3_2;
|
|
5181
|
-
} & {
|
|
5182
|
-
readonly dataLayersRenderState: Record<string, ViewerDataLayerRenderState<DataLayer<UnknownData>>>;
|
|
5183
|
-
readonly furnitureLayerDefinitions: RenderableDataLayer<FurnitureDataLayer<UnknownData>>[];
|
|
5184
|
-
readonly singleLevelLayerIds: string[];
|
|
5185
|
-
readonly legendItems: DataLayer<UnknownData>[];
|
|
5186
|
-
readonly persistentTooltipSources: PersistentTooltipSource[];
|
|
5187
|
-
readonly spaceHasNoAnnotations: boolean;
|
|
5188
|
-
} & {
|
|
5189
|
-
getPersistentTooltips(scene: SmplrScene, viewer: ViewerRendererHandle | null): PositionedPersistentTooltip[];
|
|
5190
|
-
} & {
|
|
5191
|
-
setSpace({ levels, defaults }: {
|
|
5192
|
-
levels: SOLevel[];
|
|
5193
|
-
defaults: SOSpaceDefaults;
|
|
5194
|
-
}): void;
|
|
5195
|
-
setVisibleLevels(levelIndices: number[], noDefaultGroundFloorIn2d?: boolean): void;
|
|
5196
|
-
mergeRenderOptions(options: LegacySpaceRenderOptions): void;
|
|
5197
|
-
resetRenderOptionsToDefault(): void;
|
|
5198
|
-
resetRenderOptionsToInitial(): void;
|
|
5199
|
-
setFilterHash(filterHash: string | undefined): void;
|
|
5200
|
-
setSpaceHash(spaceHash: string | undefined): void;
|
|
5201
|
-
setObjectsHash(objectsHash: string | undefined): void;
|
|
5202
|
-
} & {
|
|
5203
|
-
syncIncludedLevelsToVisibleLevels(): void;
|
|
5204
|
-
syncModeToVisibleLevels(): void;
|
|
5205
|
-
showUpToLevel(topLevelIndex: number): void;
|
|
5206
|
-
showAllLevels(): void;
|
|
5207
|
-
} & {
|
|
5208
|
-
setIncludeLevels(levelIndices?: number[]): void;
|
|
5209
|
-
setMode(mode: CameraMode): void;
|
|
5210
|
-
setMoreOptionsVisible(visible: boolean): void;
|
|
5211
|
-
setLevelsDropdownOpen(open: boolean): void;
|
|
5212
|
-
appendGoToLevelDigit(digit: string): void;
|
|
5213
|
-
resetGoToLevel(): void;
|
|
5214
|
-
setHideLevelPicker(hide: boolean): void;
|
|
5215
|
-
setHideNavigationButtons(hide: boolean): void;
|
|
5216
|
-
toggleShowStructuralWalls(): void;
|
|
5217
|
-
toggleShowAnnotations(): void;
|
|
5218
|
-
toggleShowFacade(): void;
|
|
5219
|
-
} & {
|
|
5220
|
-
addDataLayer(layer: SIViewerDataLayer): void;
|
|
5221
|
-
updateDataLayerDefinition(layerId: string, updates: Partial<Omit<DataLayer<UnknownData>, 'type'>>): void;
|
|
5222
|
-
removeDataLayer(layerId: string): void;
|
|
5223
|
-
touchFurnitureLayers(): void;
|
|
5224
|
-
setSceneObjects({ engine, canvas, scene, }: {
|
|
5225
|
-
engine: AbstractEngine;
|
|
5226
|
-
canvas: HTMLCanvasElement;
|
|
5227
|
-
scene: SmplrScene;
|
|
5228
|
-
}): void;
|
|
5229
|
-
clearSceneObjects(): void;
|
|
5230
|
-
setSceneEnvironment({ lights, shadowGenerator, smplrWhite, wallMaterial, facadeWallMaterial, structuralWallMaterial, glassMaterial, shellMaterial, shellGroundMaterial, metalMaterial, groundMaterials, }: {
|
|
5231
|
-
lights: ViewerLights;
|
|
5232
|
-
shadowGenerator: SmplrShadowGenerator | null;
|
|
5233
|
-
smplrWhite: PBRMetallicRoughnessMaterial;
|
|
5234
|
-
wallMaterial: PBRMetallicRoughnessMaterial;
|
|
5235
|
-
facadeWallMaterial: PBRMetallicRoughnessMaterial;
|
|
5236
|
-
structuralWallMaterial: PBRMetallicRoughnessMaterial;
|
|
5237
|
-
glassMaterial: PBRMetallicRoughnessMaterial;
|
|
5238
|
-
shellMaterial: PBRMetallicRoughnessMaterial;
|
|
5239
|
-
shellGroundMaterial: PBRMetallicRoughnessMaterial;
|
|
5240
|
-
metalMaterial: PBRMetallicRoughnessMaterial;
|
|
5241
|
-
groundMaterials: GroundMaterials;
|
|
5242
|
-
}): void;
|
|
5243
|
-
enableCascadedShadowMapFallback(): void;
|
|
5244
|
-
setMeshes(meshes: SmplrMesh[]): void;
|
|
5245
|
-
bumpObjectMeshesTick(): void;
|
|
5246
|
-
bumpFacadeTick(): void;
|
|
5247
|
-
setAssetsManager(assetsManager: AssetsManager | null): void;
|
|
5248
|
-
setFacadeAssetsManager(facadeAssetsManager: AssetsManager | null): void;
|
|
5249
|
-
setActionManager(actionManager: ActionManager): void;
|
|
5250
|
-
markRenderDone(phase: RenderPhase): void;
|
|
5251
|
-
setRenderLoaderFlag(v: boolean): void;
|
|
5252
|
-
resetRenderPhase(phase: RenderPhase): void;
|
|
5253
|
-
markEngineErrorHandled(): void;
|
|
5254
|
-
markLogoLoaderHidden(): void;
|
|
5255
|
-
markSceneReadySent(): void;
|
|
5256
|
-
clearSceneVolatiles(): void;
|
|
5257
|
-
setHoveredDataElement(hoveredDataElement: HoveredDataElement): void;
|
|
5258
|
-
clearHoveredDataElement(): void;
|
|
5259
|
-
setPickHandler(pickHandler: {
|
|
5260
|
-
onPick: OnPickFn;
|
|
5261
|
-
} | null): void;
|
|
5262
|
-
setTooltip(tooltip: ViewerTooltipData): void;
|
|
5263
|
-
clearTooltip(): void;
|
|
5264
|
-
showPersistentTooltips(): void;
|
|
5265
|
-
hidePersistentTooltips(): void;
|
|
5266
|
-
refreshPersistentTooltipPositions(): void;
|
|
5267
|
-
} & {
|
|
5268
|
-
afterCreate(): void;
|
|
5269
|
-
}, _NotCustomized, _NotCustomized>;
|
|
2539
|
+
smplradmin: boolean
|
|
2540
|
+
smplrspaceMember: boolean
|
|
2541
|
+
missiveDigest: string
|
|
2542
|
+
emailVerified: boolean
|
|
2543
|
+
}
|
|
5270
2544
|
|
|
5271
|
-
declare
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
2545
|
+
declare namespace Utils {
|
|
2546
|
+
export {
|
|
2547
|
+
SpaceSid,
|
|
2548
|
+
isSpaceSid
|
|
2549
|
+
}
|
|
2550
|
+
}
|
|
2551
|
+
export { Utils }
|
|
2552
|
+
|
|
2553
|
+
export declare interface ValidGeoSpace extends GeoSpace {
|
|
2554
|
+
definition: SOSpace;
|
|
2555
|
+
georeference: Georeference;
|
|
2556
|
+
basementsCount: number;
|
|
5276
2557
|
}
|
|
5277
2558
|
|
|
5278
|
-
declare
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
2559
|
+
declare interface Vector2Coord {
|
|
2560
|
+
x: number;
|
|
2561
|
+
y: number;
|
|
2562
|
+
}
|
|
2563
|
+
|
|
2564
|
+
declare interface Vector3Coord extends Vector2Coord {
|
|
2565
|
+
z: number;
|
|
2566
|
+
}
|
|
2567
|
+
|
|
2568
|
+
export declare const version = "2.63.2-beta.4";
|
|
2569
|
+
|
|
2570
|
+
declare interface ViewerDataLayerRenderState<Definition = DataLayer<UnknownData>> {
|
|
2571
|
+
definition: Definition;
|
|
2572
|
+
touchCount: number;
|
|
2573
|
+
compiledTooltipTemplate?: (dataElement: UnknownData) => string;
|
|
2574
|
+
}
|
|
2575
|
+
|
|
2576
|
+
declare interface ViewerLights {
|
|
2577
|
+
directionalLight: DirectionalLight;
|
|
2578
|
+
hemisphericLight: HemisphericLight;
|
|
2579
|
+
}
|
|
2580
|
+
|
|
2581
|
+
declare interface ViewerRendererHandle {
|
|
2582
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2583
|
+
getSpaceDefinition: () => any
|
|
2584
|
+
zoomIn: () => void
|
|
2585
|
+
zoomOut: () => void
|
|
2586
|
+
centerCam: () => void
|
|
2587
|
+
includeLevels: (levelIndices: number[]) => void
|
|
2588
|
+
includeAllLevels: () => void
|
|
2589
|
+
showUpToLevel: (levelIndex: number) => void
|
|
2590
|
+
showAllLevels: () => void
|
|
2591
|
+
getMode: () => CameraMode
|
|
2592
|
+
setMode: (mode: CameraMode) => void
|
|
2593
|
+
updateRenderOptions: (options: SpaceRenderOptions) => void
|
|
2594
|
+
resetRenderOptionsToDefault: () => void
|
|
2595
|
+
resetRenderOptionsToInitial: () => void
|
|
2596
|
+
setHideLevelPicker: (value: boolean) => void
|
|
2597
|
+
setHideNavigationButtons: (value: boolean) => void
|
|
2598
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2599
|
+
getFurnitureElementInstance: (furnitureId: string | string[]) => any
|
|
2600
|
+
// per-level base heights, consumed by DataLayerController's screen projection
|
|
2601
|
+
getBaseHeightForLevel: () => number[]
|
|
2602
|
+
addEventListener: EventEmitter['addListener']
|
|
2603
|
+
removeEventListener: EventEmitter['removeListener']
|
|
2604
|
+
clearEventListeners: EventEmitter['clearUserDefinedListeners']
|
|
2605
|
+
clearAllEventListeners: EventEmitter['clearAllUserDefinedListeners']
|
|
2606
|
+
}
|
|
2607
|
+
|
|
2608
|
+
declare const ViewerStore: IModelType< {
|
|
2609
|
+
initialRenderOptionsInput: IType<LegacySpaceRenderOptions, LegacySpaceRenderOptions, LegacySpaceRenderOptions>;
|
|
2610
|
+
renderOptions: IOptionalIType<IType<InternalSpaceRenderOptions, InternalSpaceRenderOptions, InternalSpaceRenderOptions>, [undefined]>;
|
|
2611
|
+
filterHash: IMaybe<ISimpleType<string>>;
|
|
2612
|
+
spaceHash: IMaybe<ISimpleType<string>>;
|
|
2613
|
+
objectsHash: IMaybe<ISimpleType<string>>;
|
|
2614
|
+
levels: IType<SOLevel[], SOLevel[], SOLevel[]>;
|
|
2615
|
+
defaults: IType<SOSpaceDefaults, SOSpaceDefaults, SOSpaceDefaults>;
|
|
2616
|
+
includeLevels: IType<number[], number[], number[]>;
|
|
2617
|
+
visibleLevels: IOptionalIType<IType<number[], number[], number[]>, [undefined]>;
|
|
2618
|
+
initialTopShownLevel: IMaybe<ISimpleType<number>>;
|
|
2619
|
+
mode: IOptionalIType<ISimpleType<CameraMode>, [undefined]>;
|
|
2620
|
+
initialCameraPlacement: IMaybe<IType<PartialOrbitCameraPlacement, PartialOrbitCameraPlacement, PartialOrbitCameraPlacement>>;
|
|
2621
|
+
moreOptionsVisible: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
2622
|
+
levelsDropdownOpen: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
2623
|
+
goToLevel: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
2624
|
+
hideLevelPicker: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
2625
|
+
hideNavigationButtons: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
2626
|
+
showStructuralWalls: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
2627
|
+
showAnnotations: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
2628
|
+
showFacade: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
2629
|
+
persistentTooltipsVisible: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
2630
|
+
dataLayers: IMapType<ITypeUnion<ModelCreationType<ExtractCFromProps< {
|
|
2631
|
+
definition: IType<PointDataLayer<UnknownData>, PointDataLayer<UnknownData>, PointDataLayer<UnknownData>>;
|
|
2632
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2633
|
+
fn: (dataElement: UnknownData) => string;
|
|
5289
2634
|
}, {
|
|
5290
|
-
|
|
5291
|
-
}
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
setThickness(thickness: number | undefined): void;
|
|
5296
|
-
setAutoFacade(autoFacade: boolean): void;
|
|
5297
|
-
setPartOfFacade(partOfFacade: boolean): void;
|
|
5298
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
5299
|
-
segments: IArrayType<IModelType< {
|
|
5300
|
-
start: IModelType< {
|
|
5301
|
-
r: ISimpleType<number>;
|
|
5302
|
-
t: ISimpleType<number>;
|
|
2635
|
+
fn: (dataElement: UnknownData) => string;
|
|
2636
|
+
}, {
|
|
2637
|
+
fn: (dataElement: UnknownData) => string;
|
|
2638
|
+
}>>;
|
|
2639
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5303
2640
|
} & {
|
|
5304
|
-
|
|
2641
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Point>;
|
|
2642
|
+
}>> | ModelCreationType<ExtractCFromProps< {
|
|
2643
|
+
definition: IType<IconDataLayer<UnknownData>, IconDataLayer<UnknownData>, IconDataLayer<UnknownData>>;
|
|
2644
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2645
|
+
fn: (dataElement: UnknownData) => string;
|
|
2646
|
+
}, {
|
|
2647
|
+
fn: (dataElement: UnknownData) => string;
|
|
5305
2648
|
}, {
|
|
5306
|
-
|
|
2649
|
+
fn: (dataElement: UnknownData) => string;
|
|
2650
|
+
}>>;
|
|
2651
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5307
2652
|
} & {
|
|
5308
|
-
|
|
5309
|
-
}
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
2653
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Icon>;
|
|
2654
|
+
}>> | ModelCreationType<ExtractCFromProps< {
|
|
2655
|
+
definition: IType<PosterDataLayer<UnknownData>, PosterDataLayer<UnknownData>, PosterDataLayer<UnknownData>>;
|
|
2656
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2657
|
+
fn: (dataElement: UnknownData) => string;
|
|
2658
|
+
}, {
|
|
2659
|
+
fn: (dataElement: UnknownData) => string;
|
|
2660
|
+
}, {
|
|
2661
|
+
fn: (dataElement: UnknownData) => string;
|
|
2662
|
+
}>>;
|
|
2663
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5313
2664
|
} & {
|
|
5314
|
-
|
|
2665
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Poster>;
|
|
2666
|
+
}>> | ModelCreationType<ExtractCFromProps< {
|
|
2667
|
+
definition: IType<PolylineDataLayer<UnknownData>, PolylineDataLayer<UnknownData>, PolylineDataLayer<UnknownData>>;
|
|
2668
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2669
|
+
fn: (dataElement: UnknownData) => string;
|
|
2670
|
+
}, {
|
|
2671
|
+
fn: (dataElement: UnknownData) => string;
|
|
5315
2672
|
}, {
|
|
5316
|
-
|
|
2673
|
+
fn: (dataElement: UnknownData) => string;
|
|
2674
|
+
}>>;
|
|
2675
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5317
2676
|
} & {
|
|
5318
|
-
|
|
5319
|
-
}
|
|
2677
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Polyline>;
|
|
2678
|
+
}>> | ModelCreationType<ExtractCFromProps< {
|
|
2679
|
+
definition: IType<DottedPolylineDataLayer<UnknownData>, DottedPolylineDataLayer<UnknownData>, DottedPolylineDataLayer<UnknownData>>;
|
|
2680
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2681
|
+
fn: (dataElement: UnknownData) => string;
|
|
2682
|
+
}, {
|
|
2683
|
+
fn: (dataElement: UnknownData) => string;
|
|
2684
|
+
}, {
|
|
2685
|
+
fn: (dataElement: UnknownData) => string;
|
|
2686
|
+
}>>;
|
|
2687
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5320
2688
|
} & {
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
dimensions: IOptionalIType<IModelType< {
|
|
5327
|
-
width: IMaybe<ISimpleType<number>>;
|
|
5328
|
-
height: IMaybe<ISimpleType<number>>;
|
|
5329
|
-
baseHeight: IMaybe<ISimpleType<number>>;
|
|
2689
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.DottedPolyline>;
|
|
2690
|
+
}>> | ModelCreationType<ExtractCFromProps< {
|
|
2691
|
+
definition: IType<PolygonDataLayer<UnknownData>, PolygonDataLayer<UnknownData>, PolygonDataLayer<UnknownData>>;
|
|
2692
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2693
|
+
fn: (dataElement: UnknownData) => string;
|
|
5330
2694
|
}, {
|
|
5331
|
-
|
|
5332
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
5333
|
-
position: IMaybe<IModelType< {
|
|
5334
|
-
from: ISimpleType<"start" | "end">;
|
|
5335
|
-
distance: ISimpleType<number>;
|
|
2695
|
+
fn: (dataElement: UnknownData) => string;
|
|
5336
2696
|
}, {
|
|
5337
|
-
|
|
5338
|
-
}
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
swapKnob: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
5347
|
-
swapInOut: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
5348
|
-
swapPanels: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
5349
|
-
glass: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
5350
|
-
openFrom: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
5351
|
-
panelsOpened: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5352
|
-
openAngle: IMaybe<ISimpleType<number>>;
|
|
5353
|
-
railingHeight: IMaybe<ISimpleType<number>>;
|
|
5354
|
-
railingStyle: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
2697
|
+
fn: (dataElement: UnknownData) => string;
|
|
2698
|
+
}>>;
|
|
2699
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
2700
|
+
} & {
|
|
2701
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Polygon>;
|
|
2702
|
+
}>> | ModelCreationType<ExtractCFromProps< {
|
|
2703
|
+
definition: IType<FurnitureDataLayer<UnknownData>, FurnitureDataLayer<UnknownData>, FurnitureDataLayer<UnknownData>>;
|
|
2704
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2705
|
+
fn: (dataElement: UnknownData) => string;
|
|
5355
2706
|
}, {
|
|
5356
|
-
|
|
2707
|
+
fn: (dataElement: UnknownData) => string;
|
|
2708
|
+
}, {
|
|
2709
|
+
fn: (dataElement: UnknownData) => string;
|
|
2710
|
+
}>>;
|
|
2711
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5357
2712
|
} & {
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
setOpenAngle(openAngle: number): void;
|
|
5370
|
-
setRailingHeight(railingHeight: number | undefined): void;
|
|
5371
|
-
setRailingStyle(railingStyle: string): void;
|
|
2713
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Furniture>;
|
|
2714
|
+
}>> | ModelCreationType<ExtractCFromProps< {
|
|
2715
|
+
definition: IType<HeatmapDataLayer<UnknownData>, HeatmapDataLayer<UnknownData>, HeatmapDataLayer<UnknownData>>;
|
|
2716
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2717
|
+
fn: (dataElement: UnknownData) => string;
|
|
2718
|
+
}, {
|
|
2719
|
+
fn: (dataElement: UnknownData) => string;
|
|
2720
|
+
}, {
|
|
2721
|
+
fn: (dataElement: UnknownData) => string;
|
|
2722
|
+
}>>;
|
|
2723
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5372
2724
|
} & {
|
|
5373
|
-
|
|
5374
|
-
}
|
|
2725
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Heatmap>;
|
|
2726
|
+
}>>, ModelSnapshotType< {
|
|
2727
|
+
definition: IType<PointDataLayer<UnknownData>, PointDataLayer<UnknownData>, PointDataLayer<UnknownData>>;
|
|
2728
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2729
|
+
fn: (dataElement: UnknownData) => string;
|
|
2730
|
+
}, {
|
|
2731
|
+
fn: (dataElement: UnknownData) => string;
|
|
2732
|
+
}, {
|
|
2733
|
+
fn: (dataElement: UnknownData) => string;
|
|
2734
|
+
}>>;
|
|
2735
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5375
2736
|
} & {
|
|
5376
|
-
|
|
2737
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Point>;
|
|
2738
|
+
}> | ModelSnapshotType< {
|
|
2739
|
+
definition: IType<IconDataLayer<UnknownData>, IconDataLayer<UnknownData>, IconDataLayer<UnknownData>>;
|
|
2740
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2741
|
+
fn: (dataElement: UnknownData) => string;
|
|
2742
|
+
}, {
|
|
2743
|
+
fn: (dataElement: UnknownData) => string;
|
|
2744
|
+
}, {
|
|
2745
|
+
fn: (dataElement: UnknownData) => string;
|
|
2746
|
+
}>>;
|
|
2747
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5377
2748
|
} & {
|
|
5378
|
-
|
|
2749
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Icon>;
|
|
2750
|
+
}> | ModelSnapshotType< {
|
|
2751
|
+
definition: IType<PosterDataLayer<UnknownData>, PosterDataLayer<UnknownData>, PosterDataLayer<UnknownData>>;
|
|
2752
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2753
|
+
fn: (dataElement: UnknownData) => string;
|
|
2754
|
+
}, {
|
|
2755
|
+
fn: (dataElement: UnknownData) => string;
|
|
5379
2756
|
}, {
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
readonly feature: IWall;
|
|
5384
|
-
readonly direction: number;
|
|
5385
|
-
} & {
|
|
5386
|
-
readonly orientation: "horizontal" | "vertical";
|
|
2757
|
+
fn: (dataElement: UnknownData) => string;
|
|
2758
|
+
}>>;
|
|
2759
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5387
2760
|
} & {
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
2761
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Poster>;
|
|
2762
|
+
}> | ModelSnapshotType< {
|
|
2763
|
+
definition: IType<PolylineDataLayer<UnknownData>, PolylineDataLayer<UnknownData>, PolylineDataLayer<UnknownData>>;
|
|
2764
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2765
|
+
fn: (dataElement: UnknownData) => string;
|
|
2766
|
+
}, {
|
|
2767
|
+
fn: (dataElement: UnknownData) => string;
|
|
2768
|
+
}, {
|
|
2769
|
+
fn: (dataElement: UnknownData) => string;
|
|
2770
|
+
}>>;
|
|
2771
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5391
2772
|
} & {
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
|
|
2773
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Polyline>;
|
|
2774
|
+
}> | ModelSnapshotType< {
|
|
2775
|
+
definition: IType<DottedPolylineDataLayer<UnknownData>, DottedPolylineDataLayer<UnknownData>, DottedPolylineDataLayer<UnknownData>>;
|
|
2776
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2777
|
+
fn: (dataElement: UnknownData) => string;
|
|
2778
|
+
}, {
|
|
2779
|
+
fn: (dataElement: UnknownData) => string;
|
|
2780
|
+
}, {
|
|
2781
|
+
fn: (dataElement: UnknownData) => string;
|
|
2782
|
+
}>>;
|
|
2783
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5399
2784
|
} & {
|
|
5400
|
-
|
|
5401
|
-
|
|
2785
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.DottedPolyline>;
|
|
2786
|
+
}> | ModelSnapshotType< {
|
|
2787
|
+
definition: IType<PolygonDataLayer<UnknownData>, PolygonDataLayer<UnknownData>, PolygonDataLayer<UnknownData>>;
|
|
2788
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2789
|
+
fn: (dataElement: UnknownData) => string;
|
|
2790
|
+
}, {
|
|
2791
|
+
fn: (dataElement: UnknownData) => string;
|
|
2792
|
+
}, {
|
|
2793
|
+
fn: (dataElement: UnknownData) => string;
|
|
2794
|
+
}>>;
|
|
2795
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5402
2796
|
} & {
|
|
5403
|
-
|
|
2797
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Polygon>;
|
|
2798
|
+
}> | ModelSnapshotType< {
|
|
2799
|
+
definition: IType<FurnitureDataLayer<UnknownData>, FurnitureDataLayer<UnknownData>, FurnitureDataLayer<UnknownData>>;
|
|
2800
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2801
|
+
fn: (dataElement: UnknownData) => string;
|
|
2802
|
+
}, {
|
|
2803
|
+
fn: (dataElement: UnknownData) => string;
|
|
2804
|
+
}, {
|
|
2805
|
+
fn: (dataElement: UnknownData) => string;
|
|
2806
|
+
}>>;
|
|
2807
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5404
2808
|
} & {
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
2809
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Furniture>;
|
|
2810
|
+
}> | ModelSnapshotType< {
|
|
2811
|
+
definition: IType<HeatmapDataLayer<UnknownData>, HeatmapDataLayer<UnknownData>, HeatmapDataLayer<UnknownData>>;
|
|
2812
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2813
|
+
fn: (dataElement: UnknownData) => string;
|
|
5411
2814
|
}, {
|
|
5412
|
-
|
|
2815
|
+
fn: (dataElement: UnknownData) => string;
|
|
2816
|
+
}, {
|
|
2817
|
+
fn: (dataElement: UnknownData) => string;
|
|
2818
|
+
}>>;
|
|
2819
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5413
2820
|
} & {
|
|
5414
|
-
|
|
2821
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Heatmap>;
|
|
2822
|
+
}>, ModelInstanceType< {
|
|
2823
|
+
definition: IType<PointDataLayer<UnknownData>, PointDataLayer<UnknownData>, PointDataLayer<UnknownData>>;
|
|
2824
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2825
|
+
fn: (dataElement: UnknownData) => string;
|
|
2826
|
+
}, {
|
|
2827
|
+
fn: (dataElement: UnknownData) => string;
|
|
2828
|
+
}, {
|
|
2829
|
+
fn: (dataElement: UnknownData) => string;
|
|
2830
|
+
}>>;
|
|
2831
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5415
2832
|
} & {
|
|
5416
|
-
|
|
5417
|
-
|
|
2833
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Point>;
|
|
2834
|
+
}, {
|
|
2835
|
+
readonly renderableDefinition: RenderableDataLayer<PointDataLayer<UnknownData>>;
|
|
2836
|
+
readonly renderState: ViewerDataLayerRenderState<PointDataLayer<UnknownData>>;
|
|
2837
|
+
readonly persistentTooltipSources: PersistentTooltipSource[];
|
|
5418
2838
|
} & {
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
}
|
|
2839
|
+
setCompiledTooltipTemplate(compiledTemplate: (dataElement: UnknownData) => string): void;
|
|
2840
|
+
touch(): void;
|
|
2841
|
+
updateDefinition(updates: Partial<Omit<PointDataLayer<UnknownData>, "type">>): void;
|
|
2842
|
+
}> | ModelInstanceType< {
|
|
2843
|
+
definition: IType<IconDataLayer<UnknownData>, IconDataLayer<UnknownData>, IconDataLayer<UnknownData>>;
|
|
2844
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2845
|
+
fn: (dataElement: UnknownData) => string;
|
|
2846
|
+
}, {
|
|
2847
|
+
fn: (dataElement: UnknownData) => string;
|
|
2848
|
+
}, {
|
|
2849
|
+
fn: (dataElement: UnknownData) => string;
|
|
2850
|
+
}>>;
|
|
2851
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5423
2852
|
} & {
|
|
5424
|
-
|
|
2853
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Icon>;
|
|
2854
|
+
}, {
|
|
2855
|
+
readonly renderableDefinition: RenderableDataLayer<IconDataLayer<UnknownData>>;
|
|
2856
|
+
readonly renderState: ViewerDataLayerRenderState<IconDataLayer<UnknownData>>;
|
|
2857
|
+
readonly persistentTooltipSources: PersistentTooltipSource[];
|
|
5425
2858
|
} & {
|
|
5426
|
-
|
|
2859
|
+
setCompiledTooltipTemplate(compiledTemplate: (dataElement: UnknownData) => string): void;
|
|
2860
|
+
touch(): void;
|
|
2861
|
+
updateDefinition(updates: Partial<Omit<IconDataLayer<UnknownData>, "type">>): void;
|
|
2862
|
+
}> | ModelInstanceType< {
|
|
2863
|
+
definition: IType<PosterDataLayer<UnknownData>, PosterDataLayer<UnknownData>, PosterDataLayer<UnknownData>>;
|
|
2864
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2865
|
+
fn: (dataElement: UnknownData) => string;
|
|
5427
2866
|
}, {
|
|
5428
|
-
|
|
2867
|
+
fn: (dataElement: UnknownData) => string;
|
|
2868
|
+
}, {
|
|
2869
|
+
fn: (dataElement: UnknownData) => string;
|
|
2870
|
+
}>>;
|
|
2871
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5429
2872
|
} & {
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
2873
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Poster>;
|
|
2874
|
+
}, {
|
|
2875
|
+
readonly renderableDefinition: RenderableDataLayer<PosterDataLayer<UnknownData>>;
|
|
2876
|
+
readonly renderState: ViewerDataLayerRenderState<PosterDataLayer<UnknownData>>;
|
|
2877
|
+
readonly persistentTooltipSources: PersistentTooltipSource[];
|
|
5435
2878
|
} & {
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
2879
|
+
setCompiledTooltipTemplate(compiledTemplate: (dataElement: UnknownData) => string): void;
|
|
2880
|
+
touch(): void;
|
|
2881
|
+
updateDefinition(updates: Partial<Omit<PosterDataLayer<UnknownData>, "type">>): void;
|
|
2882
|
+
}> | ModelInstanceType< {
|
|
2883
|
+
definition: IType<PolylineDataLayer<UnknownData>, PolylineDataLayer<UnknownData>, PolylineDataLayer<UnknownData>>;
|
|
2884
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2885
|
+
fn: (dataElement: UnknownData) => string;
|
|
2886
|
+
}, {
|
|
2887
|
+
fn: (dataElement: UnknownData) => string;
|
|
2888
|
+
}, {
|
|
2889
|
+
fn: (dataElement: UnknownData) => string;
|
|
2890
|
+
}>>;
|
|
2891
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5441
2892
|
} & {
|
|
5442
|
-
|
|
5443
|
-
|
|
2893
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Polyline>;
|
|
2894
|
+
}, {
|
|
2895
|
+
readonly renderableDefinition: RenderableDataLayer<PolylineDataLayer<UnknownData>>;
|
|
2896
|
+
readonly renderState: ViewerDataLayerRenderState<PolylineDataLayer<UnknownData>>;
|
|
2897
|
+
readonly persistentTooltipSources: PersistentTooltipSource[];
|
|
5444
2898
|
} & {
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
}
|
|
5449
|
-
|
|
5450
|
-
|
|
2899
|
+
setCompiledTooltipTemplate(compiledTemplate: (dataElement: UnknownData) => string): void;
|
|
2900
|
+
touch(): void;
|
|
2901
|
+
updateDefinition(updates: Partial<Omit<PolylineDataLayer<UnknownData>, "type">>): void;
|
|
2902
|
+
}> | ModelInstanceType< {
|
|
2903
|
+
definition: IType<DottedPolylineDataLayer<UnknownData>, DottedPolylineDataLayer<UnknownData>, DottedPolylineDataLayer<UnknownData>>;
|
|
2904
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2905
|
+
fn: (dataElement: UnknownData) => string;
|
|
2906
|
+
}, {
|
|
2907
|
+
fn: (dataElement: UnknownData) => string;
|
|
2908
|
+
}, {
|
|
2909
|
+
fn: (dataElement: UnknownData) => string;
|
|
2910
|
+
}>>;
|
|
2911
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5451
2912
|
} & {
|
|
5452
|
-
|
|
2913
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.DottedPolyline>;
|
|
2914
|
+
}, {
|
|
2915
|
+
readonly renderableDefinition: RenderableDataLayer<DottedPolylineDataLayer<UnknownData>>;
|
|
2916
|
+
readonly renderState: ViewerDataLayerRenderState<DottedPolylineDataLayer<UnknownData>>;
|
|
2917
|
+
readonly persistentTooltipSources: PersistentTooltipSource[];
|
|
5453
2918
|
} & {
|
|
5454
|
-
|
|
2919
|
+
setCompiledTooltipTemplate(compiledTemplate: (dataElement: UnknownData) => string): void;
|
|
2920
|
+
touch(): void;
|
|
2921
|
+
updateDefinition(updates: Partial<Omit<DottedPolylineDataLayer<UnknownData>, "type">>): void;
|
|
2922
|
+
}> | ModelInstanceType< {
|
|
2923
|
+
definition: IType<PolygonDataLayer<UnknownData>, PolygonDataLayer<UnknownData>, PolygonDataLayer<UnknownData>>;
|
|
2924
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2925
|
+
fn: (dataElement: UnknownData) => string;
|
|
2926
|
+
}, {
|
|
2927
|
+
fn: (dataElement: UnknownData) => string;
|
|
2928
|
+
}, {
|
|
2929
|
+
fn: (dataElement: UnknownData) => string;
|
|
2930
|
+
}>>;
|
|
2931
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5455
2932
|
} & {
|
|
5456
|
-
|
|
5457
|
-
mergeExtras(extras: FeatureExtras): void;
|
|
5458
|
-
setExtrasEntry(key: string, value: JsonValue): void;
|
|
5459
|
-
removeExtrasEntry(key: string): void;
|
|
5460
|
-
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
5461
|
-
}, _NotCustomized, _NotCustomized>;
|
|
5462
|
-
|
|
5463
|
-
declare const WallOpening: IModelType< {
|
|
5464
|
-
id: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
5465
|
-
name: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
5466
|
-
type: ISimpleType<"door" | "window">;
|
|
5467
|
-
dimensions: IOptionalIType<IModelType< {
|
|
5468
|
-
width: IMaybe<ISimpleType<number>>;
|
|
5469
|
-
height: IMaybe<ISimpleType<number>>;
|
|
5470
|
-
baseHeight: IMaybe<ISimpleType<number>>;
|
|
2933
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Polygon>;
|
|
5471
2934
|
}, {
|
|
5472
|
-
readonly
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
2935
|
+
readonly renderableDefinition: RenderableDataLayer<PolygonDataLayer<UnknownData>>;
|
|
2936
|
+
readonly renderState: ViewerDataLayerRenderState<PolygonDataLayer<UnknownData>>;
|
|
2937
|
+
readonly persistentTooltipSources: PersistentTooltipSource[];
|
|
2938
|
+
} & {
|
|
2939
|
+
setCompiledTooltipTemplate(compiledTemplate: (dataElement: UnknownData) => string): void;
|
|
2940
|
+
touch(): void;
|
|
2941
|
+
updateDefinition(updates: Partial<Omit<PolygonDataLayer<UnknownData>, "type">>): void;
|
|
2942
|
+
}> | ModelInstanceType< {
|
|
2943
|
+
definition: IType<FurnitureDataLayer<UnknownData>, FurnitureDataLayer<UnknownData>, FurnitureDataLayer<UnknownData>>;
|
|
2944
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2945
|
+
fn: (dataElement: UnknownData) => string;
|
|
5477
2946
|
}, {
|
|
5478
|
-
|
|
5479
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
5480
|
-
options: IOptionalIType<IModelType< {
|
|
5481
|
-
style: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
5482
|
-
nbOfPanels: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5483
|
-
nbOfPanelsVertically: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5484
|
-
targetPanelWidth: IMaybe<ISimpleType<number>>;
|
|
5485
|
-
twoPanels: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
5486
|
-
centerSplit: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
5487
|
-
swapKnob: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
5488
|
-
swapInOut: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
5489
|
-
swapPanels: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
5490
|
-
glass: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
5491
|
-
openFrom: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
5492
|
-
panelsOpened: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5493
|
-
openAngle: IMaybe<ISimpleType<number>>;
|
|
5494
|
-
railingHeight: IMaybe<ISimpleType<number>>;
|
|
5495
|
-
railingStyle: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
2947
|
+
fn: (dataElement: UnknownData) => string;
|
|
5496
2948
|
}, {
|
|
5497
|
-
|
|
2949
|
+
fn: (dataElement: UnknownData) => string;
|
|
2950
|
+
}>>;
|
|
2951
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5498
2952
|
} & {
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
setSwapKnob(swapKnob: boolean): void;
|
|
5505
|
-
setSwapInOut(swapInOut: boolean): void;
|
|
5506
|
-
setSwapPanels(swapPanels: boolean): void;
|
|
5507
|
-
setTwoPanels(twoPanels: boolean): void;
|
|
5508
|
-
setGlass(glass: boolean): void;
|
|
5509
|
-
setPanelsOpened(panelsOpened: number): void;
|
|
5510
|
-
setOpenAngle(openAngle: number): void;
|
|
5511
|
-
setRailingHeight(railingHeight: number | undefined): void;
|
|
5512
|
-
setRailingStyle(railingStyle: string): void;
|
|
2953
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Furniture>;
|
|
2954
|
+
}, {
|
|
2955
|
+
readonly renderableDefinition: RenderableDataLayer<FurnitureDataLayer<UnknownData>>;
|
|
2956
|
+
readonly renderState: ViewerDataLayerRenderState<FurnitureDataLayer<UnknownData>>;
|
|
2957
|
+
readonly persistentTooltipSources: PersistentTooltipSource[];
|
|
5513
2958
|
} & {
|
|
5514
|
-
|
|
5515
|
-
|
|
2959
|
+
setCompiledTooltipTemplate(compiledTemplate: (dataElement: UnknownData) => string): void;
|
|
2960
|
+
touch(): void;
|
|
2961
|
+
updateDefinition(updates: Partial<Omit<FurnitureDataLayer<UnknownData>, "type">>): void;
|
|
2962
|
+
}> | ModelInstanceType< {
|
|
2963
|
+
definition: IType<HeatmapDataLayer<UnknownData>, HeatmapDataLayer<UnknownData>, HeatmapDataLayer<UnknownData>>;
|
|
2964
|
+
compiledTooltipTemplate: IMaybe<IType< {
|
|
2965
|
+
fn: (dataElement: UnknownData) => string;
|
|
2966
|
+
}, {
|
|
2967
|
+
fn: (dataElement: UnknownData) => string;
|
|
2968
|
+
}, {
|
|
2969
|
+
fn: (dataElement: UnknownData) => string;
|
|
2970
|
+
}>>;
|
|
2971
|
+
touchCount: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5516
2972
|
} & {
|
|
5517
|
-
|
|
2973
|
+
type: ISimpleType<import("src/viewer/data-layers/dataLayerTypes").LayerType.Heatmap>;
|
|
2974
|
+
}, {
|
|
2975
|
+
readonly renderableDefinition: RenderableDataLayer<HeatmapDataLayer<UnknownData>>;
|
|
2976
|
+
readonly renderState: ViewerDataLayerRenderState<HeatmapDataLayer<UnknownData>>;
|
|
2977
|
+
readonly persistentTooltipSources: PersistentTooltipSource[];
|
|
5518
2978
|
} & {
|
|
5519
|
-
|
|
2979
|
+
setCompiledTooltipTemplate(compiledTemplate: (dataElement: UnknownData) => string): void;
|
|
2980
|
+
touch(): void;
|
|
2981
|
+
updateDefinition(updates: Partial<Omit<HeatmapDataLayer<UnknownData>, "type">>): void;
|
|
2982
|
+
}>>>;
|
|
5520
2983
|
}, {
|
|
5521
|
-
|
|
5522
|
-
|
|
2984
|
+
engine: AbstractEngine | null;
|
|
2985
|
+
canvas: HTMLCanvasElement | null;
|
|
2986
|
+
scene: SmplrScene | null;
|
|
2987
|
+
hoveredDataElement: HoveredDataElement | null;
|
|
2988
|
+
pickHandler: {
|
|
2989
|
+
onPick: OnPickFn;
|
|
2990
|
+
} | null;
|
|
2991
|
+
tooltip: ViewerTooltipData | null;
|
|
2992
|
+
persistentTooltipsViewportTick: number;
|
|
2993
|
+
lights: ViewerLights | null;
|
|
2994
|
+
shadowGenerator: SmplrShadowGenerator | null;
|
|
2995
|
+
useCascadedShadowMap: boolean;
|
|
2996
|
+
smplrWhite: PBRMetallicRoughnessMaterial | null;
|
|
2997
|
+
wallMaterial: PBRMetallicRoughnessMaterial | null;
|
|
2998
|
+
facadeWallMaterial: PBRMetallicRoughnessMaterial | null;
|
|
2999
|
+
structuralWallMaterial: PBRMetallicRoughnessMaterial | null;
|
|
3000
|
+
glassMaterial: PBRMetallicRoughnessMaterial | null;
|
|
3001
|
+
shellMaterial: PBRMetallicRoughnessMaterial | null;
|
|
3002
|
+
shellGroundMaterial: PBRMetallicRoughnessMaterial | null;
|
|
3003
|
+
metalMaterial: PBRMetallicRoughnessMaterial | null;
|
|
3004
|
+
groundMaterials: GroundMaterials | null;
|
|
3005
|
+
meshes: SmplrMesh[];
|
|
3006
|
+
assetsManager: AssetsManager | null;
|
|
3007
|
+
facadeAssetsManager: AssetsManager | null;
|
|
3008
|
+
actionManager: ActionManager | null;
|
|
3009
|
+
spaceRendered: boolean;
|
|
3010
|
+
floorplanRendered: boolean;
|
|
3011
|
+
objectPlaceholdersRendered: boolean;
|
|
3012
|
+
objectsRendered: boolean;
|
|
3013
|
+
sceneReadySent: boolean;
|
|
3014
|
+
handledEngineError: boolean;
|
|
3015
|
+
logoLoaderHidden: boolean;
|
|
3016
|
+
renderLoaderFlag: boolean;
|
|
3017
|
+
renderDoneTick: number;
|
|
3018
|
+
sceneEnvironmentTick: number;
|
|
3019
|
+
objectMeshesTick: number;
|
|
3020
|
+
facadeTick: number;
|
|
5523
3021
|
} & {
|
|
5524
|
-
readonly
|
|
5525
|
-
readonly
|
|
3022
|
+
readonly levelCount: number;
|
|
3023
|
+
readonly includedLevels: SOLevel[];
|
|
3024
|
+
readonly baseHeightForLevel: number[];
|
|
5526
3025
|
} & {
|
|
5527
|
-
readonly
|
|
3026
|
+
readonly spaceBoundingBox: CanvasBoundingBox;
|
|
3027
|
+
readonly spaceVerticalExtent: number;
|
|
5528
3028
|
} & {
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
applyTargetPanelWidth(): void;
|
|
3029
|
+
readonly spaceBoundingBoxExtent: number;
|
|
3030
|
+
readonly spaceCenterAtFloor: Vector2;
|
|
5532
3031
|
} & {
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
setTargetPanelWidth(targetPanelWidth: number | undefined): void;
|
|
5537
|
-
moveTo(position: SIWallOpeningPosition): void;
|
|
5538
|
-
moveInDirection(direction: URDL, distance?: number): void;
|
|
5539
|
-
remove(): void;
|
|
3032
|
+
readonly isInitialVisibleLevels: boolean;
|
|
3033
|
+
readonly topVisibleLevelIndex: number;
|
|
3034
|
+
orbitCameraParameters(camera: OrbitCameraSample | undefined): OrbitCameraParameters;
|
|
5540
3035
|
} & {
|
|
5541
|
-
|
|
5542
|
-
|
|
3036
|
+
readonly visibleLevelsHash: string;
|
|
3037
|
+
readonly safeTopVisibleLevelIndex: number;
|
|
3038
|
+
readonly sceneReady: boolean;
|
|
3039
|
+
readonly logoLoaderCanHide: boolean;
|
|
3040
|
+
readonly sceneEnvironmentReady: boolean;
|
|
3041
|
+
readonly spaceRenderSignature: string;
|
|
3042
|
+
readonly renderFilter: Filter;
|
|
5543
3043
|
} & {
|
|
5544
|
-
|
|
3044
|
+
readonly showRenderLoader: boolean;
|
|
5545
3045
|
} & {
|
|
5546
|
-
|
|
5547
|
-
mergeExtras(extras: FeatureExtras): void;
|
|
5548
|
-
setExtrasEntry(key: string, value: JsonValue): void;
|
|
5549
|
-
removeExtrasEntry(key: string): void;
|
|
5550
|
-
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
5551
|
-
}, _NotCustomized, _NotCustomized>;
|
|
5552
|
-
|
|
5553
|
-
declare const WallOpeningDimensions: IModelType< {
|
|
5554
|
-
width: IMaybe<ISimpleType<number>>;
|
|
5555
|
-
height: IMaybe<ISimpleType<number>>;
|
|
5556
|
-
baseHeight: IMaybe<ISimpleType<number>>;
|
|
5557
|
-
}, {
|
|
5558
|
-
readonly json: JsonWallOpeningDimensions;
|
|
5559
|
-
}, _NotCustomized, _NotCustomized>;
|
|
5560
|
-
|
|
5561
|
-
declare const WallOpeningOptions: IModelType< {
|
|
5562
|
-
style: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
5563
|
-
nbOfPanels: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5564
|
-
nbOfPanelsVertically: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5565
|
-
targetPanelWidth: IMaybe<ISimpleType<number>>;
|
|
5566
|
-
twoPanels: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
5567
|
-
centerSplit: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
5568
|
-
swapKnob: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
5569
|
-
swapInOut: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
5570
|
-
swapPanels: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
5571
|
-
glass: IOptionalIType<ISimpleType<boolean>, [undefined]>;
|
|
5572
|
-
openFrom: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
5573
|
-
panelsOpened: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5574
|
-
openAngle: IMaybe<ISimpleType<number>>;
|
|
5575
|
-
railingHeight: IMaybe<ISimpleType<number>>;
|
|
5576
|
-
railingStyle: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
5577
|
-
}, {
|
|
5578
|
-
readonly maxPanelsOpened: number;
|
|
3046
|
+
readonly groundCenter: Vector3_2;
|
|
5579
3047
|
} & {
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
setSwapInOut(swapInOut: boolean): void;
|
|
5587
|
-
setSwapPanels(swapPanels: boolean): void;
|
|
5588
|
-
setTwoPanels(twoPanels: boolean): void;
|
|
5589
|
-
setGlass(glass: boolean): void;
|
|
5590
|
-
setPanelsOpened(panelsOpened: number): void;
|
|
5591
|
-
setOpenAngle(openAngle: number): void;
|
|
5592
|
-
setRailingHeight(railingHeight: number | undefined): void;
|
|
5593
|
-
setRailingStyle(railingStyle: string): void;
|
|
3048
|
+
readonly dataLayersRenderState: Record<string, ViewerDataLayerRenderState<DataLayer<UnknownData>>>;
|
|
3049
|
+
readonly furnitureLayerDefinitions: RenderableDataLayer<FurnitureDataLayer<UnknownData>>[];
|
|
3050
|
+
readonly singleLevelLayerIds: string[];
|
|
3051
|
+
readonly legendItems: DataLayer<UnknownData>[];
|
|
3052
|
+
readonly persistentTooltipSources: PersistentTooltipSource[];
|
|
3053
|
+
readonly spaceHasNoAnnotations: boolean;
|
|
5594
3054
|
} & {
|
|
5595
|
-
|
|
5596
|
-
}, _NotCustomized, _NotCustomized>;
|
|
5597
|
-
|
|
5598
|
-
declare const WallOpeningPosition: IModelType< {
|
|
5599
|
-
from: ISimpleType<"start" | "end">;
|
|
5600
|
-
distance: ISimpleType<number>;
|
|
5601
|
-
}, {
|
|
5602
|
-
readonly json: JsonWallOpeningPosition;
|
|
5603
|
-
}, _NotCustomized, _NotCustomized>;
|
|
5604
|
-
|
|
5605
|
-
declare const WallSegment: IModelType< {
|
|
5606
|
-
start: IModelType< {
|
|
5607
|
-
r: ISimpleType<number>;
|
|
5608
|
-
t: ISimpleType<number>;
|
|
3055
|
+
getPersistentTooltips(scene: SmplrScene, viewer: ViewerRendererHandle | null): PositionedPersistentTooltip[];
|
|
5609
3056
|
} & {
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
3057
|
+
setSpace({ levels, defaults }: {
|
|
3058
|
+
levels: SOLevel[];
|
|
3059
|
+
defaults: SOSpaceDefaults;
|
|
3060
|
+
}): void;
|
|
3061
|
+
setVisibleLevels(levelIndices: number[], noDefaultGroundFloorIn2d?: boolean): void;
|
|
3062
|
+
mergeRenderOptions(options: LegacySpaceRenderOptions): void;
|
|
3063
|
+
resetRenderOptionsToDefault(): void;
|
|
3064
|
+
resetRenderOptionsToInitial(): void;
|
|
3065
|
+
setFilterHash(filterHash: string | undefined): void;
|
|
3066
|
+
setSpaceHash(spaceHash: string | undefined): void;
|
|
3067
|
+
setObjectsHash(objectsHash: string | undefined): void;
|
|
5613
3068
|
} & {
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
t: ISimpleType<number>;
|
|
3069
|
+
syncIncludedLevelsToVisibleLevels(): void;
|
|
3070
|
+
syncModeToVisibleLevels(): void;
|
|
3071
|
+
showUpToLevel(topLevelIndex: number): void;
|
|
3072
|
+
showAllLevels(): void;
|
|
5619
3073
|
} & {
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
3074
|
+
setIncludeLevels(levelIndices?: number[]): void;
|
|
3075
|
+
setMode(mode: CameraMode): void;
|
|
3076
|
+
setMoreOptionsVisible(visible: boolean): void;
|
|
3077
|
+
setLevelsDropdownOpen(open: boolean): void;
|
|
3078
|
+
appendGoToLevelDigit(digit: string): void;
|
|
3079
|
+
resetGoToLevel(): void;
|
|
3080
|
+
setHideLevelPicker(hide: boolean): void;
|
|
3081
|
+
setHideNavigationButtons(hide: boolean): void;
|
|
3082
|
+
toggleShowStructuralWalls(): void;
|
|
3083
|
+
toggleShowAnnotations(): void;
|
|
3084
|
+
toggleShowFacade(): void;
|
|
5623
3085
|
} & {
|
|
5624
|
-
|
|
5625
|
-
|
|
3086
|
+
addDataLayer(layer: SIViewerDataLayer): void;
|
|
3087
|
+
updateDataLayerDefinition(layerId: string, updates: Partial<Omit<DataLayer<UnknownData>, 'type'>>): void;
|
|
3088
|
+
removeDataLayer(layerId: string): void;
|
|
3089
|
+
touchFurnitureLayers(): void;
|
|
3090
|
+
setSceneObjects({ engine, canvas, scene, }: {
|
|
3091
|
+
engine: AbstractEngine;
|
|
3092
|
+
canvas: HTMLCanvasElement;
|
|
3093
|
+
scene: SmplrScene;
|
|
3094
|
+
}): void;
|
|
3095
|
+
clearSceneObjects(): void;
|
|
3096
|
+
setSceneEnvironment({ lights, shadowGenerator, smplrWhite, wallMaterial, facadeWallMaterial, structuralWallMaterial, glassMaterial, shellMaterial, shellGroundMaterial, metalMaterial, groundMaterials, }: {
|
|
3097
|
+
lights: ViewerLights;
|
|
3098
|
+
shadowGenerator: SmplrShadowGenerator | null;
|
|
3099
|
+
smplrWhite: PBRMetallicRoughnessMaterial;
|
|
3100
|
+
wallMaterial: PBRMetallicRoughnessMaterial;
|
|
3101
|
+
facadeWallMaterial: PBRMetallicRoughnessMaterial;
|
|
3102
|
+
structuralWallMaterial: PBRMetallicRoughnessMaterial;
|
|
3103
|
+
glassMaterial: PBRMetallicRoughnessMaterial;
|
|
3104
|
+
shellMaterial: PBRMetallicRoughnessMaterial;
|
|
3105
|
+
shellGroundMaterial: PBRMetallicRoughnessMaterial;
|
|
3106
|
+
metalMaterial: PBRMetallicRoughnessMaterial;
|
|
3107
|
+
groundMaterials: GroundMaterials;
|
|
3108
|
+
}): void;
|
|
3109
|
+
enableCascadedShadowMapFallback(): void;
|
|
3110
|
+
setMeshes(meshes: SmplrMesh[]): void;
|
|
3111
|
+
bumpObjectMeshesTick(): void;
|
|
3112
|
+
bumpFacadeTick(): void;
|
|
3113
|
+
setAssetsManager(assetsManager: AssetsManager | null): void;
|
|
3114
|
+
setFacadeAssetsManager(facadeAssetsManager: AssetsManager | null): void;
|
|
3115
|
+
setActionManager(actionManager: ActionManager): void;
|
|
3116
|
+
markRenderDone(phase: RenderPhase): void;
|
|
3117
|
+
setRenderLoaderFlag(v: boolean): void;
|
|
3118
|
+
resetRenderPhase(phase: RenderPhase): void;
|
|
3119
|
+
markEngineErrorHandled(): void;
|
|
3120
|
+
markLogoLoaderHidden(): void;
|
|
3121
|
+
markSceneReadySent(): void;
|
|
3122
|
+
clearSceneVolatiles(): void;
|
|
3123
|
+
setHoveredDataElement(hoveredDataElement: HoveredDataElement): void;
|
|
3124
|
+
clearHoveredDataElement(): void;
|
|
3125
|
+
setPickHandler(pickHandler: {
|
|
3126
|
+
onPick: OnPickFn;
|
|
3127
|
+
} | null): void;
|
|
3128
|
+
setTooltip(tooltip: ViewerTooltipData): void;
|
|
3129
|
+
clearTooltip(): void;
|
|
3130
|
+
showPersistentTooltips(): void;
|
|
3131
|
+
hidePersistentTooltips(): void;
|
|
3132
|
+
refreshPersistentTooltipPositions(): void;
|
|
5626
3133
|
} & {
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
5639
|
-
position: IMaybe<IModelType< {
|
|
5640
|
-
from: ISimpleType<"start" | "end">;
|
|
5641
|
-
distance: ISimpleType<number>;
|
|
5642
|
-
}, {
|
|
5643
|
-
readonly json: JsonWallOpeningPosition;
|
|
5644
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
5645
|
-
options: IOptionalIType<IModelType< {
|
|
3134
|
+
afterCreate(): void;
|
|
3135
|
+
}, _NotCustomized, _NotCustomized>;
|
|
3136
|
+
|
|
3137
|
+
declare interface ViewerTooltipData {
|
|
3138
|
+
html: string;
|
|
3139
|
+
top: number;
|
|
3140
|
+
left: number;
|
|
3141
|
+
styleOverrides?: string;
|
|
3142
|
+
}
|
|
3143
|
+
|
|
3144
|
+
declare const WallOpeningOptions: IModelType< {
|
|
5646
3145
|
style: IOptionalIType<ISimpleType<string>, [undefined]>;
|
|
5647
3146
|
nbOfPanels: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
5648
3147
|
nbOfPanelsVertically: IOptionalIType<ISimpleType<number>, [undefined]>;
|
|
@@ -5677,54 +3176,6 @@ setRailingHeight(railingHeight: number | undefined): void;
|
|
|
5677
3176
|
setRailingStyle(railingStyle: string): void;
|
|
5678
3177
|
} & {
|
|
5679
3178
|
setOpenFrom(openFrom: string): void;
|
|
5680
|
-
}, _NotCustomized, _NotCustomized>, [undefined]>;
|
|
5681
|
-
} & {
|
|
5682
|
-
layers: IArrayType<ISimpleType<string>>;
|
|
5683
|
-
} & {
|
|
5684
|
-
extras: IMaybe<IType<FeatureExtras, FeatureExtras, FeatureExtras>>;
|
|
5685
|
-
}, {
|
|
5686
|
-
readonly json: JsonWallOpening;
|
|
5687
|
-
readonly segment: IWallSegment;
|
|
5688
|
-
} & {
|
|
5689
|
-
readonly feature: IWall;
|
|
5690
|
-
readonly direction: number;
|
|
5691
|
-
} & {
|
|
5692
|
-
readonly orientation: "horizontal" | "vertical";
|
|
5693
|
-
} & {
|
|
5694
|
-
verifyOpeningPosition(): void;
|
|
5695
|
-
regenerateId(randomizer: string): void;
|
|
5696
|
-
applyTargetPanelWidth(): void;
|
|
5697
|
-
} & {
|
|
5698
|
-
rename(name: string): void;
|
|
5699
|
-
ensureName(): void;
|
|
5700
|
-
resize(dimensions: Partial<SIWallOpeningDimensions>): void;
|
|
5701
|
-
setTargetPanelWidth(targetPanelWidth: number | undefined): void;
|
|
5702
|
-
moveTo(position: SIWallOpeningPosition): void;
|
|
5703
|
-
moveInDirection(direction: URDL, distance?: number): void;
|
|
5704
|
-
remove(): void;
|
|
5705
|
-
} & {
|
|
5706
|
-
expandToFullSegment(): void;
|
|
5707
|
-
addToAllSegmentsInWall(): void;
|
|
5708
|
-
} & {
|
|
5709
|
-
setLayers(layers: string[]): void;
|
|
5710
|
-
} & {
|
|
5711
|
-
setExtras(extras: FeatureExtras | undefined): void;
|
|
5712
|
-
mergeExtras(extras: FeatureExtras): void;
|
|
5713
|
-
setExtrasEntry(key: string, value: JsonValue): void;
|
|
5714
|
-
removeExtrasEntry(key: string): void;
|
|
5715
|
-
renameExtrasKey(oldKey: string, newKey: string): void;
|
|
5716
|
-
}, _NotCustomized, _NotCustomized>>;
|
|
5717
|
-
}, {
|
|
5718
|
-
readonly superJson: JsonAbstractSegment;
|
|
5719
|
-
} & {
|
|
5720
|
-
readonly centerPoint: SOCanvasPoint;
|
|
5721
|
-
} & {
|
|
5722
|
-
readonly json: JsonWallSegment;
|
|
5723
|
-
readonly centerPoint: SOCanvasPoint;
|
|
5724
|
-
} & {
|
|
5725
|
-
addOpening(opening: SIWallOpening): void;
|
|
5726
|
-
removeOpening(id: string): void;
|
|
5727
|
-
regenerateIds(randomizer: string): void;
|
|
5728
3179
|
}, _NotCustomized, _NotCustomized>;
|
|
5729
3180
|
|
|
5730
3181
|
declare interface WallsRenderState extends ElementRenderState {
|
|
@@ -5734,6 +3185,4 @@ declare interface WallsRenderState extends ElementRenderState {
|
|
|
5734
3185
|
maxHeightCm?: number;
|
|
5735
3186
|
}
|
|
5736
3187
|
|
|
5737
|
-
declare type WallType = 'normal' | 'structural' | 'shell' | 'norender';
|
|
5738
|
-
|
|
5739
3188
|
export { }
|