@intelligentgraphics/3d.ig.gfx.standard 1.10.4 → 1.10.5
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/IG.GFX.Standard.d.ts +93 -94
- package/IG.GFX.Standard.js +4 -4
- package/Readme.md +221 -217
- package/_Package.json +1 -1
- package/package.json +2 -2
package/IG.GFX.Standard.d.ts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Version: 1.10.
|
|
3
|
-
* Commit:
|
|
4
|
-
* Date: 2024-
|
|
2
|
+
* Version: 1.10.5.100
|
|
3
|
+
* Commit: 752a018
|
|
4
|
+
* Date: 2024-12-11T10:20:33.015Z
|
|
5
5
|
*
|
|
6
6
|
* @preserve
|
|
7
7
|
*/
|
|
8
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
1853
|
+
declare namespace IGX.Std {
|
|
1856
1854
|
/**
|
|
1857
1855
|
* Parameters for the ZValueRotator class
|
|
1858
1856
|
*/
|
|
@@ -1912,67 +1910,7 @@ declare module IGX.Std {
|
|
|
1912
1910
|
}
|
|
1913
1911
|
export {};
|
|
1914
1912
|
}
|
|
1915
|
-
declare
|
|
1916
|
-
/**
|
|
1917
|
-
* Parameters for the ZValueTranslator class
|
|
1918
|
-
*/
|
|
1919
|
-
interface ZValueTranslatorParams {
|
|
1920
|
-
/**
|
|
1921
|
-
* Array of available position values
|
|
1922
|
-
*
|
|
1923
|
-
* @creatorType LengthM[]
|
|
1924
|
-
* @default "[0.0, 1.0]"
|
|
1925
|
-
*/
|
|
1926
|
-
Values?: string;
|
|
1927
|
-
/**
|
|
1928
|
-
* Value for Start state
|
|
1929
|
-
*
|
|
1930
|
-
* @creatorType LengthM
|
|
1931
|
-
* @default null
|
|
1932
|
-
*/
|
|
1933
|
-
Start?: number;
|
|
1934
|
-
/**
|
|
1935
|
-
* Value for End state
|
|
1936
|
-
*
|
|
1937
|
-
* @creatorType LengthM
|
|
1938
|
-
* @default null
|
|
1939
|
-
*/
|
|
1940
|
-
End?: number;
|
|
1941
|
-
/**
|
|
1942
|
-
* Animation stage
|
|
1943
|
-
*
|
|
1944
|
-
* @creatorType Integer
|
|
1945
|
-
* @default 1
|
|
1946
|
-
*/
|
|
1947
|
-
Stage?: number;
|
|
1948
|
-
/**
|
|
1949
|
-
* Animation period
|
|
1950
|
-
*
|
|
1951
|
-
* @creatorType Float
|
|
1952
|
-
* @default 1
|
|
1953
|
-
*/
|
|
1954
|
-
Period?: number;
|
|
1955
|
-
/**
|
|
1956
|
-
* Mouse interaction possible
|
|
1957
|
-
*
|
|
1958
|
-
* @creatorType Boolean
|
|
1959
|
-
* @default true
|
|
1960
|
-
*/
|
|
1961
|
-
Manual?: boolean;
|
|
1962
|
-
}
|
|
1963
|
-
export class ZValueTranslator extends IGX.Core.Interactor {
|
|
1964
|
-
osCoords: Float3;
|
|
1965
|
-
startPosition: number;
|
|
1966
|
-
constructor(parameters: ZValueTranslatorParams);
|
|
1967
|
-
SetPosition(position: any): void;
|
|
1968
|
-
SingleTouchStart(touch: IGX.Core.Touch): void;
|
|
1969
|
-
SingleTouchMotion(touch: IGX.Core.Touch): void;
|
|
1970
|
-
SingleTouchEnd(touch: IGX.Core.Touch): void;
|
|
1971
|
-
ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
|
|
1972
|
-
}
|
|
1973
|
-
export {};
|
|
1974
|
-
}
|
|
1975
|
-
declare module IGX.Std {
|
|
1913
|
+
declare namespace IGX.Std {
|
|
1976
1914
|
interface Params extends Pick<AnimationParameters, "Start" | "End" | "StageStart" | "StageEnd" | "Stage" | "Period"> {
|
|
1977
1915
|
/**
|
|
1978
1916
|
* The start value
|
|
@@ -2014,7 +1952,7 @@ declare module IGX.Std {
|
|
|
2014
1952
|
}
|
|
2015
1953
|
export {};
|
|
2016
1954
|
}
|
|
2017
|
-
declare
|
|
1955
|
+
declare namespace IGX.Std {
|
|
2018
1956
|
/**
|
|
2019
1957
|
* An Interactor for JSON animations with inverse kinematics.
|
|
2020
1958
|
* Needs AnimationInteractor!
|
|
@@ -2119,7 +2057,7 @@ declare module IGX.Std {
|
|
|
2119
2057
|
private constrain;
|
|
2120
2058
|
}
|
|
2121
2059
|
}
|
|
2122
|
-
declare
|
|
2060
|
+
declare namespace IGX.Std {
|
|
2123
2061
|
class Cache {
|
|
2124
2062
|
private rootId;
|
|
2125
2063
|
private stepSize;
|
|
@@ -2147,7 +2085,7 @@ declare module IGX.Std {
|
|
|
2147
2085
|
interpolate(position: number): ShadowScene;
|
|
2148
2086
|
}
|
|
2149
2087
|
}
|
|
2150
|
-
declare
|
|
2088
|
+
declare namespace IGX.Std {
|
|
2151
2089
|
interface OtherParameters {
|
|
2152
2090
|
/**
|
|
2153
2091
|
* Parameter for animations and kinematics
|
|
@@ -2566,13 +2504,14 @@ declare module IGX.Std {
|
|
|
2566
2504
|
private readQuat;
|
|
2567
2505
|
private detectQuaternion;
|
|
2568
2506
|
private slerpInPlaceA;
|
|
2507
|
+
private SetMultiViaQuat;
|
|
2569
2508
|
private calculate___SetStagePositionInternal;
|
|
2570
2509
|
GetHints(): number[];
|
|
2571
2510
|
}
|
|
2572
2511
|
export const Test1: Animation;
|
|
2573
2512
|
export {};
|
|
2574
2513
|
}
|
|
2575
|
-
declare
|
|
2514
|
+
declare namespace IGX.Std {
|
|
2576
2515
|
/**
|
|
2577
2516
|
* Parameters for the DeformationInteractor class
|
|
2578
2517
|
*/
|
|
@@ -2628,7 +2567,7 @@ declare module IGX.Std {
|
|
|
2628
2567
|
}
|
|
2629
2568
|
export {};
|
|
2630
2569
|
}
|
|
2631
|
-
declare
|
|
2570
|
+
declare namespace IGX.Std {
|
|
2632
2571
|
/**
|
|
2633
2572
|
* Parameters for the OffsetRotator class
|
|
2634
2573
|
*/
|
|
@@ -2722,7 +2661,7 @@ declare module IGX.Std {
|
|
|
2722
2661
|
}
|
|
2723
2662
|
export {};
|
|
2724
2663
|
}
|
|
2725
|
-
declare
|
|
2664
|
+
declare namespace IGX.Std {
|
|
2726
2665
|
/**
|
|
2727
2666
|
* Parameters for the VisibilityInteractor class
|
|
2728
2667
|
*/
|
|
@@ -2756,7 +2695,67 @@ declare module IGX.Std {
|
|
|
2756
2695
|
}
|
|
2757
2696
|
export {};
|
|
2758
2697
|
}
|
|
2759
|
-
declare
|
|
2698
|
+
declare namespace IGX.Std {
|
|
2699
|
+
/**
|
|
2700
|
+
* Parameters for the ZValueTranslator class
|
|
2701
|
+
*/
|
|
2702
|
+
interface ZValueTranslatorParams {
|
|
2703
|
+
/**
|
|
2704
|
+
* Array of available position values
|
|
2705
|
+
*
|
|
2706
|
+
* @creatorType LengthM[]
|
|
2707
|
+
* @default "[0.0, 1.0]"
|
|
2708
|
+
*/
|
|
2709
|
+
Values?: string;
|
|
2710
|
+
/**
|
|
2711
|
+
* Value for Start state
|
|
2712
|
+
*
|
|
2713
|
+
* @creatorType LengthM
|
|
2714
|
+
* @default null
|
|
2715
|
+
*/
|
|
2716
|
+
Start?: number;
|
|
2717
|
+
/**
|
|
2718
|
+
* Value for End state
|
|
2719
|
+
*
|
|
2720
|
+
* @creatorType LengthM
|
|
2721
|
+
* @default null
|
|
2722
|
+
*/
|
|
2723
|
+
End?: number;
|
|
2724
|
+
/**
|
|
2725
|
+
* Animation stage
|
|
2726
|
+
*
|
|
2727
|
+
* @creatorType Integer
|
|
2728
|
+
* @default 1
|
|
2729
|
+
*/
|
|
2730
|
+
Stage?: number;
|
|
2731
|
+
/**
|
|
2732
|
+
* Animation period
|
|
2733
|
+
*
|
|
2734
|
+
* @creatorType Float
|
|
2735
|
+
* @default 1
|
|
2736
|
+
*/
|
|
2737
|
+
Period?: number;
|
|
2738
|
+
/**
|
|
2739
|
+
* Mouse interaction possible
|
|
2740
|
+
*
|
|
2741
|
+
* @creatorType Boolean
|
|
2742
|
+
* @default true
|
|
2743
|
+
*/
|
|
2744
|
+
Manual?: boolean;
|
|
2745
|
+
}
|
|
2746
|
+
export class ZValueTranslator extends IGX.Core.Interactor {
|
|
2747
|
+
osCoords: Float3;
|
|
2748
|
+
startPosition: number;
|
|
2749
|
+
constructor(parameters: ZValueTranslatorParams);
|
|
2750
|
+
SetPosition(position: any): void;
|
|
2751
|
+
SingleTouchStart(touch: IGX.Core.Touch): void;
|
|
2752
|
+
SingleTouchMotion(touch: IGX.Core.Touch): void;
|
|
2753
|
+
SingleTouchEnd(touch: IGX.Core.Touch): void;
|
|
2754
|
+
ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
|
|
2755
|
+
}
|
|
2756
|
+
export {};
|
|
2757
|
+
}
|
|
2758
|
+
declare namespace IGX.Std {
|
|
2760
2759
|
interface Params {
|
|
2761
2760
|
}
|
|
2762
2761
|
/**
|