@shapediver/viewer.shared.types 3.8.15 → 3.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.
- package/README.md +1 -1
- package/dist/implementation/data/AnimationData.d.ts +2 -2
- package/dist/implementation/data/AnimationData.d.ts.map +1 -1
- package/dist/implementation/data/AnimationData.js +56 -49
- package/dist/implementation/data/AnimationData.js.map +1 -1
- package/dist/implementation/data/BoneData.d.ts +2 -2
- package/dist/implementation/data/BoneData.d.ts.map +1 -1
- package/dist/implementation/data/BoneData.js.map +1 -1
- package/dist/implementation/data/CustomData.d.ts +2 -2
- package/dist/implementation/data/CustomData.d.ts.map +1 -1
- package/dist/implementation/data/CustomData.js.map +1 -1
- package/dist/implementation/data/GeometryData.d.ts +5 -5
- package/dist/implementation/data/GeometryData.d.ts.map +1 -1
- package/dist/implementation/data/GeometryData.js +15 -13
- package/dist/implementation/data/GeometryData.js.map +1 -1
- package/dist/implementation/data/HTMLElementAnchorData.d.ts +7 -7
- package/dist/implementation/data/HTMLElementAnchorData.d.ts.map +1 -1
- package/dist/implementation/data/HTMLElementAnchorData.js +40 -28
- package/dist/implementation/data/HTMLElementAnchorData.js.map +1 -1
- package/dist/implementation/data/InstanceData.d.ts +4 -4
- package/dist/implementation/data/InstanceData.d.ts.map +1 -1
- package/dist/implementation/data/InstanceData.js.map +1 -1
- package/dist/implementation/material/AbstractMaterialData.d.ts +4 -4
- package/dist/implementation/material/AbstractMaterialData.d.ts.map +1 -1
- package/dist/implementation/material/AbstractMaterialData.js +2 -2
- package/dist/implementation/material/AbstractMaterialData.js.map +1 -1
- package/dist/implementation/material/MapData.d.ts +4 -4
- package/dist/implementation/material/MapData.d.ts.map +1 -1
- package/dist/implementation/material/MapData.js +32 -12
- package/dist/implementation/material/MapData.js.map +1 -1
- package/dist/implementation/material/MaterialBasicLineData.d.ts +2 -2
- package/dist/implementation/material/MaterialBasicLineData.d.ts.map +1 -1
- package/dist/implementation/material/MaterialBasicLineData.js +4 -4
- package/dist/implementation/material/MaterialBasicLineData.js.map +1 -1
- package/dist/implementation/material/MaterialGemData.d.ts +5 -5
- package/dist/implementation/material/MaterialGemData.d.ts.map +1 -1
- package/dist/implementation/material/MaterialGemData.js +8 -8
- package/dist/implementation/material/MaterialGemData.js.map +1 -1
- package/dist/implementation/material/MaterialLambertData.d.ts +23 -0
- package/dist/implementation/material/MaterialLambertData.d.ts.map +1 -0
- package/dist/implementation/material/MaterialLambertData.js +147 -0
- package/dist/implementation/material/MaterialLambertData.js.map +1 -0
- package/dist/implementation/material/MaterialMultiPointData.d.ts +4 -4
- package/dist/implementation/material/MaterialMultiPointData.d.ts.map +1 -1
- package/dist/implementation/material/MaterialMultiPointData.js +19 -19
- package/dist/implementation/material/MaterialMultiPointData.js.map +1 -1
- package/dist/implementation/material/MaterialPhongData.d.ts +28 -0
- package/dist/implementation/material/MaterialPhongData.d.ts.map +1 -0
- package/dist/implementation/material/MaterialPhongData.js +171 -0
- package/dist/implementation/material/MaterialPhongData.js.map +1 -0
- package/dist/implementation/material/MaterialPointData.d.ts +2 -2
- package/dist/implementation/material/MaterialPointData.d.ts.map +1 -1
- package/dist/implementation/material/MaterialPointData.js +4 -4
- package/dist/implementation/material/MaterialPointData.js.map +1 -1
- package/dist/implementation/material/MaterialShadowData.d.ts.map +1 -1
- package/dist/implementation/material/MaterialShadowData.js +1 -1
- package/dist/implementation/material/MaterialShadowData.js.map +1 -1
- package/dist/implementation/material/MaterialSpecularGlossinessData.d.ts +4 -4
- package/dist/implementation/material/MaterialSpecularGlossinessData.d.ts.map +1 -1
- package/dist/implementation/material/MaterialSpecularGlossinessData.js +5 -5
- package/dist/implementation/material/MaterialSpecularGlossinessData.js.map +1 -1
- package/dist/implementation/material/MaterialStandardData.d.ts +4 -4
- package/dist/implementation/material/MaterialStandardData.d.ts.map +1 -1
- package/dist/implementation/material/MaterialStandardData.js +9 -9
- package/dist/implementation/material/MaterialStandardData.js.map +1 -1
- package/dist/implementation/material/MaterialUnlitData.d.ts.map +1 -1
- package/dist/implementation/material/MaterialUnlitData.js +3 -3
- package/dist/implementation/material/MaterialUnlitData.js.map +1 -1
- package/dist/implementation/material/MaterialVariantsData.d.ts +3 -3
- package/dist/implementation/material/MaterialVariantsData.d.ts.map +1 -1
- package/dist/implementation/material/MaterialVariantsData.js +3 -2
- package/dist/implementation/material/MaterialVariantsData.js.map +1 -1
- package/dist/implementation/sdtf/SDTFAttributesData.d.ts +3 -3
- package/dist/implementation/sdtf/SDTFAttributesData.d.ts.map +1 -1
- package/dist/implementation/sdtf/SDTFAttributesData.js.map +1 -1
- package/dist/implementation/sdtf/SDTFItemData.d.ts +4 -4
- package/dist/implementation/sdtf/SDTFItemData.d.ts.map +1 -1
- package/dist/implementation/sdtf/SDTFItemData.js.map +1 -1
- package/dist/implementation/sdtf/SDTFOverviewData.d.ts +2 -2
- package/dist/implementation/sdtf/SDTFOverviewData.d.ts.map +1 -1
- package/dist/implementation/sdtf/SDTFOverviewData.js +8 -4
- package/dist/implementation/sdtf/SDTFOverviewData.js.map +1 -1
- package/dist/index.d.ts +76 -72
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +53 -49
- package/dist/index.js.map +1 -1
- package/dist/interfaces/data/IAnimationData.d.ts +2 -2
- package/dist/interfaces/data/IAnimationData.d.ts.map +1 -1
- package/dist/interfaces/data/IBoneData.d.ts.map +1 -1
- package/dist/interfaces/data/ICustomData.d.ts.map +1 -1
- package/dist/interfaces/data/IGeometryData.d.ts +2 -2
- package/dist/interfaces/data/IGeometryData.d.ts.map +1 -1
- package/dist/interfaces/data/IGeometryData.js.map +1 -1
- package/dist/interfaces/data/IHTMLElementAnchorData.d.ts +3 -3
- package/dist/interfaces/data/IHTMLElementAnchorData.d.ts.map +1 -1
- package/dist/interfaces/data/IInstanceData.d.ts +3 -3
- package/dist/interfaces/data/IInstanceData.d.ts.map +1 -1
- package/dist/interfaces/data/material/IMapData.d.ts +3 -3
- package/dist/interfaces/data/material/IMapData.d.ts.map +1 -1
- package/dist/interfaces/data/material/IMapData.js.map +1 -1
- package/dist/interfaces/data/material/IMaterialAbstractData.d.ts +6 -4
- package/dist/interfaces/data/material/IMaterialAbstractData.d.ts.map +1 -1
- package/dist/interfaces/data/material/IMaterialAbstractData.js +2 -0
- package/dist/interfaces/data/material/IMaterialAbstractData.js.map +1 -1
- package/dist/interfaces/data/material/IMaterialBasicLineData.d.ts +1 -1
- package/dist/interfaces/data/material/IMaterialBasicLineData.d.ts.map +1 -1
- package/dist/interfaces/data/material/IMaterialBasicLineData.js.map +1 -1
- package/dist/interfaces/data/material/IMaterialGemDataProperties.d.ts +4 -4
- package/dist/interfaces/data/material/IMaterialGemDataProperties.d.ts.map +1 -1
- package/dist/interfaces/data/material/IMaterialGemDataProperties.js.map +1 -1
- package/dist/interfaces/data/material/IMaterialLambertData.d.ts +18 -0
- package/dist/interfaces/data/material/IMaterialLambertData.d.ts.map +1 -0
- package/dist/interfaces/data/material/IMaterialLambertData.js +3 -0
- package/dist/interfaces/data/material/IMaterialLambertData.js.map +1 -0
- package/dist/interfaces/data/material/IMaterialMultiPointData.d.ts +3 -3
- package/dist/interfaces/data/material/IMaterialMultiPointData.d.ts.map +1 -1
- package/dist/interfaces/data/material/IMaterialMultiPointData.js.map +1 -1
- package/dist/interfaces/data/material/IMaterialPhongData.d.ts +21 -0
- package/dist/interfaces/data/material/IMaterialPhongData.d.ts.map +1 -0
- package/dist/interfaces/data/material/IMaterialPhongData.js +3 -0
- package/dist/interfaces/data/material/IMaterialPhongData.js.map +1 -0
- package/dist/interfaces/data/material/IMaterialPointData.d.ts +2 -2
- package/dist/interfaces/data/material/IMaterialPointData.d.ts.map +1 -1
- package/dist/interfaces/data/material/IMaterialPointData.js.map +1 -1
- package/dist/interfaces/data/material/IMaterialShadowData.d.ts +1 -1
- package/dist/interfaces/data/material/IMaterialShadowData.d.ts.map +1 -1
- package/dist/interfaces/data/material/IMaterialShadowData.js.map +1 -1
- package/dist/interfaces/data/material/IMaterialSpecularGlossinessDataProperties.d.ts +3 -3
- package/dist/interfaces/data/material/IMaterialSpecularGlossinessDataProperties.d.ts.map +1 -1
- package/dist/interfaces/data/material/IMaterialSpecularGlossinessDataProperties.js.map +1 -1
- package/dist/interfaces/data/material/IMaterialStandardData.d.ts +3 -3
- package/dist/interfaces/data/material/IMaterialStandardData.d.ts.map +1 -1
- package/dist/interfaces/data/material/IMaterialStandardData.js.map +1 -1
- package/dist/interfaces/data/material/IMaterialUnlitData.d.ts +2 -2
- package/dist/interfaces/data/material/IMaterialUnlitData.d.ts.map +1 -1
- package/dist/interfaces/data/material/IMaterialUnlitData.js.map +1 -1
- package/dist/interfaces/data/material/IMaterialVariantsData.d.ts.map +1 -1
- package/dist/interfaces/events/EventResponseMapping.d.ts +9 -9
- package/dist/interfaces/events/EventResponseMapping.d.ts.map +1 -1
- package/dist/interfaces/events/ICameraEvent.d.ts +1 -1
- package/dist/interfaces/events/ICameraEvent.d.ts.map +1 -1
- package/dist/interfaces/events/IOutputEvent.d.ts +2 -2
- package/dist/interfaces/events/IOutputEvent.d.ts.map +1 -1
- package/dist/interfaces/events/IParameterEvent.d.ts +1 -1
- package/dist/interfaces/events/IParameterEvent.d.ts.map +1 -1
- package/dist/interfaces/events/IRenderingEvent.d.ts +1 -1
- package/dist/interfaces/events/IRenderingEvent.d.ts.map +1 -1
- package/dist/interfaces/events/ISceneEvent.d.ts +2 -2
- package/dist/interfaces/events/ISceneEvent.d.ts.map +1 -1
- package/dist/interfaces/events/ISessionEvent.d.ts +1 -1
- package/dist/interfaces/events/ISessionEvent.d.ts.map +1 -1
- package/dist/interfaces/events/ITaskEvent.d.ts +1 -1
- package/dist/interfaces/events/ITaskEvent.d.ts.map +1 -1
- package/dist/interfaces/events/ITaskEvent.js.map +1 -1
- package/dist/interfaces/events/IViewportEvent.d.ts +1 -1
- package/dist/interfaces/events/IViewportEvent.d.ts.map +1 -1
- package/dist/interfaces/parameter/IDraggingParameterSettings.d.ts +2 -2
- package/dist/interfaces/parameter/IDraggingParameterSettings.d.ts.map +1 -1
- package/dist/interfaces/parameter/IDrawingParametersSettings.d.ts +18 -18
- package/dist/interfaces/parameter/IDrawingParametersSettings.d.ts.map +1 -1
- package/dist/interfaces/parameter/IDrawingParametersSettings.js +13 -7
- package/dist/interfaces/parameter/IDrawingParametersSettings.js.map +1 -1
- package/dist/interfaces/parameter/IGumballParameterSettings.d.ts +2 -2
- package/dist/interfaces/parameter/IGumballParameterSettings.d.ts.map +1 -1
- package/dist/interfaces/parameter/IInteractionParameterSettings.d.ts +80 -80
- package/dist/interfaces/parameter/IInteractionParameterSettings.d.ts.map +1 -1
- package/dist/interfaces/parameter/IInteractionParameterSettings.js +54 -28
- package/dist/interfaces/parameter/IInteractionParameterSettings.js.map +1 -1
- package/dist/interfaces/parameter/IRestrictionSettings.d.ts +6 -6
- package/dist/interfaces/parameter/IRestrictionSettings.d.ts.map +1 -1
- package/dist/interfaces/parameter/IRestrictionSettings.js.map +1 -1
- package/dist/interfaces/parameter/ISelectionParameterSettings.d.ts +1 -1
- package/dist/interfaces/parameter/ISelectionParameterSettings.d.ts.map +1 -1
- package/dist/interfaces/renderingEngine/IIntersection.d.ts +3 -3
- package/dist/interfaces/renderingEngine/IIntersection.d.ts.map +1 -1
- package/dist/interfaces/renderingEngine/IIntersectionFilter.d.ts +2 -2
- package/dist/interfaces/renderingEngine/IIntersectionFilter.d.ts.map +1 -1
- package/dist/interfaces/renderingEngine/IRay.d.ts +1 -1
- package/dist/interfaces/renderingEngine/IRay.d.ts.map +1 -1
- package/dist/interfaces/renderingEngine/enums.d.ts +5 -3
- package/dist/interfaces/renderingEngine/enums.d.ts.map +1 -1
- package/dist/interfaces/renderingEngine/enums.js +4 -2
- package/dist/interfaces/renderingEngine/enums.js.map +1 -1
- package/dist/interfaces/sdtf/ISDTFAttributeVisualizationData.d.ts.map +1 -1
- package/dist/interfaces/sdtf/ISDTFAttributesData.d.ts +1 -1
- package/dist/interfaces/sdtf/ISDTFAttributesData.d.ts.map +1 -1
- package/dist/interfaces/sdtf/ISDTFItemData.d.ts +1 -1
- package/dist/interfaces/sdtf/ISDTFItemData.d.ts.map +1 -1
- package/dist/interfaces/sdtf/ISDTFOverviewData.d.ts +1 -1
- package/dist/interfaces/sdtf/ISDTFOverviewData.d.ts.map +1 -1
- package/dist/interfaces/sdtf/ISDTFOverviewData.js +0 -1
- package/dist/interfaces/sdtf/ISDTFOverviewData.js.map +1 -1
- package/dist/types.d.ts +5 -5
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +48 -48
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MaterialVariantsData.d.ts","sourceRoot":"","sources":["../../../src/implementation/material/MaterialVariantsData.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"MaterialVariantsData.d.ts","sourceRoot":"","sources":["../../../src/implementation/material/MaterialVariantsData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAAC,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAC,qBAAqB,EAAC,MAAM,sDAAsD,CAAC;AAC3F,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAC;AAElD,qBAAa,oBACZ,SAAQ,oBACR,YAAW,qBAAqB;;gBAYpB,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM;IAQzC,IAAW,YAAY,IAAI,YAAY,EAAE,CAExC;IAED,IAAW,QAAQ,IAAI,MAAM,EAAE,CAE9B;IAED,IAAW,YAAY,IAAI,MAAM,GAAG,SAAS,CAE5C;IAED,IAAW,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAahD;IAMD;;OAEG;IACI,KAAK,IAAI,qBAAqB;CAKrC"}
|
|
@@ -38,12 +38,13 @@ class MaterialVariantsData extends viewer_shared_node_tree_1.AbstractTreeNodeDat
|
|
|
38
38
|
set variantIndex(value) {
|
|
39
39
|
__classPrivateFieldSet(this, _MaterialVariantsData_variantIndex, value, "f");
|
|
40
40
|
for (let i = 0; i < this.geometryData.length; i++) {
|
|
41
|
-
const variant = this.geometryData[i].materialVariants.find(v => v.variant === __classPrivateFieldGet(this, _MaterialVariantsData_variantIndex, "f"));
|
|
41
|
+
const variant = this.geometryData[i].materialVariants.find((v) => v.variant === __classPrivateFieldGet(this, _MaterialVariantsData_variantIndex, "f"));
|
|
42
42
|
if (variant) {
|
|
43
43
|
this.geometryData[i].material = variant.material;
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
|
-
this.geometryData[i].material =
|
|
46
|
+
this.geometryData[i].material =
|
|
47
|
+
this.geometryData[i].standardMaterial;
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MaterialVariantsData.js","sourceRoot":"","sources":["../../../src/implementation/material/MaterialVariantsData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"MaterialVariantsData.js","sourceRoot":"","sources":["../../../src/implementation/material/MaterialVariantsData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,iFAAyE;AAIzE,MAAa,oBACZ,SAAQ,8CAAoB;IAS5B,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,EAAW,EAAE,OAAgB;QACxC,KAAK,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;QAXpB,yBAAyB;QAEzB,yCAA+B,EAAE,EAAC;QAClC,6CAAyC,EAAE,EAAC;QAC5C,qDAAuB;IAQvB,CAAC;IAED,8BAA8B;IAE9B,+BAA+B;IAE/B,IAAW,YAAY;QACtB,OAAO,uBAAA,IAAI,0CAAc,CAAC;IAC3B,CAAC;IAED,IAAW,QAAQ;QAClB,OAAO,uBAAA,IAAI,sCAAU,CAAC;IACvB,CAAC;IAED,IAAW,YAAY;QACtB,OAAO,uBAAA,IAAI,0CAAc,CAAC;IAC3B,CAAC;IAED,IAAW,YAAY,CAAC,KAAyB;QAChD,uBAAA,IAAI,sCAAiB,KAAK,MAAA,CAAC;QAC3B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAClD,MAAM,OAAO,GAAG,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,IAAI,CACzD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,KAAK,uBAAA,IAAI,0CAAc,CACvC,CAAC;YACF,IAAI,OAAO,EAAE;gBACZ,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;aACjD;iBAAM;gBACN,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,QAAQ;oBAC5B,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC;aACvC;SACD;IACF,CAAC;IAED,kCAAkC;IAElC,6BAA6B;IAE7B;;OAEG;IACI,KAAK;QACX,OAAO,IAAI,oBAAoB,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACxD,CAAC;CAGD;AA7DD,oDA6DC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { SdtfTypeHintName } from "@shapediver/sdk.sdtf-v1";
|
|
2
|
+
import { AbstractTreeNodeData } from "@shapediver/viewer.shared.node-tree";
|
|
3
|
+
import { ISDTFAttributeData, ISDTFAttributesData } from "../../interfaces/sdtf/ISDTFAttributesData";
|
|
4
4
|
export declare class SDTFAttributeData implements ISDTFAttributeData {
|
|
5
5
|
#private;
|
|
6
6
|
constructor(typeHint: SdtfTypeHintName | string, value: any);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SDTFAttributesData.d.ts","sourceRoot":"","sources":["../../../src/implementation/sdtf/SDTFAttributesData.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"SDTFAttributesData.d.ts","sourceRoot":"","sources":["../../../src/implementation/sdtf/SDTFAttributesData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAC,oBAAoB,EAAC,MAAM,qCAAqC,CAAC;AACzE,OAAO,EACN,kBAAkB,EAClB,mBAAmB,EACnB,MAAM,2CAA2C,CAAC;AAEnD,qBAAa,iBAAkB,YAAW,kBAAkB;;gBAY/C,QAAQ,EAAE,gBAAgB,GAAG,MAAM,EAAE,KAAK,EAAE,GAAG;IAS3D,IAAW,QAAQ,IAAI,gBAAgB,GAAG,MAAM,CAE/C;IAED,IAAW,KAAK,IAAI,GAAG,CAStB;CAGD;AAuCD,qBAAa,kBACZ,SAAQ,oBACR,YAAW,mBAAmB;;gBAa7B,UAAU,GAAE;QACX,CAAC,GAAG,EAAE,MAAM,GAAG,iBAAiB,CAAC;KAC5B,EACN,EAAE,CAAC,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,MAAM;IAUjB,IAAW,UAAU,IAAI;QACxB,CAAC,GAAG,EAAE,MAAM,GAAG,iBAAiB,CAAC;KACjC,CAEA;IAMD;;OAEG;IACI,KAAK,IAAI,mBAAmB;CAKnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SDTFAttributesData.js","sourceRoot":"","sources":["../../../src/implementation/sdtf/SDTFAttributesData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"SDTFAttributesData.js","sourceRoot":"","sources":["../../../src/implementation/sdtf/SDTFAttributesData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,iFAAyE;AAMzE,MAAa,iBAAiB;IAQ7B,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,QAAmC,EAAE,KAAU;QAX3D,yBAAyB;Q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B;QAEzB,yCAEI,EAAE,EAAC;QAcN,uBAAA,IAAI,kCAAe,UAAU,MAAA,CAAC;IAC/B,CAAC;IAED,8BAA8B;IAE9B,+BAA+B;IAE/B,IAAW,UAAU;QAGpB,OAAO,uBAAA,IAAI,sCAAY,CAAC;IACzB,CAAC;IAED,kCAAkC;IAElC,6BAA6B;IAE7B;;OAEG;IACI,KAAK;QACX,OAAO,IAAI,kBAAkB,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACvE,CAAC;CAGD;AA/CD,gDA+CC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { SdtfTypeHintName } from "@shapediver/sdk.sdtf-v1";
|
|
2
|
+
import { AbstractTreeNodeData } from "@shapediver/viewer.shared.node-tree";
|
|
3
|
+
import { ISDTFAttributeData } from "../../interfaces/sdtf/ISDTFAttributesData";
|
|
4
|
+
import { ISDTFItemData } from "../../interfaces/sdtf/ISDTFItemData";
|
|
5
5
|
export declare class SDTFItemData extends AbstractTreeNodeData implements ISDTFItemData {
|
|
6
6
|
#private;
|
|
7
7
|
constructor(typeHint: SdtfTypeHintName | string, value: any, attributes: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SDTFItemData.d.ts","sourceRoot":"","sources":["../../../src/implementation/sdtf/SDTFItemData.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"SDTFItemData.d.ts","sourceRoot":"","sources":["../../../src/implementation/sdtf/SDTFItemData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAC,oBAAoB,EAAC,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAC,kBAAkB,EAAC,MAAM,2CAA2C,CAAC;AAC7E,OAAO,EAAC,aAAa,EAAC,MAAM,qCAAqC,CAAC;AAElE,qBAAa,YACZ,SAAQ,oBACR,YAAW,aAAa;;gBAiBvB,QAAQ,EAAE,gBAAgB,GAAG,MAAM,EACnC,KAAK,EAAE,GAAG,EACV,UAAU,EAAE;QACX,CAAC,GAAG,EAAE,MAAM,GAAG,kBAAkB,CAAC;KAClC,EACD,EAAE,CAAC,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,MAAM;IAYjB,IAAW,UAAU,IAAI;QACxB,CAAC,GAAG,EAAE,MAAM,GAAG,kBAAkB,CAAC;KAClC,CAEA;IAED,IAAW,QAAQ,IAAI,gBAAgB,GAAG,MAAM,CAE/C;IAED,IAAW,KAAK,IAAI,GAAG,CAQtB;IAMD;;OAEG;IACI,KAAK,IAAI,aAAa;CAW7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SDTFItemData.js","sourceRoot":"","sources":["../../../src/implementation/sdtf/SDTFItemData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"SDTFItemData.js","sourceRoot":"","sources":["../../../src/implementation/sdtf/SDTFItemData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,iFAAyE;AAIzE,MAAa,YACZ,SAAQ,8CAAoB;IAa5B,4BAA4B;IAE5B,2BAA2B;IAE3B,YACC,QAAmC,EACnC,KAAU,EACV,UAEC,EACD,EAAW,EACX,OAAgB;QAEhB,KAAK,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;QAvBpB,yBAAyB;QAEzB,yCAAmB;QACnB,sCAAgB;QAEhB,mCAEI,EAAE,EAAC;QACP,8CAAoB;QAgBnB,uBAAA,IAAI,4BAAe,UAAU,MAAA,CAAC;QAC9B,uBAAA,IAAI,0BAAa,QAAQ,MAAA,CAAC;QAC1B,uBAAA,IAAI,uBAAU,KAAK,MAAA,CAAC;IACrB,CAAC;IAED,8BAA8B;IAE9B,+BAA+B;IAE/B,IAAW,UAAU;QAGpB,OAAO,uBAAA,IAAI,gCAAY,CAAC;IACzB,CAAC;IAED,IAAW,QAAQ;QAClB,OAAO,uBAAA,IAAI,8BAAU,CAAC;IACvB,CAAC;IAED,IAAW,KAAK;QACf,IAAI,uBAAA,IAAI,2BAAO,YAAY,QAAQ,IAAI,CAAC,uBAAA,IAAI,mCAAe,EAAE;YAC5D,uBAAA,IAAI,+BAAkB,uBAAA,IAAI,2BAAO,MAAX,IAAI,CAAS,MAAA,CAAC;YACpC,OAAO,uBAAA,IAAI,mCAAe,CAAC;SAC3B;aAAM,IAAI,uBAAA,IAAI,2BAAO,YAAY,QAAQ,EAAE;YAC3C,OAAO,uBAAA,IAAI,mCAAe,CAAC;SAC3B;QACD,OAAO,uBAAA,IAAI,2BAAO,CAAC;IACpB,CAAC;IAED,kCAAkC;IAElC,6BAA6B;IAE7B;;OAEG;IACI,KAAK;QACX,OAAO,IAAI,YAAY,CACtB,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,EAAE,EACP,IAAI,CAAC,OAAO,CACZ,CAAC;IACH,CAAC;CAGD;AA3ED,oCA2EC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AbstractTreeNodeData } from
|
|
2
|
-
import { ISDTFOverview, ISDTFOverviewData } from
|
|
1
|
+
import { AbstractTreeNodeData } from "@shapediver/viewer.shared.node-tree";
|
|
2
|
+
import { ISDTFOverview, ISDTFOverviewData } from "../../interfaces/sdtf/ISDTFOverviewData";
|
|
3
3
|
export declare class SDTFOverviewData extends AbstractTreeNodeData implements ISDTFOverviewData {
|
|
4
4
|
#private;
|
|
5
5
|
constructor(overview: ISDTFOverview, id?: string, version?: string);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SDTFOverviewData.d.ts","sourceRoot":"","sources":["../../../src/implementation/sdtf/SDTFOverviewData.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SDTFOverviewData.d.ts","sourceRoot":"","sources":["../../../src/implementation/sdtf/SDTFOverviewData.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,oBAAoB,EAAC,MAAM,qCAAqC,CAAC;AACzE,OAAO,EACN,aAAa,EACb,iBAAiB,EACjB,MAAM,yCAAyC,CAAC;AAEjD,qBAAa,gBACZ,SAAQ,oBACR,YAAW,iBAAiB;;gBAUhB,QAAQ,EAAE,aAAa,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM;IASlE,IAAW,QAAQ,IAAI,aAAa,CAEnC;IAMD;;OAEG;IACI,KAAK,IAAI,iBAAiB;IAI1B,KAAK,CAAC,IAAI,EAAE,iBAAiB;CAmDpC"}
|
|
@@ -13,8 +13,8 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
13
13
|
var _SDTFOverviewData_overview;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.SDTFOverviewData = void 0;
|
|
16
|
-
const viewer_shared_node_tree_1 = require("@shapediver/viewer.shared.node-tree");
|
|
17
16
|
const sdk_sdtf_primitives_1 = require("@shapediver/sdk.sdtf-primitives");
|
|
17
|
+
const viewer_shared_node_tree_1 = require("@shapediver/viewer.shared.node-tree");
|
|
18
18
|
class SDTFOverviewData extends viewer_shared_node_tree_1.AbstractTreeNodeData {
|
|
19
19
|
// #endregion Properties (1)
|
|
20
20
|
// #region Constructors (1)
|
|
@@ -42,7 +42,9 @@ class SDTFOverviewData extends viewer_shared_node_tree_1.AbstractTreeNodeData {
|
|
|
42
42
|
for (let overviewKey in data.overview) {
|
|
43
43
|
for (let i = 0; i < data.overview[overviewKey].length; i++) {
|
|
44
44
|
const dataToCopy = data.overview[overviewKey][i];
|
|
45
|
-
const existingEntries = this.overview[overviewKey]
|
|
45
|
+
const existingEntries = this.overview[overviewKey]
|
|
46
|
+
? this.overview[overviewKey].filter((o) => o.typeHint === dataToCopy.typeHint)
|
|
47
|
+
: [];
|
|
46
48
|
if (this.overview[overviewKey] && existingEntries.length > 0) {
|
|
47
49
|
const entry = existingEntries[0];
|
|
48
50
|
entry.count++;
|
|
@@ -64,13 +66,15 @@ class SDTFOverviewData extends viewer_shared_node_tree_1.AbstractTreeNodeData {
|
|
|
64
66
|
});
|
|
65
67
|
}
|
|
66
68
|
else {
|
|
67
|
-
this.overview[overviewKey] = [
|
|
69
|
+
this.overview[overviewKey] = [
|
|
70
|
+
{
|
|
68
71
|
typeHint: dataToCopy.typeHint,
|
|
69
72
|
count: dataToCopy.count,
|
|
70
73
|
values: dataToCopy.values,
|
|
71
74
|
min: dataToCopy.min,
|
|
72
75
|
max: dataToCopy.max,
|
|
73
|
-
}
|
|
76
|
+
},
|
|
77
|
+
];
|
|
74
78
|
}
|
|
75
79
|
}
|
|
76
80
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SDTFOverviewData.js","sourceRoot":"","sources":["../../../src/implementation/sdtf/SDTFOverviewData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"SDTFOverviewData.js","sourceRoot":"","sources":["../../../src/implementation/sdtf/SDTFOverviewData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,yEAAuE;AACvE,iFAAyE;AAMzE,MAAa,gBACZ,SAAQ,8CAAoB;IAO5B,4BAA4B;IAE5B,2BAA2B;IAE3B,YAAY,QAAuB,EAAE,EAAW,EAAE,OAAgB;QACjE,KAAK,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;QATpB,yBAAyB;QAEzB,qCAA2B,EAAE,EAAC;QAQ7B,uBAAA,IAAI,8BAAa,QAAQ,MAAA,CAAC;IAC3B,CAAC;IAED,8BAA8B;IAE9B,+BAA+B;IAE/B,IAAW,QAAQ;QAClB,OAAO,uBAAA,IAAI,kCAAU,CAAC;IACvB,CAAC;IAED,kCAAkC;IAElC,6BAA6B;IAE7B;;OAEG;IACI,KAAK;QACX,O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GAAG,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,GAAI,EAAE,KAAK,CAAC,GAAI,CAAC,CAAC;wBAClD,KAAK,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,GAAI,EAAE,KAAK,CAAC,GAAI,CAAC,CAAC;qBAClD;iBACD;qBAAM,IAAI,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE;oBACtC,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC;wBAC/B,QAAQ,EAAE,UAAU,CAAC,QAAQ;wBAC7B,KAAK,EAAE,UAAU,CAAC,KAAK;wBACvB,MAAM,EAAE,UAAU,CAAC,MAAM;wBACzB,GAAG,EAAE,UAAU,CAAC,GAAG;wBACnB,GAAG,EAAE,UAAU,CAAC,GAAG;qBACnB,CAAC,CAAC;iBACH;qBAAM;oBACN,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,GAAG;wBAC5B;4BACC,QAAQ,EAAE,UAAU,CAAC,QAAQ;4BAC7B,KAAK,EAAE,UAAU,CAAC,KAAK;4BACvB,MAAM,EAAE,UAAU,CAAC,MAAM;4BACzB,GAAG,EAAE,UAAU,CAAC,GAAG;4BACnB,GAAG,EAAE,UAAU,CAAC,GAAG;yBACnB;qBACD,CAAC;iBACF;aACD;SACD;IACF,CAAC;CAGD;AAvFD,4CAuFC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,75 +1,79 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { BoneData } from
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import { RestrictionDefinition, Rotation } from
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
export {
|
|
69
|
-
export {
|
|
70
|
-
export {
|
|
71
|
-
export {
|
|
72
|
-
export {
|
|
1
|
+
import { SdtfPrimitiveTypeGuard } from "@shapediver/sdk.sdtf-primitives";
|
|
2
|
+
import { SdtfTypeHintName } from "@shapediver/sdk.sdtf-v1";
|
|
3
|
+
import { AnimationData } from "./implementation/data/AnimationData";
|
|
4
|
+
import { BoneData } from "./implementation/data/BoneData";
|
|
5
|
+
import { CustomData } from "./implementation/data/CustomData";
|
|
6
|
+
import { AttributeData, GeometryData, PrimitiveData } from "./implementation/data/GeometryData";
|
|
7
|
+
import { HTMLElementAnchorCustomData, HTMLElementAnchorData, HTMLElementAnchorImageData, HTMLElementAnchorTextData } from "./implementation/data/HTMLElementAnchorData";
|
|
8
|
+
import { InstanceData } from "./implementation/data/InstanceData";
|
|
9
|
+
import { AbstractMaterialData } from "./implementation/material/AbstractMaterialData";
|
|
10
|
+
import { MapData } from "./implementation/material/MapData";
|
|
11
|
+
import { MaterialBasicLineData } from "./implementation/material/MaterialBasicLineData";
|
|
12
|
+
import { MaterialGemData } from "./implementation/material/MaterialGemData";
|
|
13
|
+
import { MaterialLambertData } from "./implementation/material/MaterialLambertData";
|
|
14
|
+
import { MaterialMultiPointData } from "./implementation/material/MaterialMultiPointData";
|
|
15
|
+
import { MaterialPhongData } from "./implementation/material/MaterialPhongData";
|
|
16
|
+
import { MaterialPointData } from "./implementation/material/MaterialPointData";
|
|
17
|
+
import { MaterialShadowData } from "./implementation/material/MaterialShadowData";
|
|
18
|
+
import { MaterialSpecularGlossinessData } from "./implementation/material/MaterialSpecularGlossinessData";
|
|
19
|
+
import { MaterialStandardData } from "./implementation/material/MaterialStandardData";
|
|
20
|
+
import { MaterialUnlitData } from "./implementation/material/MaterialUnlitData";
|
|
21
|
+
import { MaterialVariantsData } from "./implementation/material/MaterialVariantsData";
|
|
22
|
+
import { SDTFAttributeData, SDTFAttributesData } from "./implementation/sdtf/SDTFAttributesData";
|
|
23
|
+
import { SDTFItemData } from "./implementation/sdtf/SDTFItemData";
|
|
24
|
+
import { SDTFOverviewData } from "./implementation/sdtf/SDTFOverviewData";
|
|
25
|
+
import { IAnimationData, IAnimationTrack } from "./interfaces/data/IAnimationData";
|
|
26
|
+
import { IBoneData } from "./interfaces/data/IBoneData";
|
|
27
|
+
import { ICustomData } from "./interfaces/data/ICustomData";
|
|
28
|
+
import { IAttributeData, IGeometryData, IPrimitiveData, PRIMITIVE_MODE } from "./interfaces/data/IGeometryData";
|
|
29
|
+
import { IAnchorDataImage, IAnchorDataText, IHTMLElementAnchorData } from "./interfaces/data/IHTMLElementAnchorData";
|
|
30
|
+
import { IInstanceData } from "./interfaces/data/IInstanceData";
|
|
31
|
+
import { IMapData, IMapDataProperties, IMapDataPropertiesDefinition, TEXTURE_FILTERING, TEXTURE_WRAPPING } from "./interfaces/data/material/IMapData";
|
|
32
|
+
import { IMaterialAbstractData, IMaterialAbstractDataProperties, IMaterialAbstractDataPropertiesDefinition, MATERIAL_ALPHA, MATERIAL_SHADING, MATERIAL_SIDE, MATERIAL_TYPE } from "./interfaces/data/material/IMaterialAbstractData";
|
|
33
|
+
import { IMaterialBasicLineData, IMaterialBasicLineDataProperties, IMaterialBasicLineDataPropertiesDefinition } from "./interfaces/data/material/IMaterialBasicLineData";
|
|
34
|
+
import { IMaterialGemData, IMaterialGemDataProperties, IMaterialGemDataPropertiesDefinition } from "./interfaces/data/material/IMaterialGemDataProperties";
|
|
35
|
+
import { IMaterialLambertData, IMaterialLambertDataProperties, IMaterialLambertDataPropertiesDefinition } from "./interfaces/data/material/IMaterialLambertData";
|
|
36
|
+
import { IMaterialMultiPointData, IMaterialMultiPointDataProperties, IMaterialMultiPointDataPropertiesDefinition } from "./interfaces/data/material/IMaterialMultiPointData";
|
|
37
|
+
import { IMaterialPhongData, IMaterialPhongDataProperties, IMaterialPhongDataPropertiesDefinition } from "./interfaces/data/material/IMaterialPhongData";
|
|
38
|
+
import { IMaterialPointData, IMaterialPointDataProperties, IMaterialPointDataPropertiesDefinition } from "./interfaces/data/material/IMaterialPointData";
|
|
39
|
+
import { IMaterialShadowData, IMaterialShadowDataProperties, IMaterialShadowDataPropertiesDefinition } from "./interfaces/data/material/IMaterialShadowData";
|
|
40
|
+
import { IMaterialSpecularGlossinessData, IMaterialSpecularGlossinessDataProperties, IMaterialSpecularGlossinessDataPropertiesDefinition } from "./interfaces/data/material/IMaterialSpecularGlossinessDataProperties";
|
|
41
|
+
import { IMaterialStandardData, IMaterialStandardDataProperties, IMaterialStandardDataPropertiesDefinition } from "./interfaces/data/material/IMaterialStandardData";
|
|
42
|
+
import { IMaterialUnlitData, IMaterialUnlitDataProperties, IMaterialUnlitDataPropertiesDefinition } from "./interfaces/data/material/IMaterialUnlitData";
|
|
43
|
+
import { IMaterialVariantsData } from "./interfaces/data/material/IMaterialVariantsData";
|
|
44
|
+
import { EventResponseMapping } from "./interfaces/events/EventResponseMapping";
|
|
45
|
+
import { ICameraEvent } from "./interfaces/events/ICameraEvent";
|
|
46
|
+
import { IOutputEvent } from "./interfaces/events/IOutputEvent";
|
|
47
|
+
import { IParameterEvent } from "./interfaces/events/IParameterEvent";
|
|
48
|
+
import { IRenderingEvent } from "./interfaces/events/IRenderingEvent";
|
|
49
|
+
import { ISceneEvent } from "./interfaces/events/ISceneEvent";
|
|
50
|
+
import { ISessionEvent } from "./interfaces/events/ISessionEvent";
|
|
51
|
+
import { ITaskEvent, TASK_TYPE } from "./interfaces/events/ITaskEvent";
|
|
52
|
+
import { IViewportEvent } from "./interfaces/events/IViewportEvent";
|
|
53
|
+
import { DraggingParameterValue, IDraggableObject, IDraggingParameterProps } from "./interfaces/parameter/IDraggingParameterSettings";
|
|
54
|
+
import { DrawingParameterValue, IDrawingParameterJsonSchema, IDrawingParameterSettings, validateDrawingParameterSettings } from "./interfaces/parameter/IDrawingParametersSettings";
|
|
55
|
+
import { GumballParameterValue, IGumballParameterProps } from "./interfaces/parameter/IGumballParameterSettings";
|
|
56
|
+
import { IDraggingParameterJsonSchema, IGumballParameterJsonSchema, IInteractionParameterJsonSchema, IInteractionParameterProps, IInteractionParameterSettings, InteractionParameterSettingsType, ISelectionParameterJsonSchema, validateDraggingParameterSettings, validateGumballParameterSettings, validateInteractionParameterSettings, validateSelectionParameterSettings } from "./interfaces/parameter/IInteractionParameterSettings";
|
|
57
|
+
import { RestrictionDefinition, Rotation } from "./interfaces/parameter/IRestrictionSettings";
|
|
58
|
+
import { ISelectionParameterProps, SelectionParameterValue } from "./interfaces/parameter/ISelectionParameterSettings";
|
|
59
|
+
import { BUSY_MODE_DISPLAY, FLAG_TYPE, RENDERER_TYPE, SPINNER_POSITIONING, TEXTURE_ENCODING, TONE_MAPPING, VISIBILITY_MODE } from "./interfaces/renderingEngine/enums";
|
|
60
|
+
import { IIntersection } from "./interfaces/renderingEngine/IIntersection";
|
|
61
|
+
import { IIntersectionFilter } from "./interfaces/renderingEngine/IIntersectionFilter";
|
|
62
|
+
import { IRay } from "./interfaces/renderingEngine/IRay";
|
|
63
|
+
import { ISDTFAttributeData, ISDTFAttributesData } from "./interfaces/sdtf/ISDTFAttributesData";
|
|
64
|
+
import { ISDTFAttributeVisualizationData } from "./interfaces/sdtf/ISDTFAttributeVisualizationData";
|
|
65
|
+
import { ISDTFItemData } from "./interfaces/sdtf/ISDTFItemData";
|
|
66
|
+
import { ISDTFOverview, ISDTFOverviewData } from "./interfaces/sdtf/ISDTFOverviewData";
|
|
67
|
+
import { Color, ISessionSettingsSections, ISettingsSections, IViewportSettingsSections, PARAMETER_TYPE, PARAMETER_VISUALIZATION, SessionCreationDefinition, ViewportCreationDefinition } from "./types";
|
|
68
|
+
export { IMaterialStandardData, MaterialStandardData, IMaterialStandardDataProperties, IMaterialStandardDataPropertiesDefinition, IMaterialAbstractData, IMaterialAbstractDataProperties, AbstractMaterialData, IMaterialAbstractDataPropertiesDefinition, IMaterialUnlitData, MaterialUnlitData, IMaterialUnlitDataProperties, IMaterialUnlitDataPropertiesDefinition, IMaterialShadowData, MaterialShadowData, IMaterialShadowDataProperties, IMaterialShadowDataPropertiesDefinition, IMaterialSpecularGlossinessData, MaterialSpecularGlossinessData, IMaterialSpecularGlossinessDataProperties, IMaterialSpecularGlossinessDataPropertiesDefinition, IMaterialGemData, MaterialGemData, IMaterialGemDataProperties, IMaterialGemDataPropertiesDefinition, IMaterialPointData, MaterialPointData, IMaterialPointDataProperties, IMaterialPointDataPropertiesDefinition, IMaterialMultiPointData, MaterialMultiPointData, IMaterialMultiPointDataProperties, IMaterialMultiPointDataPropertiesDefinition, IMaterialBasicLineData, MaterialBasicLineData, IMaterialBasicLineDataProperties, IMaterialBasicLineDataPropertiesDefinition, IMaterialLambertData, MaterialLambertData, IMaterialLambertDataProperties, IMaterialLambertDataPropertiesDefinition, IMaterialPhongData, MaterialPhongData, IMaterialPhongDataProperties, IMaterialPhongDataPropertiesDefinition, IMapData, IMapDataProperties, IMapDataPropertiesDefinition, MapData, MATERIAL_SIDE, MATERIAL_ALPHA, MATERIAL_SHADING, MATERIAL_TYPE, TEXTURE_WRAPPING, TEXTURE_FILTERING, };
|
|
69
|
+
export { IAnimationData, AnimationData, IAnimationTrack, IGeometryData, IAttributeData, IPrimitiveData, IMaterialVariantsData, GeometryData, AttributeData, PrimitiveData, MaterialVariantsData, PRIMITIVE_MODE, };
|
|
70
|
+
export { IAnchorDataImage, IAnchorDataText, IHTMLElementAnchorData, HTMLElementAnchorCustomData, HTMLElementAnchorTextData, HTMLElementAnchorImageData, HTMLElementAnchorData, };
|
|
71
|
+
export { ICustomData, CustomData, IBoneData, BoneData, IInstanceData, InstanceData, };
|
|
72
|
+
export { EventResponseMapping, IViewportEvent, ISessionEvent, IOutputEvent, ICameraEvent, IRenderingEvent, IParameterEvent, ISceneEvent, ITaskEvent, TASK_TYPE, };
|
|
73
|
+
export { ISDTFOverviewData, SDTFOverviewData, ISDTFOverview, SDTFAttributesData, ISDTFAttributesData, ISDTFAttributeData, SDTFAttributeData, SDTFItemData, ISDTFItemData, ISDTFAttributeVisualizationData, SdtfTypeHintName as SDTF_TYPEHINT, SdtfPrimitiveTypeGuard, };
|
|
74
|
+
export { Color, PARAMETER_TYPE, PARAMETER_VISUALIZATION, ISettingsSections, ISessionSettingsSections, IViewportSettingsSections, };
|
|
75
|
+
export { InteractionParameterSettingsType, IInteractionParameterProps, IInteractionParameterSettings, IInteractionParameterJsonSchema, validateInteractionParameterSettings, ISelectionParameterProps, SelectionParameterValue, ISelectionParameterJsonSchema, validateSelectionParameterSettings, IGumballParameterProps, GumballParameterValue, IGumballParameterJsonSchema, validateGumballParameterSettings, IDraggingParameterProps, DraggingParameterValue, IDraggingParameterJsonSchema, validateDraggingParameterSettings, IDrawingParameterSettings, DrawingParameterValue, IDrawingParameterJsonSchema, validateDrawingParameterSettings, IDraggableObject, RestrictionDefinition, Rotation, };
|
|
76
|
+
export { BUSY_MODE_DISPLAY, FLAG_TYPE, RENDERER_TYPE, SPINNER_POSITIONING, TEXTURE_ENCODING, TONE_MAPPING, VISIBILITY_MODE, };
|
|
73
77
|
export { IRay, IIntersection, IIntersectionFilter };
|
|
74
78
|
export { SessionCreationDefinition, ViewportCreationDefinition };
|
|
75
79
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,sBAAsB,EAAC,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAAC,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAC,aAAa,EAAC,MAAM,qCAAqC,CAAC;AAClE,OAAO,EAAC,QAAQ,EAAC,MAAM,gCAAgC,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EACN,aAAa,EACb,YAAY,EACZ,aAAa,EACb,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACN,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,yBAAyB,EACzB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAC,YAAY,EAAC,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gDAAgD,CAAC;AACpF,OAAO,EAAC,OAAO,EAAC,MAAM,mCAAmC,CAAC;AAC1D,OAAO,EAAC,qBAAqB,EAAC,MAAM,iDAAiD,CAAC;AACtF,OAAO,EAAC,eAAe,EAAC,MAAM,2CAA2C,CAAC;AAC1E,OAAO,EAAC,mBAAmB,EAAC,MAAM,+CAA+C,CAAC;AAClF,OAAO,EAAC,sBAAsB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YAAY,GACZ,CAAC;AACF,OAAO,EACN,oBAAoB,EACpB,cAAc,EACd,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,eAAe,EACf,WAAW,EACX,UAAU,EACV,SAAS,GACT,CAAC;AACF,OAAO,EACN,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EACjB,YAAY,EACZ,aAAa,EACb,+BAA+B,EAC/B,gBAAgB,IAAI,aAAa,EACjC,sBAAsB,GACtB,CAAC;AACF,OAAO,EACN,KAAK,EACL,cAAc,EACd,uBAAuB,EACvB,iBAAiB,EACjB,wBAAwB,EACxB,yBAAyB,GACzB,CAAC;AACF,OAAO,EACN,gCAAgC,EAChC,0BAA0B,EAC1B,6BAA6B,EAC7B,+BAA+B,EAC/B,oCAAoC,EACpC,wBAAwB,EACxB,uBAAuB,EACvB,6BAA6B,EAC7B,kCAAkC,EAClC,sBAAsB,EACtB,qBAAqB,EACrB,2BAA2B,EAC3B,gCAAgC,EAChC,uBAAuB,EACvB,sBAAsB,EACtB,4BAA4B,EAC5B,iCAAiC,EACjC,yBAAyB,EACzB,qBAAqB,EACrB,2BAA2B,EAC3B,gCAAgC,EAChC,gBAAgB,EAChB,qBAAqB,EACrB,QAAQ,GACR,CAAC;AACF,OAAO,EACN,iBAAiB,EACjB,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,gBAAgB,EAChB,YAAY,EACZ,eAAe,GACf,CAAC;AACF,OAAO,EAAC,IAAI,EAAE,aAAa,EAAE,mBAAmB,EAAC,CAAC;AAClD,OAAO,EAAC,yBAAyB,EAAE,0BAA0B,EAAC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,75 +1,50 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.VISIBILITY_MODE = exports.TONE_MAPPING = exports.TEXTURE_ENCODING = exports.SPINNER_POSITIONING = exports.RENDERER_TYPE = void 0;
|
|
5
|
-
const
|
|
6
|
-
Object.defineProperty(exports, "
|
|
3
|
+
exports.validateDrawingParameterSettings = exports.IDrawingParameterJsonSchema = exports.validateDraggingParameterSettings = exports.IDraggingParameterJsonSchema = exports.validateGumballParameterSettings = exports.IGumballParameterJsonSchema = exports.validateSelectionParameterSettings = exports.ISelectionParameterJsonSchema = exports.validateInteractionParameterSettings = exports.IInteractionParameterJsonSchema = exports.PARAMETER_VISUALIZATION = exports.PARAMETER_TYPE = exports.SdtfPrimitiveTypeGuard = exports.SDTF_TYPEHINT = exports.SDTFItemData = exports.SDTFAttributeData = exports.SDTFAttributesData = exports.SDTFOverviewData = exports.TASK_TYPE = exports.InstanceData = exports.BoneData = exports.CustomData = exports.HTMLElementAnchorData = exports.HTMLElementAnchorImageData = exports.HTMLElementAnchorTextData = exports.HTMLElementAnchorCustomData = exports.PRIMITIVE_MODE = exports.MaterialVariantsData = exports.PrimitiveData = exports.AttributeData = exports.GeometryData = exports.AnimationData = exports.TEXTURE_FILTERING = exports.TEXTURE_WRAPPING = exports.MATERIAL_TYPE = exports.MATERIAL_SHADING = exports.MATERIAL_ALPHA = exports.MATERIAL_SIDE = exports.MapData = exports.MaterialPhongData = exports.MaterialLambertData = exports.MaterialBasicLineData = exports.MaterialMultiPointData = exports.MaterialPointData = exports.MaterialGemData = exports.MaterialSpecularGlossinessData = exports.MaterialShadowData = exports.MaterialUnlitData = exports.AbstractMaterialData = exports.MaterialStandardData = void 0;
|
|
4
|
+
exports.VISIBILITY_MODE = exports.TONE_MAPPING = exports.TEXTURE_ENCODING = exports.SPINNER_POSITIONING = exports.RENDERER_TYPE = exports.FLAG_TYPE = exports.BUSY_MODE_DISPLAY = void 0;
|
|
5
|
+
const sdk_sdtf_primitives_1 = require("@shapediver/sdk.sdtf-primitives");
|
|
6
|
+
Object.defineProperty(exports, "SdtfPrimitiveTypeGuard", { enumerable: true, get: function () { return sdk_sdtf_primitives_1.SdtfPrimitiveTypeGuard; } });
|
|
7
|
+
const sdk_sdtf_v1_1 = require("@shapediver/sdk.sdtf-v1");
|
|
8
|
+
Object.defineProperty(exports, "SDTF_TYPEHINT", { enumerable: true, get: function () { return sdk_sdtf_v1_1.SdtfTypeHintName; } });
|
|
7
9
|
const AnimationData_1 = require("./implementation/data/AnimationData");
|
|
8
10
|
Object.defineProperty(exports, "AnimationData", { enumerable: true, get: function () { return AnimationData_1.AnimationData; } });
|
|
9
|
-
const GeometryData_1 = require("./implementation/data/GeometryData");
|
|
10
|
-
Object.defineProperty(exports, "AttributeData", { enumerable: true, get: function () { return GeometryData_1.AttributeData; } });
|
|
11
|
-
Object.defineProperty(exports, "GeometryData", { enumerable: true, get: function () { return GeometryData_1.GeometryData; } });
|
|
12
|
-
Object.defineProperty(exports, "PrimitiveData", { enumerable: true, get: function () { return GeometryData_1.PrimitiveData; } });
|
|
13
11
|
const BoneData_1 = require("./implementation/data/BoneData");
|
|
14
12
|
Object.defineProperty(exports, "BoneData", { enumerable: true, get: function () { return BoneData_1.BoneData; } });
|
|
15
|
-
const enums_1 = require("./interfaces/renderingEngine/enums");
|
|
16
|
-
Object.defineProperty(exports, "BUSY_MODE_DISPLAY", { enumerable: true, get: function () { return enums_1.BUSY_MODE_DISPLAY; } });
|
|
17
|
-
Object.defineProperty(exports, "FLAG_TYPE", { enumerable: true, get: function () { return enums_1.FLAG_TYPE; } });
|
|
18
|
-
Object.defineProperty(exports, "RENDERER_TYPE", { enumerable: true, get: function () { return enums_1.RENDERER_TYPE; } });
|
|
19
|
-
Object.defineProperty(exports, "SPINNER_POSITIONING", { enumerable: true, get: function () { return enums_1.SPINNER_POSITIONING; } });
|
|
20
|
-
Object.defineProperty(exports, "TEXTURE_ENCODING", { enumerable: true, get: function () { return enums_1.TEXTURE_ENCODING; } });
|
|
21
|
-
Object.defineProperty(exports, "TONE_MAPPING", { enumerable: true, get: function () { return enums_1.TONE_MAPPING; } });
|
|
22
|
-
Object.defineProperty(exports, "VISIBILITY_MODE", { enumerable: true, get: function () { return enums_1.VISIBILITY_MODE; } });
|
|
23
|
-
const types_1 = require("./types");
|
|
24
|
-
Object.defineProperty(exports, "PARAMETER_TYPE", { enumerable: true, get: function () { return types_1.PARAMETER_TYPE; } });
|
|
25
|
-
Object.defineProperty(exports, "PARAMETER_VISUALIZATION", { enumerable: true, get: function () { return types_1.PARAMETER_VISUALIZATION; } });
|
|
26
13
|
const CustomData_1 = require("./implementation/data/CustomData");
|
|
27
14
|
Object.defineProperty(exports, "CustomData", { enumerable: true, get: function () { return CustomData_1.CustomData; } });
|
|
28
|
-
const
|
|
29
|
-
Object.defineProperty(exports, "
|
|
30
|
-
Object.defineProperty(exports, "
|
|
15
|
+
const GeometryData_1 = require("./implementation/data/GeometryData");
|
|
16
|
+
Object.defineProperty(exports, "AttributeData", { enumerable: true, get: function () { return GeometryData_1.AttributeData; } });
|
|
17
|
+
Object.defineProperty(exports, "GeometryData", { enumerable: true, get: function () { return GeometryData_1.GeometryData; } });
|
|
18
|
+
Object.defineProperty(exports, "PrimitiveData", { enumerable: true, get: function () { return GeometryData_1.PrimitiveData; } });
|
|
31
19
|
const HTMLElementAnchorData_1 = require("./implementation/data/HTMLElementAnchorData");
|
|
32
20
|
Object.defineProperty(exports, "HTMLElementAnchorCustomData", { enumerable: true, get: function () { return HTMLElementAnchorData_1.HTMLElementAnchorCustomData; } });
|
|
33
21
|
Object.defineProperty(exports, "HTMLElementAnchorData", { enumerable: true, get: function () { return HTMLElementAnchorData_1.HTMLElementAnchorData; } });
|
|
34
22
|
Object.defineProperty(exports, "HTMLElementAnchorImageData", { enumerable: true, get: function () { return HTMLElementAnchorData_1.HTMLElementAnchorImageData; } });
|
|
35
23
|
Object.defineProperty(exports, "HTMLElementAnchorTextData", { enumerable: true, get: function () { return HTMLElementAnchorData_1.HTMLElementAnchorTextData; } });
|
|
36
|
-
const IGeometryData_1 = require("./interfaces/data/IGeometryData");
|
|
37
|
-
Object.defineProperty(exports, "PRIMITIVE_MODE", { enumerable: true, get: function () { return IGeometryData_1.PRIMITIVE_MODE; } });
|
|
38
|
-
const IInteractionParameterSettings_1 = require("./interfaces/parameter/IInteractionParameterSettings");
|
|
39
|
-
Object.defineProperty(exports, "IDraggingParameterJsonSchema", { enumerable: true, get: function () { return IInteractionParameterSettings_1.IDraggingParameterJsonSchema; } });
|
|
40
|
-
Object.defineProperty(exports, "IGumballParameterJsonSchema", { enumerable: true, get: function () { return IInteractionParameterSettings_1.IGumballParameterJsonSchema; } });
|
|
41
|
-
Object.defineProperty(exports, "IInteractionParameterJsonSchema", { enumerable: true, get: function () { return IInteractionParameterSettings_1.IInteractionParameterJsonSchema; } });
|
|
42
|
-
Object.defineProperty(exports, "ISelectionParameterJsonSchema", { enumerable: true, get: function () { return IInteractionParameterSettings_1.ISelectionParameterJsonSchema; } });
|
|
43
|
-
Object.defineProperty(exports, "validateDraggingParameterSettings", { enumerable: true, get: function () { return IInteractionParameterSettings_1.validateDraggingParameterSettings; } });
|
|
44
|
-
Object.defineProperty(exports, "validateGumballParameterSettings", { enumerable: true, get: function () { return IInteractionParameterSettings_1.validateGumballParameterSettings; } });
|
|
45
|
-
Object.defineProperty(exports, "validateInteractionParameterSettings", { enumerable: true, get: function () { return IInteractionParameterSettings_1.validateInteractionParameterSettings; } });
|
|
46
|
-
Object.defineProperty(exports, "validateSelectionParameterSettings", { enumerable: true, get: function () { return IInteractionParameterSettings_1.validateSelectionParameterSettings; } });
|
|
47
|
-
const IMapData_1 = require("./interfaces/data/material/IMapData");
|
|
48
|
-
Object.defineProperty(exports, "TEXTURE_FILTERING", { enumerable: true, get: function () { return IMapData_1.TEXTURE_FILTERING; } });
|
|
49
|
-
Object.defineProperty(exports, "TEXTURE_WRAPPING", { enumerable: true, get: function () { return IMapData_1.TEXTURE_WRAPPING; } });
|
|
50
|
-
const IMaterialAbstractData_1 = require("./interfaces/data/material/IMaterialAbstractData");
|
|
51
|
-
Object.defineProperty(exports, "MATERIAL_ALPHA", { enumerable: true, get: function () { return IMaterialAbstractData_1.MATERIAL_ALPHA; } });
|
|
52
|
-
Object.defineProperty(exports, "MATERIAL_SHADING", { enumerable: true, get: function () { return IMaterialAbstractData_1.MATERIAL_SHADING; } });
|
|
53
|
-
Object.defineProperty(exports, "MATERIAL_SIDE", { enumerable: true, get: function () { return IMaterialAbstractData_1.MATERIAL_SIDE; } });
|
|
54
|
-
Object.defineProperty(exports, "MATERIAL_TYPE", { enumerable: true, get: function () { return IMaterialAbstractData_1.MATERIAL_TYPE; } });
|
|
55
24
|
const InstanceData_1 = require("./implementation/data/InstanceData");
|
|
56
25
|
Object.defineProperty(exports, "InstanceData", { enumerable: true, get: function () { return InstanceData_1.InstanceData; } });
|
|
57
|
-
const
|
|
58
|
-
Object.defineProperty(exports, "
|
|
26
|
+
const AbstractMaterialData_1 = require("./implementation/material/AbstractMaterialData");
|
|
27
|
+
Object.defineProperty(exports, "AbstractMaterialData", { enumerable: true, get: function () { return AbstractMaterialData_1.AbstractMaterialData; } });
|
|
59
28
|
const MapData_1 = require("./implementation/material/MapData");
|
|
60
29
|
Object.defineProperty(exports, "MapData", { enumerable: true, get: function () { return MapData_1.MapData; } });
|
|
61
30
|
const MaterialBasicLineData_1 = require("./implementation/material/MaterialBasicLineData");
|
|
62
31
|
Object.defineProperty(exports, "MaterialBasicLineData", { enumerable: true, get: function () { return MaterialBasicLineData_1.MaterialBasicLineData; } });
|
|
63
32
|
const MaterialGemData_1 = require("./implementation/material/MaterialGemData");
|
|
64
33
|
Object.defineProperty(exports, "MaterialGemData", { enumerable: true, get: function () { return MaterialGemData_1.MaterialGemData; } });
|
|
34
|
+
const MaterialLambertData_1 = require("./implementation/material/MaterialLambertData");
|
|
35
|
+
Object.defineProperty(exports, "MaterialLambertData", { enumerable: true, get: function () { return MaterialLambertData_1.MaterialLambertData; } });
|
|
65
36
|
const MaterialMultiPointData_1 = require("./implementation/material/MaterialMultiPointData");
|
|
66
37
|
Object.defineProperty(exports, "MaterialMultiPointData", { enumerable: true, get: function () { return MaterialMultiPointData_1.MaterialMultiPointData; } });
|
|
38
|
+
const MaterialPhongData_1 = require("./implementation/material/MaterialPhongData");
|
|
39
|
+
Object.defineProperty(exports, "MaterialPhongData", { enumerable: true, get: function () { return MaterialPhongData_1.MaterialPhongData; } });
|
|
67
40
|
const MaterialPointData_1 = require("./implementation/material/MaterialPointData");
|
|
68
41
|
Object.defineProperty(exports, "MaterialPointData", { enumerable: true, get: function () { return MaterialPointData_1.MaterialPointData; } });
|
|
69
42
|
const MaterialShadowData_1 = require("./implementation/material/MaterialShadowData");
|
|
70
43
|
Object.defineProperty(exports, "MaterialShadowData", { enumerable: true, get: function () { return MaterialShadowData_1.MaterialShadowData; } });
|
|
71
44
|
const MaterialSpecularGlossinessData_1 = require("./implementation/material/MaterialSpecularGlossinessData");
|
|
72
45
|
Object.defineProperty(exports, "MaterialSpecularGlossinessData", { enumerable: true, get: function () { return MaterialSpecularGlossinessData_1.MaterialSpecularGlossinessData; } });
|
|
46
|
+
const MaterialStandardData_1 = require("./implementation/material/MaterialStandardData");
|
|
47
|
+
Object.defineProperty(exports, "MaterialStandardData", { enumerable: true, get: function () { return MaterialStandardData_1.MaterialStandardData; } });
|
|
73
48
|
const MaterialUnlitData_1 = require("./implementation/material/MaterialUnlitData");
|
|
74
49
|
Object.defineProperty(exports, "MaterialUnlitData", { enumerable: true, get: function () { return MaterialUnlitData_1.MaterialUnlitData; } });
|
|
75
50
|
const MaterialVariantsData_1 = require("./implementation/material/MaterialVariantsData");
|
|
@@ -81,10 +56,39 @@ const SDTFItemData_1 = require("./implementation/sdtf/SDTFItemData");
|
|
|
81
56
|
Object.defineProperty(exports, "SDTFItemData", { enumerable: true, get: function () { return SDTFItemData_1.SDTFItemData; } });
|
|
82
57
|
const SDTFOverviewData_1 = require("./implementation/sdtf/SDTFOverviewData");
|
|
83
58
|
Object.defineProperty(exports, "SDTFOverviewData", { enumerable: true, get: function () { return SDTFOverviewData_1.SDTFOverviewData; } });
|
|
84
|
-
const
|
|
85
|
-
Object.defineProperty(exports, "
|
|
86
|
-
const
|
|
87
|
-
Object.defineProperty(exports, "
|
|
88
|
-
|
|
89
|
-
|
|
59
|
+
const IGeometryData_1 = require("./interfaces/data/IGeometryData");
|
|
60
|
+
Object.defineProperty(exports, "PRIMITIVE_MODE", { enumerable: true, get: function () { return IGeometryData_1.PRIMITIVE_MODE; } });
|
|
61
|
+
const IMapData_1 = require("./interfaces/data/material/IMapData");
|
|
62
|
+
Object.defineProperty(exports, "TEXTURE_FILTERING", { enumerable: true, get: function () { return IMapData_1.TEXTURE_FILTERING; } });
|
|
63
|
+
Object.defineProperty(exports, "TEXTURE_WRAPPING", { enumerable: true, get: function () { return IMapData_1.TEXTURE_WRAPPING; } });
|
|
64
|
+
const IMaterialAbstractData_1 = require("./interfaces/data/material/IMaterialAbstractData");
|
|
65
|
+
Object.defineProperty(exports, "MATERIAL_ALPHA", { enumerable: true, get: function () { return IMaterialAbstractData_1.MATERIAL_ALPHA; } });
|
|
66
|
+
Object.defineProperty(exports, "MATERIAL_SHADING", { enumerable: true, get: function () { return IMaterialAbstractData_1.MATERIAL_SHADING; } });
|
|
67
|
+
Object.defineProperty(exports, "MATERIAL_SIDE", { enumerable: true, get: function () { return IMaterialAbstractData_1.MATERIAL_SIDE; } });
|
|
68
|
+
Object.defineProperty(exports, "MATERIAL_TYPE", { enumerable: true, get: function () { return IMaterialAbstractData_1.MATERIAL_TYPE; } });
|
|
69
|
+
const ITaskEvent_1 = require("./interfaces/events/ITaskEvent");
|
|
70
|
+
Object.defineProperty(exports, "TASK_TYPE", { enumerable: true, get: function () { return ITaskEvent_1.TASK_TYPE; } });
|
|
71
|
+
const IDrawingParametersSettings_1 = require("./interfaces/parameter/IDrawingParametersSettings");
|
|
72
|
+
Object.defineProperty(exports, "IDrawingParameterJsonSchema", { enumerable: true, get: function () { return IDrawingParametersSettings_1.IDrawingParameterJsonSchema; } });
|
|
73
|
+
Object.defineProperty(exports, "validateDrawingParameterSettings", { enumerable: true, get: function () { return IDrawingParametersSettings_1.validateDrawingParameterSettings; } });
|
|
74
|
+
const IInteractionParameterSettings_1 = require("./interfaces/parameter/IInteractionParameterSettings");
|
|
75
|
+
Object.defineProperty(exports, "IDraggingParameterJsonSchema", { enumerable: true, get: function () { return IInteractionParameterSettings_1.IDraggingParameterJsonSchema; } });
|
|
76
|
+
Object.defineProperty(exports, "IGumballParameterJsonSchema", { enumerable: true, get: function () { return IInteractionParameterSettings_1.IGumballParameterJsonSchema; } });
|
|
77
|
+
Object.defineProperty(exports, "IInteractionParameterJsonSchema", { enumerable: true, get: function () { return IInteractionParameterSettings_1.IInteractionParameterJsonSchema; } });
|
|
78
|
+
Object.defineProperty(exports, "ISelectionParameterJsonSchema", { enumerable: true, get: function () { return IInteractionParameterSettings_1.ISelectionParameterJsonSchema; } });
|
|
79
|
+
Object.defineProperty(exports, "validateDraggingParameterSettings", { enumerable: true, get: function () { return IInteractionParameterSettings_1.validateDraggingParameterSettings; } });
|
|
80
|
+
Object.defineProperty(exports, "validateGumballParameterSettings", { enumerable: true, get: function () { return IInteractionParameterSettings_1.validateGumballParameterSettings; } });
|
|
81
|
+
Object.defineProperty(exports, "validateInteractionParameterSettings", { enumerable: true, get: function () { return IInteractionParameterSettings_1.validateInteractionParameterSettings; } });
|
|
82
|
+
Object.defineProperty(exports, "validateSelectionParameterSettings", { enumerable: true, get: function () { return IInteractionParameterSettings_1.validateSelectionParameterSettings; } });
|
|
83
|
+
const enums_1 = require("./interfaces/renderingEngine/enums");
|
|
84
|
+
Object.defineProperty(exports, "BUSY_MODE_DISPLAY", { enumerable: true, get: function () { return enums_1.BUSY_MODE_DISPLAY; } });
|
|
85
|
+
Object.defineProperty(exports, "FLAG_TYPE", { enumerable: true, get: function () { return enums_1.FLAG_TYPE; } });
|
|
86
|
+
Object.defineProperty(exports, "RENDERER_TYPE", { enumerable: true, get: function () { return enums_1.RENDERER_TYPE; } });
|
|
87
|
+
Object.defineProperty(exports, "SPINNER_POSITIONING", { enumerable: true, get: function () { return enums_1.SPINNER_POSITIONING; } });
|
|
88
|
+
Object.defineProperty(exports, "TEXTURE_ENCODING", { enumerable: true, get: function () { return enums_1.TEXTURE_ENCODING; } });
|
|
89
|
+
Object.defineProperty(exports, "TONE_MAPPING", { enumerable: true, get: function () { return enums_1.TONE_MAPPING; } });
|
|
90
|
+
Object.defineProperty(exports, "VISIBILITY_MODE", { enumerable: true, get: function () { return enums_1.VISIBILITY_MODE; } });
|
|
91
|
+
const types_1 = require("./types");
|
|
92
|
+
Object.defineProperty(exports, "PARAMETER_TYPE", { enumerable: true, get: function () { return types_1.PARAMETER_TYPE; } });
|
|
93
|
+
Object.defineProperty(exports, "PARAMETER_VISUALIZATION", { enumerable: true, get: function () { return types_1.PARAMETER_VISUALIZATION; } });
|
|
90
94
|
//# sourceMappingURL=index.js.map
|