@intelligentgraphics/3d.ig.gfx.standard 1.10.1 → 1.10.2

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.
@@ -1,13 +1,11 @@
1
1
  /*
2
- * Version: 1.10.1.100
3
- * Commit: 80d987d
4
- * Date: 2024-05-14T14:24:19.464Z
2
+ * Version: 1.10.2.100
3
+ * Commit: a1e67fa
4
+ * Date: 2024-08-07T09:40:06.031Z
5
5
  *
6
6
  * @preserve
7
7
  */
8
- /// <reference types="@intelligentgraphics/3d.ig.math" />
9
- /// <reference types="@intelligentgraphics/3d.ig.gfx.core" />
10
- declare module IGX.Std {
8
+ declare namespace IGX.Std {
11
9
  const Minimum = "Minimum";
12
10
  const Maximum = "Maximum";
13
11
  const Snap = "Snap";
@@ -120,7 +118,7 @@ declare module IGX.Std {
120
118
  */
121
119
  function getAbsPath(componentId: string, relPath: string): string;
122
120
  }
123
- declare module IGX.Std {
121
+ declare namespace IGX.Std {
124
122
  class KinematicChain {
125
123
  /** how are these joints inserted? (unit vector for all joints) */
126
124
  GeometryBase: string;
@@ -204,7 +202,7 @@ declare module IGX.Std {
204
202
  *
205
203
  * Copyright (C) 2013 - 2024 intelligentgraphics AG. All Rights Reserved.
206
204
  */
207
- declare module IGX.Std {
205
+ declare namespace IGX.Std {
208
206
  /**
209
207
  * Describes an animation state. An animation state may provide values for
210
208
  * Rotation and/or Position and/or Scaling and/or Deformation.
@@ -321,7 +319,7 @@ declare module IGX.Std {
321
319
  }[];
322
320
  }
323
321
  }
324
- declare module IGX.Std {
322
+ declare namespace IGX.Std {
325
323
  type Array3 = [number, number, number];
326
324
  export type ShadowScene = Record<string, {
327
325
  position: Float3;
@@ -636,7 +634,7 @@ declare namespace IGX.Std {
636
634
  static rotationMatrix(rotationNormal: Float3, angRad: number): number[][];
637
635
  }
638
636
  }
639
- declare module IGX.Std {
637
+ declare namespace IGX.Std {
640
638
  /**
641
639
  * Parameters for the XRangeRotator class
642
640
  */
@@ -734,7 +732,7 @@ declare module IGX.Std {
734
732
  }
735
733
  export {};
736
734
  }
737
- declare module IGX.Std {
735
+ declare namespace IGX.Std {
738
736
  /**
739
737
  * Parameters for the XRangeTranslator class
740
738
  */
@@ -832,7 +830,7 @@ declare module IGX.Std {
832
830
  }
833
831
  export {};
834
832
  }
835
- declare module IGX.Std {
833
+ declare namespace IGX.Std {
836
834
  /**
837
835
  * Parameters for the XRasterRotator class
838
836
  */
@@ -929,7 +927,7 @@ declare module IGX.Std {
929
927
  }
930
928
  export {};
931
929
  }
932
- declare module IGX.Std {
930
+ declare namespace IGX.Std {
933
931
  /**
934
932
  * Parameters for the XRasterTranslator class
935
933
  */
@@ -1026,7 +1024,7 @@ declare module IGX.Std {
1026
1024
  }
1027
1025
  export {};
1028
1026
  }
1029
- declare module IGX.Std {
1027
+ declare namespace IGX.Std {
1030
1028
  /**
1031
1029
  * Parameters for the XValueRotator class
1032
1030
  */
@@ -1086,7 +1084,7 @@ declare module IGX.Std {
1086
1084
  }
1087
1085
  export {};
1088
1086
  }
1089
- declare module IGX.Std {
1087
+ declare namespace IGX.Std {
1090
1088
  /**
1091
1089
  * Parameters for the XValueTranslator class
1092
1090
  */
@@ -1146,7 +1144,7 @@ declare module IGX.Std {
1146
1144
  }
1147
1145
  export {};
1148
1146
  }
1149
- declare module IGX.Std {
1147
+ declare namespace IGX.Std {
1150
1148
  /**
1151
1149
  * Parameters for the YRangeRotator class
1152
1150
  */
@@ -1244,7 +1242,7 @@ declare module IGX.Std {
1244
1242
  }
1245
1243
  export {};
1246
1244
  }
1247
- declare module IGX.Std {
1245
+ declare namespace IGX.Std {
1248
1246
  /**
1249
1247
  * Parameters for the YRangeTranslator class
1250
1248
  */
@@ -1342,7 +1340,7 @@ declare module IGX.Std {
1342
1340
  }
1343
1341
  export {};
1344
1342
  }
1345
- declare module IGX.Std {
1343
+ declare namespace IGX.Std {
1346
1344
  /**
1347
1345
  * Parameters for the YRasterRotator class
1348
1346
  */
@@ -1425,7 +1423,7 @@ declare module IGX.Std {
1425
1423
  }
1426
1424
  export {};
1427
1425
  }
1428
- declare module IGX.Std {
1426
+ declare namespace IGX.Std {
1429
1427
  /**
1430
1428
  * Parameters for the YRasterTranslator class
1431
1429
  */
@@ -1508,7 +1506,7 @@ declare module IGX.Std {
1508
1506
  }
1509
1507
  export {};
1510
1508
  }
1511
- declare module IGX.Std {
1509
+ declare namespace IGX.Std {
1512
1510
  /**
1513
1511
  * Parameters for the YValueRotator class
1514
1512
  */
@@ -1568,7 +1566,7 @@ declare module IGX.Std {
1568
1566
  }
1569
1567
  export {};
1570
1568
  }
1571
- declare module IGX.Std {
1569
+ declare namespace IGX.Std {
1572
1570
  /**
1573
1571
  * Parameters for the YValueTranslator class
1574
1572
  */
@@ -1628,7 +1626,7 @@ declare module IGX.Std {
1628
1626
  }
1629
1627
  export {};
1630
1628
  }
1631
- declare module IGX.Std {
1629
+ declare namespace IGX.Std {
1632
1630
  /**
1633
1631
  * Parameters for the ZRangeRotator class
1634
1632
  */
@@ -1726,7 +1724,7 @@ declare module IGX.Std {
1726
1724
  }
1727
1725
  export {};
1728
1726
  }
1729
- declare module IGX.Std {
1727
+ declare namespace IGX.Std {
1730
1728
  /**
1731
1729
  * Parameters for the ZRangeTranslator class
1732
1730
  */
@@ -1824,7 +1822,7 @@ declare module IGX.Std {
1824
1822
  }
1825
1823
  export {};
1826
1824
  }
1827
- declare module IGX.Std {
1825
+ declare namespace IGX.Std {
1828
1826
  class ZRasterRotator extends IGX.Core.Interactor {
1829
1827
  absRotation: number;
1830
1828
  nullAxis: Float3;
@@ -1838,7 +1836,7 @@ declare module IGX.Std {
1838
1836
  ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
1839
1837
  }
1840
1838
  }
1841
- declare module IGX.Std {
1839
+ declare namespace IGX.Std {
1842
1840
  class ZRasterTranslator extends IGX.Core.Interactor {
1843
1841
  osCoords: Float3;
1844
1842
  startPosition: number;
@@ -1852,7 +1850,7 @@ declare module IGX.Std {
1852
1850
  ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
1853
1851
  }
1854
1852
  }
1855
- declare module IGX.Std {
1853
+ declare namespace IGX.Std {
1856
1854
  /**
1857
1855
  * Parameters for the ZValueRotator class
1858
1856
  */
@@ -1912,7 +1910,67 @@ declare module IGX.Std {
1912
1910
  }
1913
1911
  export {};
1914
1912
  }
1915
- declare module IGX.Std {
1913
+ declare namespace IGX.Std {
1914
+ /**
1915
+ * Parameters for the ZValueTranslator class
1916
+ */
1917
+ interface ZValueTranslatorParams {
1918
+ /**
1919
+ * Array of available position values
1920
+ *
1921
+ * @creatorType LengthM[]
1922
+ * @default "[0.0, 1.0]"
1923
+ */
1924
+ Values?: string;
1925
+ /**
1926
+ * Value for Start state
1927
+ *
1928
+ * @creatorType LengthM
1929
+ * @default null
1930
+ */
1931
+ Start?: number;
1932
+ /**
1933
+ * Value for End state
1934
+ *
1935
+ * @creatorType LengthM
1936
+ * @default null
1937
+ */
1938
+ End?: number;
1939
+ /**
1940
+ * Animation stage
1941
+ *
1942
+ * @creatorType Integer
1943
+ * @default 1
1944
+ */
1945
+ Stage?: number;
1946
+ /**
1947
+ * Animation period
1948
+ *
1949
+ * @creatorType Float
1950
+ * @default 1
1951
+ */
1952
+ Period?: number;
1953
+ /**
1954
+ * Mouse interaction possible
1955
+ *
1956
+ * @creatorType Boolean
1957
+ * @default true
1958
+ */
1959
+ Manual?: boolean;
1960
+ }
1961
+ export class ZValueTranslator extends IGX.Core.Interactor {
1962
+ osCoords: Float3;
1963
+ startPosition: number;
1964
+ constructor(parameters: ZValueTranslatorParams);
1965
+ SetPosition(position: any): void;
1966
+ SingleTouchStart(touch: IGX.Core.Touch): void;
1967
+ SingleTouchMotion(touch: IGX.Core.Touch): void;
1968
+ SingleTouchEnd(touch: IGX.Core.Touch): void;
1969
+ ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
1970
+ }
1971
+ export {};
1972
+ }
1973
+ declare namespace IGX.Std {
1916
1974
  interface Params extends Pick<AnimationParameters, "Start" | "End" | "StageStart" | "StageEnd" | "Stage" | "Period"> {
1917
1975
  /**
1918
1976
  * The start value
@@ -1954,7 +2012,7 @@ declare module IGX.Std {
1954
2012
  }
1955
2013
  export {};
1956
2014
  }
1957
- declare module IGX.Std {
2015
+ declare namespace IGX.Std {
1958
2016
  /**
1959
2017
  * An Interactor for JSON animations with inverse kinematics.
1960
2018
  * Needs AnimationInteractor!
@@ -2059,7 +2117,7 @@ declare module IGX.Std {
2059
2117
  private constrain;
2060
2118
  }
2061
2119
  }
2062
- declare module IGX.Std {
2120
+ declare namespace IGX.Std {
2063
2121
  class Cache {
2064
2122
  private rootId;
2065
2123
  private stepSize;
@@ -2087,7 +2145,7 @@ declare module IGX.Std {
2087
2145
  interpolate(position: number): ShadowScene;
2088
2146
  }
2089
2147
  }
2090
- declare module IGX.Std {
2148
+ declare namespace IGX.Std {
2091
2149
  interface OtherParameters {
2092
2150
  /**
2093
2151
  * Parameter for animations and kinematics
@@ -2457,6 +2515,13 @@ declare module IGX.Std {
2457
2515
  * @default "null"
2458
2516
  */
2459
2517
  BackwardAnimation?: string;
2518
+ /**
2519
+ * Plays the full animation [0.0] to [0.5] and then backwards [0.5] to [1.0].
2520
+ *
2521
+ * @creatorType Boolean
2522
+ * @default false
2523
+ */
2524
+ AutoReset?: boolean | string;
2460
2525
  }
2461
2526
  /** An Interactor for JSON animations */
2462
2527
  export class AnimationInteractor extends IGX.Core.Interactor {
@@ -2479,6 +2544,7 @@ declare module IGX.Std {
2479
2544
  private d;
2480
2545
  private IGX_API;
2481
2546
  Debug: boolean;
2547
+ private autoReset;
2482
2548
  static windowReplacement: {
2483
2549
  comment: string;
2484
2550
  };
@@ -2504,7 +2570,7 @@ declare module IGX.Std {
2504
2570
  export const Test1: Animation;
2505
2571
  export {};
2506
2572
  }
2507
- declare module IGX.Std {
2573
+ declare namespace IGX.Std {
2508
2574
  /**
2509
2575
  * Parameters for the DeformationInteractor class
2510
2576
  */
@@ -2560,7 +2626,7 @@ declare module IGX.Std {
2560
2626
  }
2561
2627
  export {};
2562
2628
  }
2563
- declare module IGX.Std {
2629
+ declare namespace IGX.Std {
2564
2630
  /**
2565
2631
  * Parameters for the OffsetRotator class
2566
2632
  */
@@ -2654,7 +2720,7 @@ declare module IGX.Std {
2654
2720
  }
2655
2721
  export {};
2656
2722
  }
2657
- declare module IGX.Std {
2723
+ declare namespace IGX.Std {
2658
2724
  /**
2659
2725
  * Parameters for the VisibilityInteractor class
2660
2726
  */
@@ -2688,67 +2754,7 @@ declare module IGX.Std {
2688
2754
  }
2689
2755
  export {};
2690
2756
  }
2691
- declare module IGX.Std {
2692
- /**
2693
- * Parameters for the ZValueTranslator class
2694
- */
2695
- interface ZValueTranslatorParams {
2696
- /**
2697
- * Array of available position values
2698
- *
2699
- * @creatorType LengthM[]
2700
- * @default "[0.0, 1.0]"
2701
- */
2702
- Values?: string;
2703
- /**
2704
- * Value for Start state
2705
- *
2706
- * @creatorType LengthM
2707
- * @default null
2708
- */
2709
- Start?: number;
2710
- /**
2711
- * Value for End state
2712
- *
2713
- * @creatorType LengthM
2714
- * @default null
2715
- */
2716
- End?: number;
2717
- /**
2718
- * Animation stage
2719
- *
2720
- * @creatorType Integer
2721
- * @default 1
2722
- */
2723
- Stage?: number;
2724
- /**
2725
- * Animation period
2726
- *
2727
- * @creatorType Float
2728
- * @default 1
2729
- */
2730
- Period?: number;
2731
- /**
2732
- * Mouse interaction possible
2733
- *
2734
- * @creatorType Boolean
2735
- * @default true
2736
- */
2737
- Manual?: boolean;
2738
- }
2739
- export class ZValueTranslator extends IGX.Core.Interactor {
2740
- osCoords: Float3;
2741
- startPosition: number;
2742
- constructor(parameters: ZValueTranslatorParams);
2743
- SetPosition(position: any): void;
2744
- SingleTouchStart(touch: IGX.Core.Touch): void;
2745
- SingleTouchMotion(touch: IGX.Core.Touch): void;
2746
- SingleTouchEnd(touch: IGX.Core.Touch): void;
2747
- ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
2748
- }
2749
- export {};
2750
- }
2751
- declare module IGX.Std {
2757
+ declare namespace IGX.Std {
2752
2758
  interface Params {
2753
2759
  }
2754
2760
  /**