@intelligentgraphics/3d.ig.gfx.standard 1.8.2 → 1.9.1

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,12 +1,117 @@
1
1
  /*
2
- * Version: 1.8.2.100
3
- * Commit: 6f0359b
4
- * Date: 2023-01-26T10:52:15.606Z
2
+ * Version: 1.9.1.100
3
+ * Commit: 1123ba2
4
+ * Date: 2023-06-27T07:50:46.573Z
5
5
  *
6
6
  * @preserve
7
7
  */
8
8
  /// <reference types="@intelligentgraphics/3d.ig.math" />
9
9
  /// <reference types="@intelligentgraphics/3d.ig.gfx.core" />
10
+ declare module IGX.Std {
11
+ const Minimum = "Minimum";
12
+ const Maximum = "Maximum";
13
+ const Snap = "Snap";
14
+ const Raster = "Raster";
15
+ const Values = "Values";
16
+ const StartValue = "StartValue";
17
+ const EndValue = "EndValue";
18
+ const StartTime = "StartTime";
19
+ const EndTime = "EndTime";
20
+ const Steps = "Steps";
21
+ const Mode = "Mode";
22
+ const XPosition = "XPosition";
23
+ const YPosition = "YPosition";
24
+ const ZPosition = "ZPosition";
25
+ const XRotation = "XRotation";
26
+ const YRotation = "YRotation";
27
+ const ZRotation = "ZRotation";
28
+ const Start = "Start";
29
+ const End = "End";
30
+ const Stage = "Stage";
31
+ const Period = "Period";
32
+ const BackwardPeriod = "BackwardPeriod";
33
+ const StageStart = "StageStart";
34
+ const StageEnd = "StageEnd";
35
+ const Manual = "Manual";
36
+ const cString = "string";
37
+ const cNumber = "number";
38
+ interface AnimationParameters {
39
+ /**
40
+ * Time value for Start state
41
+ *
42
+ * @creatorType Float
43
+ * @default 0
44
+ */
45
+ Start?: string | number;
46
+ /**
47
+ * Time value for End state
48
+ *
49
+ * @creatorType Float
50
+ * @default 1
51
+ */
52
+ End?: string | number;
53
+ StageStart?: string | number;
54
+ StageEnd?: string | number;
55
+ /**
56
+ * Animation stage
57
+ *
58
+ * @creatorType Integer
59
+ * @default 1
60
+ */
61
+ Stage?: string | number;
62
+ /**
63
+ * Animation periods
64
+ *
65
+ * @creatorType Float
66
+ * @default 1
67
+ */
68
+ Period?: string | number;
69
+ /**
70
+ * Periods used for the Backward Animation
71
+ *
72
+ * @creatorType Float
73
+ */
74
+ BackwardPeriod?: string | number;
75
+ Values?: number[] | string;
76
+ /**
77
+ * Biggest jump without kinematic recalculation. Range: 0.01 to 0.99. Start with 0.2 (20%)
78
+ *
79
+ * @creatorType Float
80
+ */
81
+ IntermediateCalculation?: string | number;
82
+ /**
83
+ * Enable debug logging
84
+ *
85
+ * @type {number}
86
+ * @creatorType Integer
87
+ */
88
+ DebugLevel?: number;
89
+ /**
90
+ * Save positions of first execution and reuse them. Avoid for iteractors modifying the same node.
91
+ *
92
+ * @creatorType Boolean
93
+ * @default false
94
+ */
95
+ Record?: string | boolean;
96
+ }
97
+ function SetupValue<P extends object>(parameters: P, key: keyof P, fallbackValue: number): void;
98
+ var SetupValues: (parameters: AnimationParameters & {
99
+ [key: string]: any;
100
+ }, fallbackValues: number[]) => void;
101
+ function GetValue<K extends keyof AnimationParameters>(parameters: AnimationParameters & {
102
+ [key: string]: any;
103
+ }, parameter: K): number;
104
+ function GetValue(parameters: AnimationParameters & {
105
+ [key: string]: any;
106
+ }, parameter: string): number;
107
+ var SetupAnimation: (parameters: AnimationParameters) => void;
108
+ /**
109
+ * Resturns the absolute path of a node inside a component
110
+ * @param componentId absolute path of component
111
+ * @param relPath relative path inside component
112
+ */
113
+ function getAbsPath(componentId: string, relPath: string): string;
114
+ }
10
115
  declare module IGX.Std {
11
116
  class KinematicChain {
12
117
  /** how are these joints inserted? (unit vector for all joints) */
@@ -208,70 +313,6 @@ declare module IGX.Std {
208
313
  }[];
209
314
  }
210
315
  }
211
- declare module IGX.Std {
212
- const Minimum = "Minimum";
213
- const Maximum = "Maximum";
214
- const Snap = "Snap";
215
- const Raster = "Raster";
216
- const Values = "Values";
217
- const StartValue = "StartValue";
218
- const EndValue = "EndValue";
219
- const StartTime = "StartTime";
220
- const EndTime = "EndTime";
221
- const Steps = "Steps";
222
- const Mode = "Mode";
223
- const XPosition = "XPosition";
224
- const YPosition = "YPosition";
225
- const ZPosition = "ZPosition";
226
- const XRotation = "XRotation";
227
- const YRotation = "YRotation";
228
- const ZRotation = "ZRotation";
229
- const Start = "Start";
230
- const End = "End";
231
- const Stage = "Stage";
232
- const Period = "Period";
233
- const BackwardPeriod = "BackwardPeriod";
234
- const StageStart = "StageStart";
235
- const StageEnd = "StageEnd";
236
- const Manual = "Manual";
237
- const cString = "string";
238
- const cNumber = "number";
239
- interface AnimationParameters {
240
- Start?: string | number;
241
- End?: string | number;
242
- StageStart?: string | number;
243
- StageEnd?: string | number;
244
- Stage?: string | number;
245
- Period?: string | number;
246
- BackwardPeriod?: string | number;
247
- Values?: number[] | string;
248
- IntermediateCalculation?: string | number;
249
- DebugLevel?: number;
250
- Record?: string | boolean;
251
- }
252
- function SetupValue<K extends keyof AnimationParameters>(parameters: AnimationParameters & {
253
- [key: string]: any;
254
- }, key: K, fallbackValue: number): void;
255
- function SetupValue(parameters: {
256
- [key: string]: any;
257
- }, key: string, fallbackValue: number): void;
258
- var SetupValues: (parameters: AnimationParameters & {
259
- [key: string]: any;
260
- }, fallbackValues: number[]) => void;
261
- function GetValue<K extends keyof AnimationParameters>(parameters: AnimationParameters & {
262
- [key: string]: any;
263
- }, parameter: K): number;
264
- function GetValue(parameters: AnimationParameters & {
265
- [key: string]: any;
266
- }, parameter: string): number;
267
- var SetupAnimation: (parameters: AnimationParameters) => void;
268
- /**
269
- * Resturns the absolute path of a node inside a component
270
- * @param componentId absolute path of component
271
- * @param relPath relative path inside component
272
- */
273
- function getAbsPath(componentId: string, relPath: string): string;
274
- }
275
316
  declare module IGX.Std {
276
317
  type Array3 = [number, number, number];
277
318
  export type ShadowScene = Record<string, {
@@ -390,6 +431,7 @@ declare namespace IGX.Std {
390
431
  * 7) use the tMove result to correctly change the matress position
391
432
  *
392
433
  * // save initial matress position
434
+ * ```ts
393
435
  * let tPosition = IGX.API.GetPosition(child);
394
436
  * IGX.API.SetZRotation(child, -tMove.rotation);
395
437
  * IGX.API.SetPosition(child, {
@@ -397,7 +439,7 @@ declare namespace IGX.Std {
397
439
  * y: tPosition.y + tMove.positionDifference.y,
398
440
  * z: tPosition.z + tMove.positionDifference.z
399
441
  * });
400
- *
442
+ * ```
401
443
  * NB: which set*Rotation is necessary depends one the spatial direction of the matress
402
444
  * also the sign might need flipping
403
445
  *
@@ -583,11 +625,93 @@ declare namespace IGX.Std {
583
625
  }
584
626
  }
585
627
  declare module IGX.Std {
586
- class XRangeRotator extends IGX.Core.Interactor {
628
+ /**
629
+ * Parameters for the XRangeRotator class
630
+ */
631
+ interface XRangeRotatorParams {
632
+ /**
633
+ * The minimum value of the object X rotation
634
+ *
635
+ * @creatorType ArcDEG
636
+ * @default 0
637
+ */
638
+ Minimum?: number;
639
+ /**
640
+ * The maximum value of the object X rotation
641
+ *
642
+ * @creatorType ArcDEG
643
+ * @default 90
644
+ */
645
+ Maximum?: number;
646
+ /**
647
+ * Snap range for both limits
648
+ *
649
+ * @creatorType ArcDEG
650
+ * @default 0
651
+ */
652
+ Snap?: number;
653
+ /**
654
+ * Value for Start state
655
+ *
656
+ * @creatorType ArcDEG
657
+ * @default null
658
+ */
659
+ Start?: number;
660
+ /**
661
+ * Value for End state
662
+ *
663
+ * @creatorType ArcDEG
664
+ * @default null
665
+ */
666
+ End?: number;
667
+ /**
668
+ * Animation stage
669
+ *
670
+ * @creatorType Integer
671
+ * @default 1
672
+ */
673
+ Stage?: number;
674
+ /**
675
+ * Animation period
676
+ *
677
+ * @creatorType Float
678
+ * @default 1
679
+ */
680
+ Period?: number;
681
+ /**
682
+ * Start state animation
683
+ *
684
+ * @creatorType Integer
685
+ * @default null
686
+ */
687
+ StageStart?: number;
688
+ /**
689
+ * End state for animation
690
+ *
691
+ * @creatorType Integer
692
+ * @default null
693
+ */
694
+ StageEnd?: number;
695
+ /**
696
+ * Mouse interaction possible
697
+ *
698
+ * @creatorType Boolean
699
+ * @default true
700
+ */
701
+ Manual?: boolean;
702
+ /**
703
+ * Plays the full animation [0.0] to [0.5] and then backwards [0.5] to [1.0].
704
+ *
705
+ * @creatorType Boolean
706
+ * @default false
707
+ */
708
+ AutoReset?: boolean | string;
709
+ }
710
+ export class XRangeRotator extends IGX.Core.Interactor {
587
711
  absRotation: number;
588
712
  nullAxis: IGX.Float3;
589
713
  bAutoReset: boolean;
590
- constructor(parameters: any);
714
+ constructor(parameters: XRangeRotatorParams);
591
715
  SetPosition(position: any): void;
592
716
  SetStagePosition(stage: number, position: number): void;
593
717
  SingleTouchStart(touch: IGX.Core.Touch): void;
@@ -595,13 +719,96 @@ declare module IGX.Std {
595
719
  SingleTouchEnd(touch: IGX.Core.Touch): void;
596
720
  ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
597
721
  }
722
+ export {};
598
723
  }
599
724
  declare module IGX.Std {
600
- class XRangeTranslator extends IGX.Core.Interactor {
725
+ /**
726
+ * Parameters for the XRangeTranslator class
727
+ */
728
+ interface XRangeTranslatorParams {
729
+ /**
730
+ * The minimum value of the object X position
731
+ *
732
+ * @creatorType LengthM
733
+ * @default 0
734
+ */
735
+ Minimum?: number;
736
+ /**
737
+ * The maximum value of the object X position
738
+ *
739
+ * @creatorType LengthM
740
+ * @default 1
741
+ */
742
+ Maximum?: number;
743
+ /**
744
+ * The snap distance
745
+ *
746
+ * @creatorType LengthM
747
+ * @default 0
748
+ */
749
+ Snap?: number;
750
+ /**
751
+ * Value for Start state
752
+ *
753
+ * @creatorType LengthM
754
+ * @default null
755
+ */
756
+ Start?: number;
757
+ /**
758
+ * Value for End state
759
+ *
760
+ * @creatorType LengthM
761
+ * @default null
762
+ */
763
+ End?: number;
764
+ /**
765
+ * Animation stage
766
+ *
767
+ * @creatorType Integer
768
+ * @default 1
769
+ */
770
+ Stage?: number;
771
+ /**
772
+ * Animation period
773
+ *
774
+ * @creatorType Float
775
+ * @default 1
776
+ */
777
+ Period?: number;
778
+ /**
779
+ * Start state animation
780
+ *
781
+ * @creatorType Integer
782
+ * @default null
783
+ */
784
+ StageStart?: number;
785
+ /**
786
+ * Start state animation
787
+ *
788
+ * @creatorType Integer
789
+ * @default null
790
+ */
791
+ StageEnd?: number;
792
+ /**
793
+ * Mouse interaction possible
794
+ *
795
+ * @creatorType Boolean
796
+ * @default true
797
+ */
798
+ Manual?: boolean;
799
+ /**
800
+ * Plays the full animation [0.0] to [0.5] and then backwards [0.5] to [1.0].
801
+ *
802
+ * @creatorType Boolean
803
+ * @default false
804
+ */
805
+ AutoReset?: boolean | string;
806
+ }
807
+ export class XRangeTranslator extends IGX.Core.Interactor {
601
808
  osCoords: any;
602
809
  startPosition: number;
603
810
  bAutoReset: boolean;
604
- constructor(parameters: any);
811
+ constructor(parameters: XRangeTranslatorParams);
605
812
  SetPosition(position: any): void;
606
813
  SetStagePosition(stage: number, position: number): void;
607
814
  SingleTouchStart(touch: IGX.Core.Touch): void;
@@ -609,13 +816,96 @@ declare module IGX.Std {
609
816
  SingleTouchEnd(touch: IGX.Core.Touch): void;
610
817
  ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
611
818
  }
819
+ export {};
612
820
  }
613
821
  declare module IGX.Std {
614
- class XRasterRotator extends IGX.Core.Interactor {
822
+ /**
823
+ * Parameters for the XRasterRotator class
824
+ */
825
+ interface XRasterRotatorParams {
826
+ /**
827
+ * The minimum value of the object X rotation
828
+ *
829
+ * @creatorType ArcDEG
830
+ * @default 0
831
+ */
832
+ Minimum?: number;
833
+ /**
834
+ * The maximum value of the object X rotation
835
+ *
836
+ * @creatorType ArcDEG
837
+ * @default 90
838
+ */
839
+ Maximum?: number;
840
+ /**
841
+ * The raster value
842
+ *
843
+ * @creatorType ArcDEG
844
+ * @default 15
845
+ */
846
+ Raster?: number;
847
+ /**
848
+ * Value for Start state
849
+ *
850
+ * @creatorType ArcDEG
851
+ * @default null
852
+ */
853
+ Start?: number;
854
+ /**
855
+ * Value for End state
856
+ *
857
+ * @creatorType ArcDEG
858
+ * @default null
859
+ */
860
+ End?: number;
861
+ /**
862
+ * Animation stage
863
+ *
864
+ * @creatorType Integer
865
+ * @default 1
866
+ */
867
+ Stage?: number;
868
+ /**
869
+ * Animation period
870
+ *
871
+ * @creatorType Float
872
+ * @default 1
873
+ */
874
+ Period?: number;
875
+ /**
876
+ * Start state animation
877
+ *
878
+ * @creatorType Integer
879
+ * @default null
880
+ */
881
+ StageStart?: number;
882
+ /**
883
+ * Start state animation
884
+ *
885
+ * @creatorType Integer
886
+ * @default null
887
+ */
888
+ StageEnd?: number;
889
+ /**
890
+ * Mouse interaction possible
891
+ *
892
+ * @creatorType Boolean
893
+ * @default true
894
+ */
895
+ Manual?: boolean;
896
+ /**
897
+ * Plays the full animation [0.0] to [0.5] and then backwards [0.5] to [1.0].
898
+ *
899
+ * @creatorType Boolean
900
+ * @default false
901
+ */
902
+ AutoReset?: boolean | string;
903
+ }
904
+ export class XRasterRotator extends IGX.Core.Interactor {
615
905
  absRotation: number;
616
906
  nullAxis: Float3;
617
907
  bAutoReset: boolean;
618
- constructor(parameters: any);
908
+ constructor(parameters: XRasterRotatorParams);
619
909
  SetPosition(position: any): void;
620
910
  SetStagePosition(stage: number, position: number): void;
621
911
  SingleTouchStart(touch: IGX.Core.Touch): void;
@@ -623,13 +913,96 @@ declare module IGX.Std {
623
913
  SingleTouchEnd(touch: IGX.Core.Touch): void;
624
914
  ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
625
915
  }
916
+ export {};
626
917
  }
627
918
  declare module IGX.Std {
628
- class XRasterTranslator extends IGX.Core.Interactor {
919
+ /**
920
+ * Parameters for the XRasterTranslator class
921
+ */
922
+ interface XRasterTranslatorParams {
923
+ /**
924
+ * The minimum value of the object X position
925
+ *
926
+ * @creatorType LengthM
927
+ * @default 0
928
+ */
929
+ Minimum?: number;
930
+ /**
931
+ * The maximum value of the object X position
932
+ *
933
+ * @creatorType LengthM
934
+ * @default 1
935
+ */
936
+ Maximum?: number;
937
+ /**
938
+ * The raster value
939
+ *
940
+ * @creatorType LengthM
941
+ * @default 0.1
942
+ */
943
+ Raster?: number;
944
+ /**
945
+ * Value for Start state
946
+ *
947
+ * @creatorType LengthM
948
+ * @default null
949
+ */
950
+ Start?: number;
951
+ /**
952
+ * Value for End state
953
+ *
954
+ * @creatorType LengthM
955
+ * @default null
956
+ */
957
+ End?: number;
958
+ /**
959
+ * Animation stage
960
+ *
961
+ * @creatorType Integer
962
+ * @default 1
963
+ */
964
+ Stage?: number;
965
+ /**
966
+ * Animation period
967
+ *
968
+ * @creatorType Float
969
+ * @default 1
970
+ */
971
+ Period?: number;
972
+ /**
973
+ * Start state animation
974
+ *
975
+ * @creatorType Integer
976
+ * @default null
977
+ */
978
+ StageStart?: number;
979
+ /**
980
+ * Start state animation
981
+ *
982
+ * @creatorType Integer
983
+ * @default null
984
+ */
985
+ StageEnd?: number;
986
+ /**
987
+ * Mouse interaction possible
988
+ *
989
+ * @creatorType Boolean
990
+ * @default true
991
+ */
992
+ Manual?: boolean;
993
+ /**
994
+ * Plays the full animation [0.0] to [0.5] and then backwards [0.5] to [1.0].
995
+ *
996
+ * @creatorType Boolean
997
+ * @default false
998
+ */
999
+ AutoReset?: boolean | string;
1000
+ }
1001
+ export class XRasterTranslator extends IGX.Core.Interactor {
629
1002
  osCoords: Float3;
630
1003
  startPosition: number;
631
1004
  bAutoReset: boolean;
632
- constructor(parameters: any);
1005
+ constructor(parameters: XRasterTranslatorParams);
633
1006
  SetPosition(position: any): void;
634
1007
  SetStagePosition(stage: number, position: number): void;
635
1008
  SingleTouchStart(touch: IGX.Core.Touch): void;
@@ -637,37 +1010,216 @@ declare module IGX.Std {
637
1010
  SingleTouchEnd(touch: IGX.Core.Touch): void;
638
1011
  ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
639
1012
  }
1013
+ export {};
640
1014
  }
641
1015
  declare module IGX.Std {
642
- class XValueRotator extends IGX.Core.Interactor {
1016
+ /**
1017
+ * Parameters for the XValueRotator class
1018
+ */
1019
+ interface XValueRotatorParams {
1020
+ /**
1021
+ * Array of available rotation values
1022
+ *
1023
+ * @creatorType ArcDEG[]
1024
+ * @default "[0.0, 90.0]"
1025
+ */
1026
+ Values?: string;
1027
+ /**
1028
+ * Value for Start state
1029
+ *
1030
+ * @creatorType ArcDEG
1031
+ * @default null
1032
+ */
1033
+ Start?: number;
1034
+ /**
1035
+ * Value for End state
1036
+ *
1037
+ * @creatorType ArcDEG
1038
+ * @default null
1039
+ */
1040
+ End?: number;
1041
+ /**
1042
+ * Animation stage
1043
+ *
1044
+ * @creatorType Integer
1045
+ * @default 1
1046
+ */
1047
+ Stage?: number;
1048
+ /**
1049
+ * Animation period
1050
+ *
1051
+ * @creatorType Float
1052
+ * @default 1
1053
+ */
1054
+ Period?: number;
1055
+ /**
1056
+ * Mouse interaction possible
1057
+ *
1058
+ * @creatorType Boolean
1059
+ * @default true
1060
+ */
1061
+ Manual?: boolean;
1062
+ }
1063
+ export class XValueRotator extends IGX.Core.Interactor {
643
1064
  absRotation: number;
644
1065
  nullAxis: Float3;
645
- constructor(parameters: any);
1066
+ constructor(parameters: XValueRotatorParams);
646
1067
  SetPosition(position: any): void;
647
1068
  SingleTouchStart(touch: IGX.Core.Touch): void;
648
1069
  SingleTouchMotion(touch: IGX.Core.Touch): void;
649
1070
  SingleTouchEnd(touch: IGX.Core.Touch): void;
650
1071
  ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
651
1072
  }
1073
+ export {};
652
1074
  }
653
1075
  declare module IGX.Std {
654
- class XValueTranslator extends IGX.Core.Interactor {
1076
+ /**
1077
+ * Parameters for the XValueTranslator class
1078
+ */
1079
+ interface XValueTranslatorParams {
1080
+ /**
1081
+ * Array of available position values
1082
+ *
1083
+ * @creatorType LengthM[]
1084
+ * @default "[0.0, 1.0]"
1085
+ */
1086
+ Values?: string;
1087
+ /**
1088
+ * Value for Start state
1089
+ *
1090
+ * @creatorType LengthM
1091
+ * @default null
1092
+ */
1093
+ Start?: number;
1094
+ /**
1095
+ * Value for End state
1096
+ *
1097
+ * @creatorType LengthM
1098
+ * @default null
1099
+ */
1100
+ End?: number;
1101
+ /**
1102
+ * Animation stage
1103
+ *
1104
+ * @creatorType Integer
1105
+ * @default 1
1106
+ */
1107
+ Stage?: number;
1108
+ /**
1109
+ * Animation period
1110
+ *
1111
+ * @creatorType Float
1112
+ * @default 1
1113
+ */
1114
+ Period?: number;
1115
+ /**
1116
+ * Mouse interaction possible
1117
+ *
1118
+ * @creatorType Boolean
1119
+ * @default true
1120
+ */
1121
+ Manual?: boolean;
1122
+ }
1123
+ export class XValueTranslator extends IGX.Core.Interactor {
655
1124
  osCoords: Float3;
656
1125
  startPosition: number;
657
- constructor(parameters: any);
1126
+ constructor(parameters: XValueTranslatorParams);
658
1127
  SetPosition(position: any): void;
659
1128
  SingleTouchStart(touch: IGX.Core.Touch): void;
660
1129
  SingleTouchMotion(touch: IGX.Core.Touch): void;
661
1130
  SingleTouchEnd(touch: IGX.Core.Touch): void;
662
1131
  ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
663
1132
  }
1133
+ export {};
664
1134
  }
665
1135
  declare module IGX.Std {
666
- class YRangeRotator extends IGX.Core.Interactor {
1136
+ /**
1137
+ * Parameters for the YRangeRotator class
1138
+ */
1139
+ interface YRangeRotatorParams {
1140
+ /**
1141
+ * The minimum value of the object Y rotation
1142
+ *
1143
+ * @creatorType ArcDEG
1144
+ * @default 0
1145
+ */
1146
+ Minimum?: number;
1147
+ /**
1148
+ * The maximum value of the object Y rotation
1149
+ *
1150
+ * @creatorType ArcDEG
1151
+ * @default 90
1152
+ */
1153
+ Maximum?: number;
1154
+ /**
1155
+ * Snap range for both limits
1156
+ *
1157
+ * @creatorType ArcDEG
1158
+ * @default 0
1159
+ */
1160
+ Snap?: number;
1161
+ /**
1162
+ * Value for Start state
1163
+ *
1164
+ * @creatorType ArcDEG
1165
+ * @default null
1166
+ */
1167
+ Start?: number;
1168
+ /**
1169
+ * Value for End state
1170
+ *
1171
+ * @creatorType ArcDEG
1172
+ * @default null
1173
+ */
1174
+ End?: number;
1175
+ /**
1176
+ * Animation stage
1177
+ *
1178
+ * @creatorType Integer
1179
+ * @default 1
1180
+ */
1181
+ Stage?: number;
1182
+ /**
1183
+ * Animation period
1184
+ *
1185
+ * @creatorType Float
1186
+ * @default 1
1187
+ */
1188
+ Period?: number;
1189
+ /**
1190
+ * Start state animation
1191
+ *
1192
+ * @creatorType Integer
1193
+ * @default null
1194
+ */
1195
+ StageStart?: number;
1196
+ /**
1197
+ * Start state animation
1198
+ *
1199
+ * @creatorType Integer
1200
+ * @default null
1201
+ */
1202
+ StageEnd?: number;
1203
+ /**
1204
+ * Mouse interaction possible
1205
+ *
1206
+ * @creatorType Boolean
1207
+ * @default true
1208
+ */
1209
+ Manual?: boolean;
1210
+ /**
1211
+ * Plays the full animation [0.0] to [0.5] and then backwards [0.5] to [1.0].
1212
+ *
1213
+ * @creatorType Boolean
1214
+ * @default false
1215
+ */
1216
+ AutoReset?: boolean | string;
1217
+ }
1218
+ export class YRangeRotator extends IGX.Core.Interactor {
667
1219
  absRotation: number;
668
1220
  nullAxis: Float3;
669
1221
  bAutoReset: boolean;
670
- constructor(parameters: any);
1222
+ constructor(parameters: YRangeRotatorParams);
671
1223
  SetPosition(position: any): void;
672
1224
  SetStagePosition(stage: number, position: number): void;
673
1225
  SingleTouchStart(touch: IGX.Core.Touch): void;
@@ -675,13 +1227,96 @@ declare module IGX.Std {
675
1227
  SingleTouchEnd(touch: IGX.Core.Touch): void;
676
1228
  ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
677
1229
  }
1230
+ export {};
678
1231
  }
679
1232
  declare module IGX.Std {
680
- class YRangeTranslator extends IGX.Core.Interactor {
1233
+ /**
1234
+ * Parameters for the YRangeTranslator class
1235
+ */
1236
+ interface YRangeTranslatorParams {
1237
+ /**
1238
+ * The minimum value of the object Y position
1239
+ *
1240
+ * @creatorType LengthM
1241
+ * @default 0
1242
+ */
1243
+ Minimum?: number;
1244
+ /**
1245
+ * The maximum value of the object Y position
1246
+ *
1247
+ * @creatorType LengthM
1248
+ * @default 1
1249
+ */
1250
+ Maximum?: number;
1251
+ /**
1252
+ * The snap distance
1253
+ *
1254
+ * @creatorType LengthM
1255
+ * @default 0
1256
+ */
1257
+ Snap?: number;
1258
+ /**
1259
+ * Value for Start state
1260
+ *
1261
+ * @creatorType LengthM
1262
+ * @default null
1263
+ */
1264
+ Start?: number;
1265
+ /**
1266
+ * Value for End state
1267
+ *
1268
+ * @creatorType LengthM
1269
+ * @default null
1270
+ */
1271
+ End?: number;
1272
+ /**
1273
+ * Animation stage
1274
+ *
1275
+ * @creatorType Integer
1276
+ * @default 1
1277
+ */
1278
+ Stage?: number;
1279
+ /**
1280
+ * Animation period
1281
+ *
1282
+ * @creatorType Float
1283
+ * @default 1
1284
+ */
1285
+ Period?: number;
1286
+ /**
1287
+ * Start state animation
1288
+ *
1289
+ * @creatorType Integer
1290
+ * @default null
1291
+ */
1292
+ StageStart?: number;
1293
+ /**
1294
+ * Start state animation
1295
+ *
1296
+ * @creatorType Integer
1297
+ * @default null
1298
+ */
1299
+ StageEnd?: number;
1300
+ /**
1301
+ * Mouse interaction possible
1302
+ *
1303
+ * @creatorType Boolean
1304
+ * @default true
1305
+ */
1306
+ Manual?: boolean;
1307
+ /**
1308
+ * Plays the full animation [0.0] to [0.5] and then backwards [0.5] to [1.0].
1309
+ *
1310
+ * @creatorType Boolean
1311
+ * @default false
1312
+ */
1313
+ AutoReset?: boolean | string;
1314
+ }
1315
+ export class YRangeTranslator extends IGX.Core.Interactor {
681
1316
  osCoords: Float3;
682
1317
  startPosition: number;
683
1318
  bAutoReset: boolean;
684
- constructor(parameters: any);
1319
+ constructor(parameters: YRangeTranslatorParams);
685
1320
  SetPosition(position: any): void;
686
1321
  SetStagePosition(stage: number, position: number): void;
687
1322
  SingleTouchStart(touch: IGX.Core.Touch): void;
@@ -689,13 +1324,82 @@ declare module IGX.Std {
689
1324
  SingleTouchEnd(touch: IGX.Core.Touch): void;
690
1325
  ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
691
1326
  }
1327
+ export {};
692
1328
  }
693
1329
  declare module IGX.Std {
694
- class YRasterRotator extends IGX.Core.Interactor {
1330
+ /**
1331
+ * Parameters for the YRasterRotator class
1332
+ */
1333
+ interface YRasterRotatorParams {
1334
+ /**
1335
+ * The minimum value of the object Y rotation
1336
+ *
1337
+ * @creatorType ArcDEG
1338
+ * @default 0
1339
+ */
1340
+ Minimum?: number;
1341
+ /**
1342
+ * The maximum value of the object Y rotation
1343
+ *
1344
+ * @creatorType ArcDEG
1345
+ * @default 90
1346
+ */
1347
+ Maximum?: number;
1348
+ /**
1349
+ * The raster value
1350
+ *
1351
+ * @creatorType ArcDEG
1352
+ * @default 15
1353
+ */
1354
+ Raster?: number;
1355
+ /**
1356
+ * Value for Start state
1357
+ *
1358
+ * @creatorType ArcDEG
1359
+ * @default null
1360
+ */
1361
+ Start?: number;
1362
+ /**
1363
+ * Value for End state
1364
+ *
1365
+ * @creatorType ArcDEG
1366
+ * @default null
1367
+ */
1368
+ End?: number;
1369
+ /**
1370
+ * Animation stage
1371
+ *
1372
+ * @creatorType Integer
1373
+ * @default 1
1374
+ */
1375
+ Stage?: number;
1376
+ /**
1377
+ * Animation period
1378
+ *
1379
+ * @creatorType Float
1380
+ * @default 1
1381
+ */
1382
+ Period?: number;
1383
+ /**
1384
+ * Mouse interaction possible
1385
+ *
1386
+ * @creatorType Boolean
1387
+ * @default true
1388
+ */
1389
+ Manual?: boolean;
1390
+ /**
1391
+ * Plays the full animation [0.0] to [0.5] and then backwards [0.5] to [1.0].
1392
+ *
1393
+ * @creatorType Boolean
1394
+ * @default false
1395
+ */
1396
+ AutoReset?: boolean | string;
1397
+ }
1398
+ export class YRasterRotator extends IGX.Core.Interactor {
695
1399
  absRotation: number;
696
1400
  nullAxis: Float3;
697
1401
  bAutoReset: boolean;
698
- constructor(parameters: any);
1402
+ constructor(parameters: YRasterRotatorParams);
699
1403
  SetPosition(position: any): void;
700
1404
  SetStagePosition(stage: number, position: number): void;
701
1405
  SingleTouchStart(touch: IGX.Core.Touch): void;
@@ -703,13 +1407,82 @@ declare module IGX.Std {
703
1407
  SingleTouchEnd(touch: IGX.Core.Touch): void;
704
1408
  ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
705
1409
  }
1410
+ export {};
706
1411
  }
707
1412
  declare module IGX.Std {
708
- class YRasterTranslator extends IGX.Core.Interactor {
1413
+ /**
1414
+ * Parameters for the YRasterTranslator class
1415
+ */
1416
+ interface YRasterTranslatorParams {
1417
+ /**
1418
+ * The minimum value of the object Y position
1419
+ *
1420
+ * @creatorType LengthM
1421
+ * @default 0
1422
+ */
1423
+ Minimum?: number;
1424
+ /**
1425
+ * The maximum value of the object Y position
1426
+ *
1427
+ * @creatorType LengthM
1428
+ * @default 1
1429
+ */
1430
+ Maximum?: number;
1431
+ /**
1432
+ * The raster value
1433
+ *
1434
+ * @creatorType LengthM
1435
+ * @default 0.1
1436
+ */
1437
+ Raster?: number;
1438
+ /**
1439
+ * Value for Start state
1440
+ *
1441
+ * @creatorType LengthM
1442
+ * @default null
1443
+ */
1444
+ Start?: number;
1445
+ /**
1446
+ * Value for End state
1447
+ *
1448
+ * @creatorType LengthM
1449
+ * @default null
1450
+ */
1451
+ End?: number;
1452
+ /**
1453
+ * Animation stage
1454
+ *
1455
+ * @creatorType Integer
1456
+ * @default 1
1457
+ */
1458
+ Stage?: number;
1459
+ /**
1460
+ * Animation period
1461
+ *
1462
+ * @creatorType Float
1463
+ * @default 1
1464
+ */
1465
+ Period?: number;
1466
+ /**
1467
+ * Mouse interaction possible
1468
+ *
1469
+ * @creatorType Boolean
1470
+ * @default true
1471
+ */
1472
+ Manual?: boolean;
1473
+ /**
1474
+ * Plays the full animation [0.0] to [0.5] and then backwards [0.5] to [1.0].
1475
+ *
1476
+ * @creatorType Boolean
1477
+ * @default false
1478
+ */
1479
+ AutoReset?: boolean | string;
1480
+ }
1481
+ export class YRasterTranslator extends IGX.Core.Interactor {
709
1482
  osCoords: Float3;
710
1483
  startPosition: number;
711
1484
  bAutoReset: boolean;
712
- constructor(parameters: any);
1485
+ constructor(parameters: YRasterTranslatorParams);
713
1486
  SetPosition(position: any): void;
714
1487
  SetStagePosition(stage: number, position: number): void;
715
1488
  SingleTouchStart(touch: IGX.Core.Touch): void;
@@ -717,37 +1490,216 @@ declare module IGX.Std {
717
1490
  SingleTouchEnd(touch: IGX.Core.Touch): void;
718
1491
  ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
719
1492
  }
1493
+ export {};
720
1494
  }
721
1495
  declare module IGX.Std {
722
- class YValueRotator extends IGX.Core.Interactor {
1496
+ /**
1497
+ * Parameters for the YValueRotator class
1498
+ */
1499
+ interface YValueRotatorParams {
1500
+ /**
1501
+ * Array of available rotation values
1502
+ *
1503
+ * @creatorType ArcDEG[]
1504
+ * @default "[0.0, 90.0]"
1505
+ */
1506
+ Values?: string;
1507
+ /**
1508
+ * Value for Start state
1509
+ *
1510
+ * @creatorType ArcDEG
1511
+ * @default null
1512
+ */
1513
+ Start?: number;
1514
+ /**
1515
+ * Value for End state
1516
+ *
1517
+ * @creatorType ArcDEG
1518
+ * @default null
1519
+ */
1520
+ End?: number;
1521
+ /**
1522
+ * Animation stage
1523
+ *
1524
+ * @creatorType Integer
1525
+ * @default 1
1526
+ */
1527
+ Stage?: number;
1528
+ /**
1529
+ * Animation period
1530
+ *
1531
+ * @creatorType Float
1532
+ * @default 1
1533
+ */
1534
+ Period?: number;
1535
+ /**
1536
+ * Mouse interaction possible
1537
+ *
1538
+ * @creatorType Boolean
1539
+ * @default true
1540
+ */
1541
+ Manual?: boolean;
1542
+ }
1543
+ export class YValueRotator extends IGX.Core.Interactor {
723
1544
  absRotation: number;
724
1545
  nullAxis: Float3;
725
- constructor(parameters: any);
1546
+ constructor(parameters: YValueRotatorParams);
726
1547
  SetPosition(position: any): void;
727
1548
  SingleTouchStart(touch: IGX.Core.Touch): void;
728
1549
  SingleTouchMotion(touch: IGX.Core.Touch): void;
729
1550
  SingleTouchEnd(touch: IGX.Core.Touch): void;
730
1551
  ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
731
1552
  }
1553
+ export {};
732
1554
  }
733
1555
  declare module IGX.Std {
734
- class YValueTranslator extends IGX.Core.Interactor {
1556
+ /**
1557
+ * Parameters for the YValueTranslator class
1558
+ */
1559
+ interface YValueTranslatorParams {
1560
+ /**
1561
+ * Array of available position values
1562
+ *
1563
+ * @creatorType LengthM[]
1564
+ * @default "[0.0, 1.0]"
1565
+ */
1566
+ Values?: string;
1567
+ /**
1568
+ * Value for Start state
1569
+ *
1570
+ * @creatorType LengthM
1571
+ * @default null
1572
+ */
1573
+ Start?: number;
1574
+ /**
1575
+ * Value for End state
1576
+ *
1577
+ * @creatorType LengthM
1578
+ * @default null
1579
+ */
1580
+ End?: number;
1581
+ /**
1582
+ * Animation stage
1583
+ *
1584
+ * @creatorType Integer
1585
+ * @default 1
1586
+ */
1587
+ Stage?: number;
1588
+ /**
1589
+ * Animation period
1590
+ *
1591
+ * @creatorType Float
1592
+ * @default 1
1593
+ */
1594
+ Period?: number;
1595
+ /**
1596
+ * Mouse interaction possible
1597
+ *
1598
+ * @creatorType Boolean
1599
+ * @default true
1600
+ */
1601
+ Manual?: boolean;
1602
+ }
1603
+ export class YValueTranslator extends IGX.Core.Interactor {
735
1604
  osCoords: Float3;
736
1605
  startPosition: number;
737
- constructor(parameters: any);
1606
+ constructor(parameters: YValueTranslatorParams);
738
1607
  SetPosition(position: any): void;
739
1608
  SingleTouchStart(touch: IGX.Core.Touch): void;
740
1609
  SingleTouchMotion(touch: IGX.Core.Touch): void;
741
1610
  SingleTouchEnd(touch: IGX.Core.Touch): void;
742
1611
  ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
743
1612
  }
1613
+ export {};
744
1614
  }
745
1615
  declare module IGX.Std {
746
- class ZRangeRotator extends IGX.Core.Interactor {
1616
+ /**
1617
+ * Parameters for the ZRangeRotator class
1618
+ */
1619
+ interface ZRangeRotatorParams {
1620
+ /**
1621
+ * The minimum value of the object Z rotation
1622
+ *
1623
+ * @creatorType ArcDEG
1624
+ * @default 0
1625
+ */
1626
+ Minimum?: number;
1627
+ /**
1628
+ * The maximum value of the object Z rotation
1629
+ *
1630
+ * @creatorType ArcDEG
1631
+ * @default 90
1632
+ */
1633
+ Maximum?: number;
1634
+ /**
1635
+ * Snap range for both limits
1636
+ *
1637
+ * @creatorType ArcDEG
1638
+ * @default 0
1639
+ */
1640
+ Snap?: number;
1641
+ /**
1642
+ * Value for Start state
1643
+ *
1644
+ * @creatorType ArcDEG
1645
+ * @default null
1646
+ */
1647
+ Start?: number;
1648
+ /**
1649
+ * Value for End state
1650
+ *
1651
+ * @creatorType ArcDEG
1652
+ * @default null
1653
+ */
1654
+ End?: number;
1655
+ /**
1656
+ * Animation stage
1657
+ *
1658
+ * @creatorType Integer
1659
+ * @default 1
1660
+ */
1661
+ Stage?: number;
1662
+ /**
1663
+ * Animation period
1664
+ *
1665
+ * @creatorType Float
1666
+ * @default 1
1667
+ */
1668
+ Period?: number;
1669
+ /**
1670
+ * Start state animation
1671
+ *
1672
+ * @creatorType Integer
1673
+ * @default null
1674
+ */
1675
+ StageStart?: number;
1676
+ /**
1677
+ * Start state animation
1678
+ *
1679
+ * @creatorType Integer
1680
+ * @default null
1681
+ */
1682
+ StageEnd?: number;
1683
+ /**
1684
+ * Mouse interaction possible
1685
+ *
1686
+ * @creatorType Boolean
1687
+ * @default true
1688
+ */
1689
+ Manual?: boolean;
1690
+ /**
1691
+ * Plays the full animation [0.0] to [0.5] and then backwards [0.5] to [1.0].
1692
+ *
1693
+ * @creatorType Boolean
1694
+ * @default false
1695
+ */
1696
+ AutoReset?: boolean | string;
1697
+ }
1698
+ export class ZRangeRotator extends IGX.Core.Interactor {
747
1699
  absRotation: number;
748
1700
  nullAxis: Float3;
749
1701
  bAutoReset: boolean;
750
- constructor(parameters: any);
1702
+ constructor(parameters: ZRangeRotatorParams);
751
1703
  SetPosition(position: any): void;
752
1704
  SetStagePosition(stage: number, position: number): void;
753
1705
  SingleTouchStart(touch: IGX.Core.Touch): void;
@@ -755,13 +1707,96 @@ declare module IGX.Std {
755
1707
  SingleTouchEnd(touch: IGX.Core.Touch): void;
756
1708
  ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
757
1709
  }
1710
+ export {};
758
1711
  }
759
1712
  declare module IGX.Std {
760
- class ZRangeTranslator extends IGX.Core.Interactor {
1713
+ /**
1714
+ * Parameters for the ZRangeTranslator class
1715
+ */
1716
+ interface ZRangeTranslatorParams {
1717
+ /**
1718
+ * The minimum value of the object Z position
1719
+ *
1720
+ * @creatorType LengthM
1721
+ * @default 0
1722
+ */
1723
+ Minimum?: number;
1724
+ /**
1725
+ * The maximum value of the object Z position
1726
+ *
1727
+ * @creatorType LengthM
1728
+ * @default 1
1729
+ */
1730
+ Maximum?: number;
1731
+ /**
1732
+ * The snap distance
1733
+ *
1734
+ * @creatorType LengthM
1735
+ * @default 0
1736
+ */
1737
+ Snap?: number;
1738
+ /**
1739
+ * Value for Start state
1740
+ *
1741
+ * @creatorType LengthM
1742
+ * @default null
1743
+ */
1744
+ Start?: number;
1745
+ /**
1746
+ * Value for End state
1747
+ *
1748
+ * @creatorType LengthM
1749
+ * @default null
1750
+ */
1751
+ End?: number;
1752
+ /**
1753
+ * Animation stage
1754
+ *
1755
+ * @creatorType Integer
1756
+ * @default 1
1757
+ */
1758
+ Stage?: number;
1759
+ /**
1760
+ * Animation period
1761
+ *
1762
+ * @creatorType Float
1763
+ * @default 1
1764
+ */
1765
+ Period?: number;
1766
+ /**
1767
+ * Start state animation
1768
+ *
1769
+ * @creatorType Integer
1770
+ * @default null
1771
+ */
1772
+ StageStart?: number;
1773
+ /**
1774
+ * Start state animation
1775
+ *
1776
+ * @creatorType Integer
1777
+ * @default null
1778
+ */
1779
+ StageEnd?: number;
1780
+ /**
1781
+ * Mouse interaction possible
1782
+ *
1783
+ * @creatorType Boolean
1784
+ * @default true
1785
+ */
1786
+ Manual?: boolean;
1787
+ /**
1788
+ * Plays the full animation [0.0] to [0.5] and then backwards [0.5] to [1.0].
1789
+ *
1790
+ * @creatorType Boolean
1791
+ * @default false
1792
+ */
1793
+ AutoReset?: boolean | string;
1794
+ }
1795
+ export class ZRangeTranslator extends IGX.Core.Interactor {
761
1796
  osCoords: Float3;
762
1797
  startPosition: number;
763
1798
  bAutoReset: boolean;
764
- constructor(parameters: any);
1799
+ constructor(parameters: ZRangeTranslatorParams);
765
1800
  SetPosition(position: any): void;
766
1801
  SetStagePosition(stage: number, position: number): void;
767
1802
  SingleTouchStart(touch: IGX.Core.Touch): void;
@@ -769,6 +1804,7 @@ declare module IGX.Std {
769
1804
  SingleTouchEnd(touch: IGX.Core.Touch): void;
770
1805
  ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
771
1806
  }
1807
+ export {};
772
1808
  }
773
1809
  declare module IGX.Std {
774
1810
  class ZRasterRotator extends IGX.Core.Interactor {
@@ -799,63 +1835,166 @@ declare module IGX.Std {
799
1835
  }
800
1836
  }
801
1837
  declare module IGX.Std {
802
- class ZValueRotator extends IGX.Core.Interactor {
1838
+ /**
1839
+ * Parameters for the ZValueRotator class
1840
+ */
1841
+ interface ZValueRotatorParams {
1842
+ /**
1843
+ * Array of available rotation values
1844
+ *
1845
+ * @creatorType ArcDEG[]
1846
+ * @default "[0.0, 90.0]"
1847
+ */
1848
+ Values?: string;
1849
+ /**
1850
+ * Value for Start state
1851
+ *
1852
+ * @creatorType ArcDEG
1853
+ * @default null
1854
+ */
1855
+ Start?: number;
1856
+ /**
1857
+ * Value for End state
1858
+ *
1859
+ * @creatorType ArcDEG
1860
+ * @default null
1861
+ */
1862
+ End?: number;
1863
+ /**
1864
+ * Animation stage
1865
+ *
1866
+ * @creatorType Integer
1867
+ * @default 1
1868
+ */
1869
+ Stage?: number;
1870
+ /**
1871
+ * Animation period
1872
+ *
1873
+ * @creatorType Float
1874
+ * @default 1
1875
+ */
1876
+ Period?: number;
1877
+ /**
1878
+ * Mouse interaction possible
1879
+ *
1880
+ * @creatorType Boolean
1881
+ * @default true
1882
+ */
1883
+ Manual?: boolean;
1884
+ }
1885
+ export class ZValueRotator extends IGX.Core.Interactor {
803
1886
  absRotation: number;
804
1887
  nullAxis: Float3;
805
- constructor(parameters: any);
1888
+ constructor(parameters: ZValueRotatorParams);
806
1889
  SetPosition(position: any): void;
807
1890
  SingleTouchStart(touch: IGX.Core.Touch): void;
808
1891
  SingleTouchMotion(touch: IGX.Core.Touch): void;
809
1892
  SingleTouchEnd(touch: IGX.Core.Touch): void;
810
1893
  ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
811
1894
  }
1895
+ export {};
812
1896
  }
813
1897
  declare module IGX.Std {
814
- class ZValueTranslator extends IGX.Core.Interactor {
1898
+ /**
1899
+ * Parameters for the ZValueTranslator class
1900
+ */
1901
+ interface ZValueTranslatorParams {
1902
+ /**
1903
+ * Array of available position values
1904
+ *
1905
+ * @creatorType LengthM[]
1906
+ * @default "[0.0, 1.0]"
1907
+ */
1908
+ Values?: string;
1909
+ /**
1910
+ * Value for Start state
1911
+ *
1912
+ * @creatorType LengthM
1913
+ * @default null
1914
+ */
1915
+ Start?: number;
1916
+ /**
1917
+ * Value for End state
1918
+ *
1919
+ * @creatorType LengthM
1920
+ * @default null
1921
+ */
1922
+ End?: number;
1923
+ /**
1924
+ * Animation stage
1925
+ *
1926
+ * @creatorType Integer
1927
+ * @default 1
1928
+ */
1929
+ Stage?: number;
1930
+ /**
1931
+ * Animation period
1932
+ *
1933
+ * @creatorType Float
1934
+ * @default 1
1935
+ */
1936
+ Period?: number;
1937
+ /**
1938
+ * Mouse interaction possible
1939
+ *
1940
+ * @creatorType Boolean
1941
+ * @default true
1942
+ */
1943
+ Manual?: boolean;
1944
+ }
1945
+ export class ZValueTranslator extends IGX.Core.Interactor {
815
1946
  osCoords: Float3;
816
1947
  startPosition: number;
817
- constructor(parameters: any);
1948
+ constructor(parameters: ZValueTranslatorParams);
818
1949
  SetPosition(position: any): void;
819
1950
  SingleTouchStart(touch: IGX.Core.Touch): void;
820
1951
  SingleTouchMotion(touch: IGX.Core.Touch): void;
821
1952
  SingleTouchEnd(touch: IGX.Core.Touch): void;
822
1953
  ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
823
1954
  }
1955
+ export {};
824
1956
  }
825
1957
  declare module IGX.Std {
826
- class BasicLinearInteractor extends IGX.Core.Interactor {
827
- constructor(parameters: {
828
- [key: string]: any;
829
- });
830
- SetPosition(position: string): void;
831
- private ApplyValue;
832
- SetStagePosition(stage: number, position: number): void;
833
- }
834
- }
835
- declare module IGX.Std {
836
- class DeformationInteractor extends IGX.Core.Interactor {
837
- bAutoReset: boolean;
838
- constructor(parameters: any);
839
- SetPosition(position: string): void;
840
- SetStagePosition(stage: number, position: number): void;
841
- }
842
- }
843
- declare module IGX.Std {
844
- class OffsetRotator extends IGX.Core.Interactor {
845
- position: Float3;
846
- bAutoReset: boolean;
847
- constructor(parameters: any);
848
- SetPosition(position: string): void;
849
- setPosition(position: number): void;
850
- SetStagePosition(stage: number, position: number): void;
1958
+ interface Params extends Pick<AnimationParameters, "Start" | "End" | "StageStart" | "StageEnd" | "Stage" | "Period"> {
1959
+ /**
1960
+ * The start value
1961
+ *
1962
+ * @creatorType Float
1963
+ * @default 0
1964
+ */
1965
+ StartValue?: number;
1966
+ /**
1967
+ * The end value
1968
+ *
1969
+ * @creatorType Float
1970
+ * @default 0
1971
+ */
1972
+ EndValue?: number;
1973
+ /**
1974
+ * The start time of this interactor in stage progress (0..1)
1975
+ *
1976
+ * @creatorType Float
1977
+ * @default 0
1978
+ */
1979
+ StartTime?: number;
1980
+ /**
1981
+ * The end time of this interactor in stage progress (0..1)
1982
+ *
1983
+ * @creatorType Float
1984
+ * @default 1
1985
+ */
1986
+ EndTime?: number;
851
1987
  }
852
- }
853
- declare module IGX.Std {
854
- class VisibilityInteractor extends IGX.Core.Interactor {
855
- constructor(parameters: any);
1988
+ /**
1989
+ * Linear interpolation of a position/rotation value
1990
+ */
1991
+ export class BasicLinearInteractor extends IGX.Core.Interactor<Params> {
1992
+ constructor(parameters: Params);
856
1993
  SetPosition(position: string): void;
1994
+ private ApplyValue;
857
1995
  SetStagePosition(stage: number, position: number): void;
858
1996
  }
1997
+ export {};
859
1998
  }
860
1999
  declare module IGX.Std {
861
2000
  /**
@@ -870,7 +2009,7 @@ declare module IGX.Std {
870
2009
  private _ComponentId;
871
2010
  private _MaxIteration;
872
2011
  private IGX_API;
873
- constructor(param: any, api: any);
2012
+ constructor(param: KinematicChain | KinematicChain[], api: any);
874
2013
  /**
875
2014
  * Solves the kinematic problem
876
2015
  * Also writes the resultsvia draw()
@@ -991,8 +2130,378 @@ declare module IGX.Std {
991
2130
  }
992
2131
  }
993
2132
  declare module IGX.Std {
2133
+ interface OtherParameters {
2134
+ /**
2135
+ * Parameter for animations and kinematics
2136
+ *
2137
+ * @creatorType String
2138
+ * @default "null"
2139
+ */
2140
+ Param1?: string;
2141
+ /**
2142
+ * Parameter for animations and kinematics
2143
+ *
2144
+ * @creatorType String
2145
+ * @default "null"
2146
+ */
2147
+ Param2?: string;
2148
+ /**
2149
+ * Parameter for animations and kinematics
2150
+ *
2151
+ * @creatorType String
2152
+ * @default "null"
2153
+ */
2154
+ Param3?: string;
2155
+ /**
2156
+ * Parameter for animations and kinematics
2157
+ *
2158
+ * @creatorType String
2159
+ * @default "null"
2160
+ */
2161
+ Param4?: string;
2162
+ /**
2163
+ * Parameter for animations and kinematics
2164
+ *
2165
+ * @creatorType String
2166
+ * @default "null"
2167
+ */
2168
+ Param5?: string;
2169
+ /**
2170
+ * Parameter for animations and kinematics
2171
+ *
2172
+ * @creatorType String
2173
+ * @default "null"
2174
+ */
2175
+ Param6?: string;
2176
+ /**
2177
+ * Parameter for animations and kinematics
2178
+ *
2179
+ * @creatorType String
2180
+ * @default "null"
2181
+ */
2182
+ Param7?: string;
2183
+ /**
2184
+ * Parameter for animations and kinematics
2185
+ *
2186
+ * @creatorType String
2187
+ * @default "null"
2188
+ */
2189
+ Param8?: string;
2190
+ /**
2191
+ * Parameter for animations and kinematics
2192
+ *
2193
+ * @creatorType String
2194
+ * @default "null"
2195
+ */
2196
+ Param9?: string;
2197
+ /**
2198
+ * Parameter for animations and kinematics
2199
+ *
2200
+ * @creatorType String
2201
+ * @default "null"
2202
+ */
2203
+ Param10?: string;
2204
+ /**
2205
+ * Parameter for animations and kinematics
2206
+ *
2207
+ * @creatorType String
2208
+ * @default "null"
2209
+ */
2210
+ Param11?: string;
2211
+ /**
2212
+ * Parameter for animations and kinematics
2213
+ *
2214
+ * @creatorType String
2215
+ * @default "null"
2216
+ */
2217
+ Param12?: string;
2218
+ /**
2219
+ * Parameter for animations and kinematics
2220
+ *
2221
+ * @creatorType String
2222
+ * @default "null"
2223
+ */
2224
+ Param13?: string;
2225
+ /**
2226
+ * Parameter for animations and kinematics
2227
+ *
2228
+ * @creatorType String
2229
+ * @default "null"
2230
+ */
2231
+ Param14?: string;
2232
+ /**
2233
+ * Parameter for animations and kinematics
2234
+ *
2235
+ * @creatorType String
2236
+ * @default "null"
2237
+ */
2238
+ Param15?: string;
2239
+ /**
2240
+ * Parameter for animations and kinematics
2241
+ *
2242
+ * @creatorType String
2243
+ * @default "null"
2244
+ */
2245
+ Param16?: string;
2246
+ /**
2247
+ * Parameter for animations and kinematics
2248
+ *
2249
+ * @creatorType String
2250
+ * @default "null"
2251
+ */
2252
+ Param17?: string;
2253
+ /**
2254
+ * Parameter for animations and kinematics
2255
+ *
2256
+ * @creatorType String
2257
+ * @default "null"
2258
+ */
2259
+ Param18?: string;
2260
+ /**
2261
+ * Parameter for animations and kinematics
2262
+ *
2263
+ * @creatorType String
2264
+ * @default "null"
2265
+ */
2266
+ Param19?: string;
2267
+ /**
2268
+ * Parameter for animations and kinematics
2269
+ *
2270
+ * @creatorType String
2271
+ * @default "null"
2272
+ */
2273
+ Param20?: string;
2274
+ /**
2275
+ * Parameter for animations and kinematics
2276
+ *
2277
+ * @creatorType String
2278
+ * @default "null"
2279
+ */
2280
+ Param21?: string;
2281
+ /**
2282
+ * Parameter for animations and kinematics
2283
+ *
2284
+ * @creatorType String
2285
+ * @default "null"
2286
+ */
2287
+ Param22?: string;
2288
+ /**
2289
+ * Parameter for animations and kinematics
2290
+ *
2291
+ * @creatorType String
2292
+ * @default "null"
2293
+ */
2294
+ Param23?: string;
2295
+ /**
2296
+ * Parameter for animations and kinematics
2297
+ *
2298
+ * @creatorType String
2299
+ * @default "null"
2300
+ */
2301
+ Param24?: string;
2302
+ /**
2303
+ * Parameter for animations and kinematics
2304
+ *
2305
+ * @creatorType String
2306
+ * @default "null"
2307
+ */
2308
+ Param25?: string;
2309
+ /**
2310
+ * Parameter for animations and kinematics
2311
+ *
2312
+ * @creatorType String
2313
+ * @default "null"
2314
+ */
2315
+ Param26?: string;
2316
+ /**
2317
+ * Parameter for animations and kinematics
2318
+ *
2319
+ * @creatorType String
2320
+ * @default "null"
2321
+ */
2322
+ Param27?: string;
2323
+ /**
2324
+ * Parameter for animations and kinematics
2325
+ *
2326
+ * @creatorType String
2327
+ * @default "null"
2328
+ */
2329
+ Param28?: string;
2330
+ /**
2331
+ * Parameter for animations and kinematics
2332
+ *
2333
+ * @creatorType String
2334
+ * @default "null"
2335
+ */
2336
+ Param29?: string;
2337
+ /**
2338
+ * Parameter for animations and kinematics
2339
+ *
2340
+ * @creatorType String
2341
+ * @default "null"
2342
+ */
2343
+ Param30?: string;
2344
+ /**
2345
+ * Parameter for animations and kinematics
2346
+ *
2347
+ * @creatorType String
2348
+ * @default "null"
2349
+ */
2350
+ Param31?: string;
2351
+ /**
2352
+ * Parameter for animations and kinematics
2353
+ *
2354
+ * @creatorType String
2355
+ * @default "null"
2356
+ */
2357
+ Param32?: string;
2358
+ /**
2359
+ * Parameter for animations and kinematics
2360
+ *
2361
+ * @creatorType String
2362
+ * @default "null"
2363
+ */
2364
+ Param33?: string;
2365
+ /**
2366
+ * Parameter for animations and kinematics
2367
+ *
2368
+ * @creatorType String
2369
+ * @default "null"
2370
+ */
2371
+ Param34?: string;
2372
+ /**
2373
+ * Parameter for animations and kinematics
2374
+ *
2375
+ * @creatorType String
2376
+ * @default "null"
2377
+ */
2378
+ Param35?: string;
2379
+ /**
2380
+ * Parameter for animations and kinematics
2381
+ *
2382
+ * @creatorType String
2383
+ * @default "null"
2384
+ */
2385
+ Param36?: string;
2386
+ /**
2387
+ * Parameter for animations and kinematics
2388
+ *
2389
+ * @creatorType String
2390
+ * @default "null"
2391
+ */
2392
+ Param37?: string;
2393
+ /**
2394
+ * Parameter for animations and kinematics
2395
+ *
2396
+ * @creatorType String
2397
+ * @default "null"
2398
+ */
2399
+ Param38?: string;
2400
+ /**
2401
+ * Parameter for animations and kinematics
2402
+ *
2403
+ * @creatorType String
2404
+ * @default "null"
2405
+ */
2406
+ Param39?: string;
2407
+ /**
2408
+ * Parameter for animations and kinematics
2409
+ *
2410
+ * @creatorType String
2411
+ * @default "null"
2412
+ */
2413
+ Param40?: string;
2414
+ /**
2415
+ * Parameter for animations and kinematics
2416
+ *
2417
+ * @creatorType String
2418
+ * @default "null"
2419
+ */
2420
+ Param41?: string;
2421
+ /**
2422
+ * Parameter for animations and kinematics
2423
+ *
2424
+ * @creatorType String
2425
+ * @default "null"
2426
+ */
2427
+ Param42?: string;
2428
+ /**
2429
+ * Parameter for animations and kinematics
2430
+ *
2431
+ * @creatorType String
2432
+ * @default "null"
2433
+ */
2434
+ Param43?: string;
2435
+ /**
2436
+ * Parameter for animations and kinematics
2437
+ *
2438
+ * @creatorType String
2439
+ * @default "null"
2440
+ */
2441
+ Param44?: string;
2442
+ /**
2443
+ * Parameter for animations and kinematics
2444
+ *
2445
+ * @creatorType String
2446
+ * @default "null"
2447
+ */
2448
+ Param45?: string;
2449
+ /**
2450
+ * Parameter for animations and kinematics
2451
+ *
2452
+ * @creatorType String
2453
+ * @default "null"
2454
+ */
2455
+ Param46?: string;
2456
+ /**
2457
+ * Parameter for animations and kinematics
2458
+ *
2459
+ * @creatorType String
2460
+ * @default "null"
2461
+ */
2462
+ Param47?: string;
2463
+ /**
2464
+ * Parameter for animations and kinematics
2465
+ *
2466
+ * @creatorType String
2467
+ * @default "null"
2468
+ */
2469
+ Param48?: string;
2470
+ /**
2471
+ * Parameter for animations and kinematics
2472
+ *
2473
+ * @creatorType String
2474
+ * @default "null"
2475
+ */
2476
+ Param49?: string;
2477
+ /**
2478
+ * Parameter for animations and kinematics
2479
+ *
2480
+ * @creatorType String
2481
+ * @default "null"
2482
+ */
2483
+ Param50?: string;
2484
+ }
2485
+ /**
2486
+ * Parameters for the AnimationInteractor class
2487
+ */
2488
+ interface AnimationInteractorParams extends Pick<AnimationParameters, "Start" | "End" | "Stage" | "Period" | "BackwardPeriod" | "IntermediateCalculation" | "DebugLevel" | "Record">, OtherParameters {
2489
+ /**
2490
+ * Fully scoped animation id
2491
+ *
2492
+ * @creatorType Animation
2493
+ */
2494
+ Animation: string;
2495
+ /**
2496
+ * (optional) Different backward animation
2497
+ *
2498
+ * @creatorType Animation
2499
+ * @default "null"
2500
+ */
2501
+ BackwardAnimation?: string;
2502
+ }
994
2503
  /** An Interactor for JSON animations */
995
- class AnimationInteractor extends IGX.Core.Interactor {
2504
+ export class AnimationInteractor extends IGX.Core.Interactor {
996
2505
  static PARAM_COUNT: number;
997
2506
  params: string[];
998
2507
  animation: Animation;
@@ -1012,7 +2521,7 @@ declare module IGX.Std {
1012
2521
  private d;
1013
2522
  private IGX_API;
1014
2523
  Debug: boolean;
1015
- constructor(parameters: any);
2524
+ constructor(parameters: AnimationInteractorParams);
1016
2525
  setUseCache(value: boolean): void;
1017
2526
  private PrepAnimation;
1018
2527
  SetPosition(position: "Start" | "End"): void;
@@ -1025,11 +2534,193 @@ declare module IGX.Std {
1025
2534
  * @param position number between 0 and 1 including the boundaries
1026
2535
  */
1027
2536
  private calculateMissing;
2537
+ private readQuat;
2538
+ private detectQuaternion;
2539
+ private slerpInPlaceA;
1028
2540
  private calculate___SetStagePositionInternal;
1029
2541
  }
1030
- const Test1: Animation;
2542
+ export const Test1: Animation;
2543
+ export {};
2544
+ }
2545
+ declare module IGX.Std {
2546
+ /**
2547
+ * Parameters for the DeformationInteractor class
2548
+ */
2549
+ interface DeformationInteractorParams {
2550
+ /**
2551
+ * Flip the direction the deformation is controlled.
2552
+ *
2553
+ * @creatorType Boolean
2554
+ * @default false
2555
+ */
2556
+ Inverse?: boolean;
2557
+ /**
2558
+ * Time value for Start state
2559
+ *
2560
+ * @creatorType Float
2561
+ * @default 0
2562
+ */
2563
+ Start?: number;
2564
+ /**
2565
+ * Time value for End state
2566
+ *
2567
+ * @creatorType Float
2568
+ * @default 1
2569
+ */
2570
+ End?: number;
2571
+ /**
2572
+ * Animation stage
2573
+ *
2574
+ * @creatorType Integer
2575
+ * @default 1
2576
+ */
2577
+ Stage?: number;
2578
+ /**
2579
+ * Animation period
2580
+ *
2581
+ * @creatorType Float
2582
+ * @default 1
2583
+ */
2584
+ Period?: number;
2585
+ /**
2586
+ * Plays the full animation [0.0] to [0.5] and then backwards [0.5] to [1.0].
2587
+ *
2588
+ * @creatorType Boolean
2589
+ * @default false
2590
+ */
2591
+ AutoReset?: boolean | string;
2592
+ }
2593
+ export class DeformationInteractor extends IGX.Core.Interactor {
2594
+ bAutoReset: boolean;
2595
+ constructor(parameters: DeformationInteractorParams);
2596
+ SetPosition(position: string): void;
2597
+ SetStagePosition(stage: number, position: number): void;
2598
+ }
2599
+ export {};
2600
+ }
2601
+ declare module IGX.Std {
2602
+ /**
2603
+ * Parameters for the OffsetRotator class
2604
+ */
2605
+ interface OffsetRotatorParams extends IGX.Core.InteractorParams {
2606
+ /**
2607
+ * Minimum angle
2608
+ *
2609
+ * @creatorType ArcDEG
2610
+ * @default 0
2611
+ */
2612
+ Minimum?: number;
2613
+ /**
2614
+ * Maximum angle
2615
+ *
2616
+ * @creatorType ArcDEG
2617
+ * @default 90
2618
+ */
2619
+ Maximum?: number;
2620
+ /**
2621
+ * Start angle
2622
+ *
2623
+ * @creatorType ArcDEG
2624
+ * @default 0
2625
+ */
2626
+ Start?: number;
2627
+ /**
2628
+ * End angle
2629
+ *
2630
+ * @creatorType ArcDEG
2631
+ * @default 90
2632
+ */
2633
+ End?: number;
2634
+ /**
2635
+ * Start angle
2636
+ *
2637
+ * @creatorType ArcDEG
2638
+ * @default 0
2639
+ */
2640
+ StageStart?: number;
2641
+ /**
2642
+ * End angle
2643
+ *
2644
+ * @creatorType ArcDEG
2645
+ * @default 90
2646
+ */
2647
+ StageEnd?: number;
2648
+ /**
2649
+ * Thickness of the object
2650
+ *
2651
+ * @creatorType Float
2652
+ * @default 0
2653
+ */
2654
+ Thickness?: number;
2655
+ /**
2656
+ * Axis to rotate arround
2657
+ *
2658
+ * @creatorType String
2659
+ * @default "X"
2660
+ */
2661
+ RotationAxis?: string;
2662
+ /**
2663
+ * Side to rotate
2664
+ *
2665
+ * @creatorType String
2666
+ * @default "Left"
2667
+ */
2668
+ Offset?: string;
2669
+ /**
2670
+ * Plays the full animation [0.0] to [0.5] and then backwards [0.5] to [1.0].
2671
+ *
2672
+ * @creatorType Boolean
2673
+ * @default false
2674
+ */
2675
+ AutoReset?: boolean | string;
2676
+ }
2677
+ export class OffsetRotator extends IGX.Core.Interactor<OffsetRotatorParams> {
2678
+ position: Float3;
2679
+ bAutoReset: boolean;
2680
+ constructor(parameters: OffsetRotatorParams);
2681
+ SetPosition(position: string): void;
2682
+ setPosition(position: number): void;
2683
+ SetStagePosition(stage: number, position: number): void;
2684
+ }
2685
+ export {};
2686
+ }
2687
+ declare module IGX.Std {
2688
+ /**
2689
+ * Parameters for the VisibilityInteractor class
2690
+ */
2691
+ interface VisibilityInteractorParams {
2692
+ /**
2693
+ * Time value that triggers visibility
2694
+ *
2695
+ * @creatorType Float
2696
+ * @default 0.1
2697
+ */
2698
+ Threshold?: number;
2699
+ /**
2700
+ * Animation stage
2701
+ *
2702
+ * @creatorType Integer
2703
+ * @default 1
2704
+ */
2705
+ Stage?: number;
2706
+ /**
2707
+ * Animation period
2708
+ *
2709
+ * @creatorType Float
2710
+ * @default 1
2711
+ */
2712
+ Period?: number;
2713
+ }
2714
+ export class VisibilityInteractor extends IGX.Core.Interactor {
2715
+ constructor(parameters: VisibilityInteractorParams);
2716
+ SetPosition(position: string): void;
2717
+ SetStagePosition(stage: number, position: number): void;
2718
+ }
2719
+ export {};
1031
2720
  }
1032
2721
  declare module IGX.Std {
2722
+ interface Params {
2723
+ }
1033
2724
  /**
1034
2725
  * Empty interactor to be used as placeholder
1035
2726
  *
@@ -1037,9 +2728,10 @@ declare module IGX.Std {
1037
2728
  * @class EmptyInteractor
1038
2729
  * @extends {IGX.Core.Interactor}
1039
2730
  */
1040
- class EmptyInteractor extends IGX.Core.Interactor {
1041
- constructor(parameters: any);
2731
+ export class EmptyInteractor extends IGX.Core.Interactor {
2732
+ constructor(parameters: Params);
1042
2733
  SetPosition(position: string): void;
1043
2734
  SetStagePosition(stage: number, position: number): void;
1044
2735
  }
2736
+ export {};
1045
2737
  }