@shapediver/viewer.viewport 3.14.9 → 3.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/implementation/PostProcessingApi.d.ts +2 -2
- package/dist/implementation/PostProcessingApi.d.ts.map +1 -1
- package/dist/implementation/PostProcessingApi.js.map +1 -1
- package/dist/index.d.ts +10 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +36 -26
- package/dist/index.js.map +1 -1
- package/dist/interfaces/IPostProcessingApi.d.ts +2 -1
- package/dist/interfaces/IPostProcessingApi.d.ts.map +1 -1
- package/package.json +19 -19
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RenderingEngine as RenderingEngineThreeJs } from "@shapediver/viewer.rendering-engine.rendering-engine-threejs";
|
|
1
|
+
import { Effect, EffectComposer, RenderingEngine as RenderingEngineThreeJs } from "@shapediver/viewer.rendering-engine.rendering-engine-threejs";
|
|
2
2
|
import { ITreeNode } from "@shapediver/viewer.shared.node-tree";
|
|
3
|
-
import { ANTI_ALIASING_TECHNIQUE,
|
|
3
|
+
import { ANTI_ALIASING_TECHNIQUE, IPostProcessingEffectDefinition, IPostProcessingEffectsArray, POST_PROCESSING_EFFECT_TYPE } from "@shapediver/viewer.shared.types";
|
|
4
4
|
import { IPostProcessingApi } from "../interfaces/IPostProcessingApi";
|
|
5
5
|
import { IViewportApi } from "../interfaces/IViewportApi";
|
|
6
6
|
export declare class PostProcessingApi implements IPostProcessingApi {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PostProcessingApi.d.ts","sourceRoot":"","sources":["../../src/implementation/PostProcessingApi.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"PostProcessingApi.d.ts","sourceRoot":"","sources":["../../src/implementation/PostProcessingApi.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,MAAM,EACN,cAAc,EACd,eAAe,IAAI,sBAAsB,EACzC,MAAM,8DAA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AAC,IAAI,EAAE,SAAS,GAAG,IAAI,CAAC;YACpC,eAAe,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;YAC1C,cAAc,IAAI,IAAI,CAAC;SACvB,CAAC;KACF,CAGA;IAED,IAAW,eAAe,IAAI,MAAM,CAEnC;IAED,IAAW,eAAe,CAAC,KAAK,EAAE,MAAM,EAYvC;IAMM,SAAS,CACf,UAAU,EAAE,+BAA+B,EAC3C,KAAK,CAAC,EAAE,MAAM,GACZ,MAAM;IAmBF,0BAA0B,CAChC,IAAI,EAAE,2BAA2B,GAC/B,OAAO;IAiBH,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAahC,eAAe,IAAI;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,2BAA2B,CAAA;KAAC;IAI/D,6BAA6B,IAAI,2BAA2B;IAM5D,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;IAgBpC,YAAY,CAClB,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,+BAA+B,GACzC,IAAI;CAkBP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PostProcessingApi.js","sourceRoot":"","sources":["../../src/implementation/PostProcessingApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"PostProcessingApi.js","sourceRoot":"","sources":["../../src/implementation/PostProcessingApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAMA,+EAA0E;AAC1E,yEAKyC;AAIzC,MAAa,iBAAiB;IAQ7B,4BAA4B;IAE5B,2BAA2B;IAE3B,YACC,WAAyB,EACzB,eAAuC;QAbxC,yBAAyB;QAEzB,4CAA2C,uCAAc,CAAC,QAAQ,EAAC;QACnE,oCAA2B,+BAAM,CAAC,QAAQ,EAAC;QAC3C,qDAAkD;QAClD,iDAAoC;QAUnC,uBAAA,IAAI,kCAAgB,WAAW,MAAA,CAAC;QAChC,uBAAA,IAAI,sCAAoB,eAAe,MAAA,CA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;QACF,MAAM,GAAG,GACR,uBAAA,IAAI,0CAAiB,CAAC,qBAAqB,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QACjE,uBAAA,IAAI,iCAAQ,CAAC,KAAK,CACjB,qBAAqB,KAAK,KAAK,KAAK,0BAA0B,KAAK,GAAG,CACtE,CAAC;QACF,uBAAA,IAAI,sCAAa,CAAC,MAAM,EAAE,CAAC;QAC3B,OAAO,GAAG,CAAC;IACZ,CAAC;IAEM,YAAY,CAClB,KAAa,EACb,UAA2C;QAE3C,MAAM,KAAK,GAAG,cAAc,CAAC;QAC7B,uBAAA,IAAI,yCAAgB,CAAC,gBAAgB,CACpC,qBAAqB,KAAK,EAAE,EAC5B,KAAK,EACL,QAAQ,CACR,CAAC;QACF,uBAAA,IAAI,0CAAiB,CAAC,qBAAqB,CAAC,YAAY,CACvD,KAAK,EACL,UAAU,CACV,CAAC;QACF,uBAAA,IAAI,iCAAQ,CAAC,KAAK,CACjB,qBAAqB,KAAK,KAAK,KAAK,0BAA0B,KAAK,mBAAmB,UAAU,GAAG,CACnG,CAAC;QACF,uBAAA,IAAI,sCAAa,CAAC,MAAM,EAAE,CAAC;IAC5B,CAAC;CAGD;AAxQD,8CAwQC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -6,11 +6,11 @@ import { MaterialEngine } from "@shapediver/viewer.data-engine.material-engine";
|
|
|
6
6
|
import { IAnchor, IMaterialContentData, IMaterialContentDataV1, IMaterialContentDataV2, IMaterialContentDataV3, ITag2D, ITag3D, ITexture, TAG3D_JUSTIFICATION } from "@shapediver/viewer.data-engine.shared-types";
|
|
7
7
|
import { CAMERA_TYPE, ICameraOptions, OrthographicCameraProperties, ORTHOGRAPHIC_CAMERA_DIRECTION, PerspectiveCameraProperties } from "@shapediver/viewer.rendering-engine.camera-engine";
|
|
8
8
|
import { LIGHT_TYPE } from "@shapediver/viewer.rendering-engine.light-engine";
|
|
9
|
-
import { ENVIRONMENT_MAP, ENVIRONMENT_MAP_CUBE, ENVIRONMENT_MAP_EMPTY, IThreejsData, ThreejsData } from "@shapediver/viewer.rendering-engine.rendering-engine-threejs";
|
|
9
|
+
import { BlendFunction, BloomEffect, ChromaticAberrationEffect, DepthOfFieldEffect, DotScreenEffect, Effect, EffectComposer, ENVIRONMENT_MAP, ENVIRONMENT_MAP_CUBE, ENVIRONMENT_MAP_EMPTY, GodRaysEffect, GridEffect, HueSaturationEffect, IThreejsData, KernelSize, NoiseEffect, OutlineEffect, PixelationEffect, Resolution, ScanlineEffect, SelectiveBloomEffect, SepiaEffect, SSAOEffect, ThreejsData, TiltShiftEffect, VignetteEffect, VignetteTechnique } from "@shapediver/viewer.rendering-engine.rendering-engine-threejs";
|
|
10
10
|
import { Box, IBox, IGeometry, ISphere, Sphere } from "@shapediver/viewer.shared.math";
|
|
11
11
|
import { ITransformation, ITree, ITreeNode, ITreeNodeData, Tree, TreeNode } from "@shapediver/viewer.shared.node-tree";
|
|
12
12
|
import { Converter, defaultSettings, EVENTTYPE, EVENTTYPE_CAMERA, EVENTTYPE_DRAWING_TOOLS, EVENTTYPE_GUMBALL, EVENTTYPE_INTERACTION, EVENTTYPE_OUTPUT, EVENTTYPE_PARAMETER, EVENTTYPE_RENDERING, EVENTTYPE_SCENE, EVENTTYPE_SESSION, EVENTTYPE_TASK, EVENTTYPE_VIEWPORT, IDomEventListener, IEvent, isARError, isValid, isViewerCameraError, isViewerCustomizationError, isViewerDataProcessingError, isViewerDrawingToolsError, isViewerEnvironmentMapError, isViewerError, isViewerGeometryBackendError, isViewerGeometryBackendGenericError, isViewerGeometryBackendRequestError, isViewerGeometryBackendResponseError, isViewerInteractionError, isViewerLightError, isViewerSessionError, isViewerSettingsError, isViewerUnknownError, isViewerValidationError, isViewerViewportError, isViewerWebGLError, LOGGING_LEVEL, MainEventTypes, SESSION_SETTINGS_MODE, ShapeDiverGeometryBackendError, ShapeDiverGeometryBackendRequestError, ShapeDiverGeometryBackendResponseError, ShapeDiverGeometryBackendResponseErrorType, ShapeDiverViewerArError, ShapeDiverViewerCameraError, ShapeDiverViewerCustomizationError, ShapeDiverViewerDataProcessingError, ShapeDiverViewerDrawingToolsError, ShapeDiverViewerEnvironmentMapError, ShapeDiverViewerError, ShapeDiverViewerErrorType, ShapeDiverViewerInteractionError, ShapeDiverViewerLightError, ShapeDiverViewerSessionError, ShapeDiverViewerSettingsError, ShapeDiverViewerUnknownError, ShapeDiverViewerValidationError, ShapeDiverViewerViewportError, ShapeDiverViewerWebGLError, stringify, SystemInfo } from "@shapediver/viewer.shared.services";
|
|
13
|
-
import { AnimationData, ANTI_ALIASING_TECHNIQUE, AttributeData,
|
|
13
|
+
import { AnimationData, ANTI_ALIASING_TECHNIQUE, AttributeData, BUSY_MODE_DISPLAY, ChunkData, CustomData, DraggingParameterValue, DrawingParameterValue, EventResponseMapping, FLAG_TYPE, GeometryData, GumballParameterValue, HTMLElementAnchorCustomData, HTMLElementAnchorData, HTMLElementAnchorImageData, HTMLElementAnchorTextData, IAnchorDataImage, IAnchorDataText, IAnimationData, IAnimationTrack, IAttributeData, IBloomEffectDefinition, ICameraEvent, IChromaticAberrationEffectDefinition, IChunkData, ICustomData, IDepthOfFieldEffectDefinition, IDotScreenEffectDefinition, IDraggingParameterJsonSchema, IDraggingParameterProps, IDraggingParameterPropsJsonSchema, IDrawingParameterJsonSchema, IDrawingParameterSettings, IGeometryData, IGodRaysEffectDefinition, IGridEffectDefinition, IGumballParameterJsonSchema, IGumballParameterProps, IGumballParameterPropsJsonSchema, IHBAOEffectDefinition, IHTMLElementAnchorData, IHTMLElementAnchorUpdateProperties, IHueSaturationEffectDefinition, IInstanceData, IInteractionParameterJsonSchema, IInteractionParameterProps, IInteractionParameterSettings, IMapData, IMapDataProperties, IMapDataPropertiesDefinition, IMaterialAbstractData, IMaterialAbstractDataProperties, IMaterialAbstractDataPropertiesDefinition, IMaterialBasicLineData, IMaterialBasicLineDataProperties, IMaterialBasicLineDataPropertiesDefinition, IMaterialGemData, IMaterialGemDataProperties, IMaterialGemDataPropertiesDefinition, IMaterialLambertData, IMaterialLambertDataProperties, IMaterialLambertDataPropertiesDefinition, IMaterialMultiPointData, IMaterialMultiPointDataProperties, IMaterialMultiPointDataPropertiesDefinition, IMaterialPhongData, IMaterialPhongDataProperties, IMaterialPhongDataPropertiesDefinition, IMaterialPointData, IMaterialPointDataProperties, IMaterialPointDataPropertiesDefinition, IMaterialShadowData, IMaterialShadowDataProperties, IMaterialShadowDataPropertiesDefinition, IMaterialSpecularGlossinessData, IMaterialSpecularGlossinessDataProperties, IMaterialSpecularGlossinessDataPropertiesDefinition, IMaterialStandardData, IMaterialStandardDataProperties, IMaterialStandardDataPropertiesDefinition, IMaterialUnlitData, IMaterialUnlitDataProperties, IMaterialUnlitDataPropertiesDefinition, IMaterialVariantsData, INoiseEffectDefinition, InstanceData, InteractionParameterSettingsType, IOutlineEffectDefinition, IOutputEvent, IParameterEvent, IPixelationEffectDefinition, IPostProcessingEffectDefinition, IPrimitiveData, IRenderingEvent, IScanlineEffectDefinition, ISceneEvent, ISDTFAttributeData, ISDTFAttributesData, ISDTFAttributeVisualizationData, ISDTFItemData, ISDTFOverview, ISDTFOverviewData, ISelectionParameterJsonSchema, ISelectionParameterProps, ISelectionParameterPropsJsonSchema, ISelectiveBloomEffectDefinition, ISepiaEffectDefinition, ISessionEvent, ISessionSettingsSections, ISettingsSections, ISSAOEffectDefinition, ITaskEvent, ITaskEventDescription, ITiltShiftEffectDefinition, IViewportEvent, IViewportSettingsSections, IVignetteEffectDefinition, MapData, MaterialBasicLineData, MaterialGemData, MaterialLambertData, MaterialMultiPointData, MaterialPhongData, MaterialPointData, MaterialShadowData, MaterialSpecularGlossinessData, MaterialStandardData, MaterialUnlitData, MaterialVariantsData, MATERIAL_ALPHA, MATERIAL_SHADING, MATERIAL_SIDE, MATERIAL_TYPE, PARAMETER_TYPE, PARAMETER_VISUALIZATION, POST_PROCESSING_EFFECT_TYPE, PrimitiveData, PRIMITIVE_MODE, RENDERER_TYPE, SDTFAttributeData, SDTFAttributesData, SDTFItemData, SDTFOverviewData, SdtfPrimitiveTypeGuard, SDTF_TYPEHINT, SelectionParameterValue, SessionCreationDefinition, SPINNER_POSITIONING, TaskCategoryTypes, TASK_CATEGORY, TASK_CATEGORY_SESSION_CUSTOMIZATION_CATEGORY, TASK_TYPE, TEXTURE_ENCODING, TEXTURE_FILTERING, TEXTURE_WRAPPING, TONE_MAPPING, validateDraggingParameterSettings, validateDrawingParameterSettings, validateGumballParameterSettings, validateInteractionParameterSettings, validateSelectionParameterSettings, ViewportCreationDefinition, VISIBILITY_MODE } from "@shapediver/viewer.shared.types";
|
|
14
14
|
import { ICameraApi } from "./interfaces/camera/ICameraApi";
|
|
15
15
|
import { IOrthographicCameraApi } from "./interfaces/camera/IOrthographicCameraApi";
|
|
16
16
|
import { IPerspectiveCameraApi } from "./interfaces/camera/IPerspectiveCameraApi";
|
|
@@ -29,7 +29,7 @@ export { addListener, removeListener, sceneTree, generalOptions, version, IGener
|
|
|
29
29
|
export { SessionCreationDefinition, ViewportCreationDefinition };
|
|
30
30
|
export { ITree, Tree, ITreeNode, TreeNode, ITreeNodeData };
|
|
31
31
|
export { FLAG_TYPE, PARAMETER_TYPE, EXPORT_TYPE, PARAMETER_VISUALIZATION, TAG3D_JUSTIFICATION, CAMERA_TYPE, LIGHT_TYPE, RENDERER_TYPE, VISIBILITY_MODE, ORTHOGRAPHIC_CAMERA_DIRECTION, TEXTURE_ENCODING, TONE_MAPPING, ENVIRONMENT_MAP, ENVIRONMENT_MAP_CUBE, ENVIRONMENT_MAP_EMPTY, LOGGING_LEVEL, PRIMITIVE_MODE, MATERIAL_SIDE, MATERIAL_ALPHA, MATERIAL_SHADING, MATERIAL_TYPE, TEXTURE_WRAPPING, TEXTURE_FILTERING, SDTF_TYPEHINT, BUSY_MODE_DISPLAY, SESSION_SETTINGS_MODE, SPINNER_POSITIONING, };
|
|
32
|
-
export { Converter, SystemInfo, TASK_TYPE, MainEventTypes, EVENTTYPE, EVENTTYPE_CAMERA, EVENTTYPE_OUTPUT, EVENTTYPE_PARAMETER, EVENTTYPE_RENDERING, EVENTTYPE_SCENE, EVENTTYPE_SESSION, EVENTTYPE_VIEWPORT, EVENTTYPE_INTERACTION, EVENTTYPE_GUMBALL, EVENTTYPE_DRAWING_TOOLS, EVENTTYPE_TASK, };
|
|
32
|
+
export { Converter, SystemInfo, ITaskEventDescription, TASK_TYPE, TASK_CATEGORY, TaskCategoryTypes, TASK_CATEGORY_SESSION_CUSTOMIZATION_CATEGORY, MainEventTypes, EVENTTYPE, EVENTTYPE_CAMERA, EVENTTYPE_OUTPUT, EVENTTYPE_PARAMETER, EVENTTYPE_RENDERING, EVENTTYPE_SCENE, EVENTTYPE_SESSION, EVENTTYPE_VIEWPORT, EVENTTYPE_INTERACTION, EVENTTYPE_GUMBALL, EVENTTYPE_DRAWING_TOOLS, EVENTTYPE_TASK, };
|
|
33
33
|
export { IBox, Box, ISphere, Sphere, IGeometry, ITransformation, ShapeDiverResponseOutput, ShapeDiverResponseOutputContentBackend, ShapeDiverResponseOutputChunkBackend, IDomEventListener, IEvent, IThreejsData, ThreejsData, };
|
|
34
34
|
export { ShapeDiverResponseExport, ShapeDiverResponseExportContent, ShapeDiverResponseExportResult, ShapeDiverResponseModelComputationStatus, ShapeDiverResponseExportDefinitionGroup, ShapeDiverResponseParameter, };
|
|
35
35
|
export { EventResponseMapping, IViewportEvent, ISessionEvent, IOutputEvent, ICameraEvent, ISceneEvent, ITaskEvent, IRenderingEvent, IParameterEvent, ISettingsSections, IViewportSettingsSections, ISessionSettingsSections, };
|
|
@@ -44,6 +44,13 @@ export { isViewerError, isViewerUnknownError, isViewerDataProcessingError, isVie
|
|
|
44
44
|
export { ANTI_ALIASING_TECHNIQUE, POST_PROCESSING_EFFECT_TYPE, IPostProcessingEffectDefinition, IBloomEffectDefinition, IChromaticAberrationEffectDefinition, IDepthOfFieldEffectDefinition, IDotScreenEffectDefinition, IGodRaysEffectDefinition, IGridEffectDefinition, IHBAOEffectDefinition, IHueSaturationEffectDefinition, INoiseEffectDefinition, IOutlineEffectDefinition, IPixelationEffectDefinition, ISSAOEffectDefinition, IScanlineEffectDefinition, ISelectiveBloomEffectDefinition, ISepiaEffectDefinition, ITiltShiftEffectDefinition, IVignetteEffectDefinition, BloomEffect, ChromaticAberrationEffect, DepthOfFieldEffect, DotScreenEffect, GodRaysEffect, GridEffect, HueSaturationEffect, NoiseEffect, OutlineEffect, PixelationEffect, SSAOEffect, ScanlineEffect, SelectiveBloomEffect, SepiaEffect, TiltShiftEffect, VignetteEffect, Effect, EffectComposer, BlendFunction, VignetteTechnique, KernelSize, Resolution, };
|
|
45
45
|
export { InteractionParameterSettingsType, IInteractionParameterProps, IInteractionParameterSettings, IInteractionParameterJsonSchema, ISelectionParameterProps, SelectionParameterValue, ISelectionParameterJsonSchema, ISelectionParameterPropsJsonSchema, IGumballParameterProps, GumballParameterValue, IGumballParameterJsonSchema, IGumballParameterPropsJsonSchema, IDraggingParameterProps, DraggingParameterValue, IDraggingParameterJsonSchema, IDraggingParameterPropsJsonSchema, DrawingParameterValue, IDrawingParameterSettings, IDrawingParameterJsonSchema, validateInteractionParameterSettings, validateSelectionParameterSettings, validateGumballParameterSettings, validateDraggingParameterSettings, validateDrawingParameterSettings, };
|
|
46
46
|
export { isValid, stringify };
|
|
47
|
+
export { assignMaterialFromDatabase, combineTextures, loadContent };
|
|
48
|
+
declare const assignMaterialFromDatabase: ((node: ITreeNode) => Promise<void>) | undefined;
|
|
49
|
+
declare const combineTextures: ((red?: HTMLImageElement | ArrayBuffer | undefined, green?: HTMLImageElement | ArrayBuffer | undefined, blue?: HTMLImageElement | ArrayBuffer | undefined) => Promise<{
|
|
50
|
+
image: HTMLImageElement | ArrayBuffer;
|
|
51
|
+
blob: Blob;
|
|
52
|
+
}>) | undefined;
|
|
53
|
+
declare const loadContent: ((content: ShapeDiverResponseOutputContentBackend, outputInfo?: Pick<Partial<ShapeDiverResponseOutput>, "id" | "name" | "displayname" | "version"> | undefined, jwtToken?: string | undefined, taskEventId?: string | undefined) => Promise<ITreeNode>) | undefined;
|
|
47
54
|
export interface ShapeDiverResponseOutputContent extends ShapeDiverResponseOutputContentBackend {
|
|
48
55
|
data?: ITag2D[] | ITag3D[] | IAnchor[] | IMaterialContentData | IMaterialContentDataV1 | IMaterialContentDataV2 | IMaterialContentDataV3 | unknown;
|
|
49
56
|
}
|
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,EACN,SAAS,IAAI,wBAAwB,EACrC,gBAAgB,IAAI,+BAA+B,EACnD,wBAAwB,IAAI,uCAAuC,EACnE,uBAAuB,IAAI,WAAW,EACtC,eAAe,IAAI,8BAA8B,EACjD,wBAAwB,IAAI,wCAAwC,EACpE,SAAS,IAAI,wBAAwB,EACrC,cAAc,IAAI,oCAAoC,EACtD,gBAAgB,IAAI,sCAAsC,EAC1D,YAAY,IAAI,2BAA2B,EAC3C,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACN,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,SAAS,EACT,OAAO,EACP,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAC,UAAU,EAAC,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAC,cAAc,EAAC,MAAM,gDAAgD,CAAC;AAC9E,OAAO,EAAC,cAAc,EAAC,MAAM,gDAAgD,CAAC;AAC9E,OAAO,EACN,OAAO,EACP,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,MAAM,EACN,MAAM,EACN,QAAQ,EACR,mBAAmB,EACnB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACN,WAAW,EACX,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,2BAA2B,EAC3B,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAC,UAAU,EAAC,MAAM,kDAA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,2BAA2B,EAC3B,oCAAoC,EACpC,kCAAkC,EAClC,gCAAgC,EAChC,iCAAiC,EACjC,gCAAgC,GAChC,CAAC;AACF,OAAO,EAAC,OAAO,EAAE,SAAS,EAAC,CAAC;AAC5B,OAAO,EAAC,0BAA0B,EAAE,eAAe,EAAE,WAAW,EAAC,CAAC;AAGlE,QAAA,MAAM,0BAA0B,kDACe,CAAC;AAChD,QAAA,MAAM,eAAe;;;eAAsC,CAAC;AAC5D,QAAA,MAAM,WAAW,qQAAkC,CAAC;AAEpD,MAAM,WAAW,+BAChB,SAAQ,sCAAsC;IAG9C,IAAI,CAAC,EACF,MAAM,EAAE,GACR,MAAM,EAAE,GACR,OAAO,EAAE,GACT,oBAAoB,GACpB,sBAAsB,GACtB,sBAAsB,GACtB,sBAAsB,GACtB,OAAO,CAAC;CAGX;AACD,MAAM,WAAW,6BAChB,SAAQ,oCAAoC;IAG5C,IAAI,CAAC,EAAE,SAAS,CAAC;CAGjB"}
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.stringify = exports.isValid = exports.validateDrawingParameterSettings = exports.validateDraggingParameterSettings = exports.validateGumballParameterSettings = exports.validateSelectionParameterSettings = exports.validateInteractionParameterSettings = exports.IDrawingParameterJsonSchema = exports.IDraggingParameterPropsJsonSchema = exports.IDraggingParameterJsonSchema = exports.IGumballParameterPropsJsonSchema = exports.IGumballParameterJsonSchema = exports.ISelectionParameterPropsJsonSchema = exports.ISelectionParameterJsonSchema = void 0;
|
|
3
|
+
exports.EVENTTYPE_VIEWPORT = exports.EVENTTYPE_SESSION = exports.EVENTTYPE_SCENE = exports.EVENTTYPE_RENDERING = exports.EVENTTYPE_PARAMETER = exports.EVENTTYPE_OUTPUT = exports.EVENTTYPE_CAMERA = exports.EVENTTYPE = exports.TASK_CATEGORY_SESSION_CUSTOMIZATION_CATEGORY = exports.TASK_CATEGORY = exports.TASK_TYPE = exports.SystemInfo = exports.Converter = exports.SPINNER_POSITIONING = exports.SESSION_SETTINGS_MODE = exports.BUSY_MODE_DISPLAY = exports.SDTF_TYPEHINT = exports.TEXTURE_FILTERING = exports.TEXTURE_WRAPPING = exports.MATERIAL_TYPE = exports.MATERIAL_SHADING = exports.MATERIAL_ALPHA = exports.MATERIAL_SIDE = exports.PRIMITIVE_MODE = exports.LOGGING_LEVEL = exports.ENVIRONMENT_MAP_EMPTY = exports.ENVIRONMENT_MAP_CUBE = exports.ENVIRONMENT_MAP = exports.TONE_MAPPING = exports.TEXTURE_ENCODING = exports.ORTHOGRAPHIC_CAMERA_DIRECTION = exports.VISIBILITY_MODE = exports.RENDERER_TYPE = exports.LIGHT_TYPE = exports.CAMERA_TYPE = exports.TAG3D_JUSTIFICATION = exports.PARAMETER_VISUALIZATION = exports.EXPORT_TYPE = exports.PARAMETER_TYPE = exports.FLAG_TYPE = exports.TreeNode = exports.Tree = exports.defaultSettings = exports.version = exports.generalOptions = exports.sceneTree = exports.removeListener = exports.addListener = exports.viewports = exports.createViewport = void 0;
|
|
4
|
+
exports.ShapeDiverViewerLightError = exports.ShapeDiverViewerArError = exports.ShapeDiverViewerUnknownError = exports.ShapeDiverViewerViewportError = exports.ShapeDiverViewerCustomizationError = exports.ShapeDiverViewerSessionError = exports.ShapeDiverViewerSettingsError = exports.ShapeDiverViewerWebGLError = exports.ShapeDiverViewerEnvironmentMapError = exports.ShapeDiverViewerDataProcessingError = exports.ShapeDiverViewerError = exports.ShapeDiverViewerErrorType = exports.MaterialEngine = exports.GeometryEngine = exports.DataEngine = exports.SdtfPrimitiveTypeGuard = exports.SDTFItemData = exports.SDTFAttributeData = exports.SDTFAttributesData = exports.SDTFOverviewData = exports.CustomData = exports.HTMLElementAnchorData = exports.HTMLElementAnchorImageData = exports.HTMLElementAnchorTextData = exports.HTMLElementAnchorCustomData = exports.MaterialVariantsData = exports.PrimitiveData = exports.AttributeData = exports.GeometryData = exports.InstanceData = exports.AnimationData = exports.MapData = exports.MaterialLambertData = exports.MaterialPhongData = exports.MaterialBasicLineData = exports.MaterialMultiPointData = exports.MaterialPointData = exports.MaterialGemData = exports.MaterialSpecularGlossinessData = exports.MaterialShadowData = exports.MaterialUnlitData = exports.MaterialStandardData = exports.ChunkData = exports.ThreejsData = exports.Sphere = exports.Box = exports.EVENTTYPE_TASK = exports.EVENTTYPE_DRAWING_TOOLS = exports.EVENTTYPE_GUMBALL = exports.EVENTTYPE_INTERACTION = void 0;
|
|
5
|
+
exports.KernelSize = exports.VignetteTechnique = exports.BlendFunction = exports.EffectComposer = exports.Effect = exports.VignetteEffect = exports.TiltShiftEffect = exports.SepiaEffect = exports.SelectiveBloomEffect = exports.ScanlineEffect = exports.SSAOEffect = exports.PixelationEffect = exports.OutlineEffect = exports.NoiseEffect = exports.HueSaturationEffect = exports.GridEffect = exports.GodRaysEffect = exports.DotScreenEffect = exports.DepthOfFieldEffect = exports.ChromaticAberrationEffect = exports.BloomEffect = exports.POST_PROCESSING_EFFECT_TYPE = exports.ANTI_ALIASING_TECHNIQUE = exports.isViewerGeometryBackendResponseError = exports.isViewerGeometryBackendRequestError = exports.isViewerGeometryBackendGenericError = exports.isViewerGeometryBackendError = exports.isViewerDrawingToolsError = exports.isViewerInteractionError = exports.isViewerValidationError = exports.isARError = exports.isViewerCameraError = exports.isViewerLightError = exports.isViewerViewportError = exports.isViewerCustomizationError = exports.isViewerSessionError = exports.isViewerSettingsError = exports.isViewerWebGLError = exports.isViewerEnvironmentMapError = exports.isViewerDataProcessingError = exports.isViewerUnknownError = exports.isViewerError = exports.ShapeDiverGeometryBackendResponseErrorType = exports.ShapeDiverGeometryBackendResponseError = exports.ShapeDiverGeometryBackendRequestError = exports.ShapeDiverGeometryBackendError = exports.ShapeDiverViewerDrawingToolsError = exports.ShapeDiverViewerInteractionError = exports.ShapeDiverViewerValidationError = exports.ShapeDiverViewerCameraError = void 0;
|
|
6
|
+
exports.loadContent = exports.combineTextures = exports.assignMaterialFromDatabase = exports.stringify = exports.isValid = exports.validateDrawingParameterSettings = exports.validateDraggingParameterSettings = exports.validateGumballParameterSettings = exports.validateSelectionParameterSettings = exports.validateInteractionParameterSettings = exports.IDrawingParameterJsonSchema = exports.IDraggingParameterPropsJsonSchema = exports.IDraggingParameterJsonSchema = exports.IGumballParameterPropsJsonSchema = exports.IGumballParameterJsonSchema = exports.ISelectionParameterPropsJsonSchema = exports.ISelectionParameterJsonSchema = exports.IInteractionParameterJsonSchema = exports.Resolution = void 0;
|
|
7
7
|
const sdk_geometry_api_sdk_v2_1 = require("@shapediver/sdk.geometry-api-sdk-v2");
|
|
8
8
|
Object.defineProperty(exports, "EXPORT_TYPE", { enumerable: true, get: function () { return sdk_geometry_api_sdk_v2_1.ResExportDefinitionType; } });
|
|
9
9
|
const viewer_api_general_1 = require("@shapediver/viewer.api.general");
|
|
@@ -26,10 +26,33 @@ Object.defineProperty(exports, "ORTHOGRAPHIC_CAMERA_DIRECTION", { enumerable: tr
|
|
|
26
26
|
const viewer_rendering_engine_light_engine_1 = require("@shapediver/viewer.rendering-engine.light-engine");
|
|
27
27
|
Object.defineProperty(exports, "LIGHT_TYPE", { enumerable: true, get: function () { return viewer_rendering_engine_light_engine_1.LIGHT_TYPE; } });
|
|
28
28
|
const viewer_rendering_engine_rendering_engine_threejs_1 = require("@shapediver/viewer.rendering-engine.rendering-engine-threejs");
|
|
29
|
+
Object.defineProperty(exports, "BlendFunction", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.BlendFunction; } });
|
|
30
|
+
Object.defineProperty(exports, "BloomEffect", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.BloomEffect; } });
|
|
31
|
+
Object.defineProperty(exports, "ChromaticAberrationEffect", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.ChromaticAberrationEffect; } });
|
|
32
|
+
Object.defineProperty(exports, "DepthOfFieldEffect", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.DepthOfFieldEffect; } });
|
|
33
|
+
Object.defineProperty(exports, "DotScreenEffect", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.DotScreenEffect; } });
|
|
34
|
+
Object.defineProperty(exports, "Effect", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.Effect; } });
|
|
35
|
+
Object.defineProperty(exports, "EffectComposer", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.EffectComposer; } });
|
|
29
36
|
Object.defineProperty(exports, "ENVIRONMENT_MAP", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.ENVIRONMENT_MAP; } });
|
|
30
37
|
Object.defineProperty(exports, "ENVIRONMENT_MAP_CUBE", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.ENVIRONMENT_MAP_CUBE; } });
|
|
31
38
|
Object.defineProperty(exports, "ENVIRONMENT_MAP_EMPTY", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.ENVIRONMENT_MAP_EMPTY; } });
|
|
39
|
+
Object.defineProperty(exports, "GodRaysEffect", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.GodRaysEffect; } });
|
|
40
|
+
Object.defineProperty(exports, "GridEffect", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.GridEffect; } });
|
|
41
|
+
Object.defineProperty(exports, "HueSaturationEffect", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.HueSaturationEffect; } });
|
|
42
|
+
Object.defineProperty(exports, "KernelSize", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.KernelSize; } });
|
|
43
|
+
Object.defineProperty(exports, "NoiseEffect", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.NoiseEffect; } });
|
|
44
|
+
Object.defineProperty(exports, "OutlineEffect", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.OutlineEffect; } });
|
|
45
|
+
Object.defineProperty(exports, "PixelationEffect", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.PixelationEffect; } });
|
|
46
|
+
Object.defineProperty(exports, "Resolution", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.Resolution; } });
|
|
47
|
+
Object.defineProperty(exports, "ScanlineEffect", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.ScanlineEffect; } });
|
|
48
|
+
Object.defineProperty(exports, "SelectiveBloomEffect", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.SelectiveBloomEffect; } });
|
|
49
|
+
Object.defineProperty(exports, "SepiaEffect", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.SepiaEffect; } });
|
|
50
|
+
Object.defineProperty(exports, "SSAOEffect", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.SSAOEffect; } });
|
|
32
51
|
Object.defineProperty(exports, "ThreejsData", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.ThreejsData; } });
|
|
52
|
+
Object.defineProperty(exports, "TiltShiftEffect", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.TiltShiftEffect; } });
|
|
53
|
+
Object.defineProperty(exports, "VignetteEffect", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.VignetteEffect; } });
|
|
54
|
+
Object.defineProperty(exports, "VignetteTechnique", { enumerable: true, get: function () { return viewer_rendering_engine_rendering_engine_threejs_1.VignetteTechnique; } });
|
|
55
|
+
const viewer_shared_global_access_objects_1 = require("@shapediver/viewer.shared.global-access-objects");
|
|
33
56
|
const viewer_shared_math_1 = require("@shapediver/viewer.shared.math");
|
|
34
57
|
Object.defineProperty(exports, "Box", { enumerable: true, get: function () { return viewer_shared_math_1.Box; } });
|
|
35
58
|
Object.defineProperty(exports, "Sphere", { enumerable: true, get: function () { return viewer_shared_math_1.Sphere; } });
|
|
@@ -99,25 +122,15 @@ const viewer_shared_types_1 = require("@shapediver/viewer.shared.types");
|
|
|
99
122
|
Object.defineProperty(exports, "AnimationData", { enumerable: true, get: function () { return viewer_shared_types_1.AnimationData; } });
|
|
100
123
|
Object.defineProperty(exports, "ANTI_ALIASING_TECHNIQUE", { enumerable: true, get: function () { return viewer_shared_types_1.ANTI_ALIASING_TECHNIQUE; } });
|
|
101
124
|
Object.defineProperty(exports, "AttributeData", { enumerable: true, get: function () { return viewer_shared_types_1.AttributeData; } });
|
|
102
|
-
Object.defineProperty(exports, "BlendFunction", { enumerable: true, get: function () { return viewer_shared_types_1.BlendFunction; } });
|
|
103
|
-
Object.defineProperty(exports, "BloomEffect", { enumerable: true, get: function () { return viewer_shared_types_1.BloomEffect; } });
|
|
104
125
|
Object.defineProperty(exports, "BUSY_MODE_DISPLAY", { enumerable: true, get: function () { return viewer_shared_types_1.BUSY_MODE_DISPLAY; } });
|
|
105
|
-
Object.defineProperty(exports, "ChromaticAberrationEffect", { enumerable: true, get: function () { return viewer_shared_types_1.ChromaticAberrationEffect; } });
|
|
106
126
|
Object.defineProperty(exports, "ChunkData", { enumerable: true, get: function () { return viewer_shared_types_1.ChunkData; } });
|
|
107
127
|
Object.defineProperty(exports, "CustomData", { enumerable: true, get: function () { return viewer_shared_types_1.CustomData; } });
|
|
108
|
-
Object.defineProperty(exports, "DepthOfFieldEffect", { enumerable: true, get: function () { return viewer_shared_types_1.DepthOfFieldEffect; } });
|
|
109
|
-
Object.defineProperty(exports, "DotScreenEffect", { enumerable: true, get: function () { return viewer_shared_types_1.DotScreenEffect; } });
|
|
110
|
-
Object.defineProperty(exports, "Effect", { enumerable: true, get: function () { return viewer_shared_types_1.Effect; } });
|
|
111
|
-
Object.defineProperty(exports, "EffectComposer", { enumerable: true, get: function () { return viewer_shared_types_1.EffectComposer; } });
|
|
112
128
|
Object.defineProperty(exports, "FLAG_TYPE", { enumerable: true, get: function () { return viewer_shared_types_1.FLAG_TYPE; } });
|
|
113
129
|
Object.defineProperty(exports, "GeometryData", { enumerable: true, get: function () { return viewer_shared_types_1.GeometryData; } });
|
|
114
|
-
Object.defineProperty(exports, "GodRaysEffect", { enumerable: true, get: function () { return viewer_shared_types_1.GodRaysEffect; } });
|
|
115
|
-
Object.defineProperty(exports, "GridEffect", { enumerable: true, get: function () { return viewer_shared_types_1.GridEffect; } });
|
|
116
130
|
Object.defineProperty(exports, "HTMLElementAnchorCustomData", { enumerable: true, get: function () { return viewer_shared_types_1.HTMLElementAnchorCustomData; } });
|
|
117
131
|
Object.defineProperty(exports, "HTMLElementAnchorData", { enumerable: true, get: function () { return viewer_shared_types_1.HTMLElementAnchorData; } });
|
|
118
132
|
Object.defineProperty(exports, "HTMLElementAnchorImageData", { enumerable: true, get: function () { return viewer_shared_types_1.HTMLElementAnchorImageData; } });
|
|
119
133
|
Object.defineProperty(exports, "HTMLElementAnchorTextData", { enumerable: true, get: function () { return viewer_shared_types_1.HTMLElementAnchorTextData; } });
|
|
120
|
-
Object.defineProperty(exports, "HueSaturationEffect", { enumerable: true, get: function () { return viewer_shared_types_1.HueSaturationEffect; } });
|
|
121
134
|
Object.defineProperty(exports, "IDraggingParameterJsonSchema", { enumerable: true, get: function () { return viewer_shared_types_1.IDraggingParameterJsonSchema; } });
|
|
122
135
|
Object.defineProperty(exports, "IDraggingParameterPropsJsonSchema", { enumerable: true, get: function () { return viewer_shared_types_1.IDraggingParameterPropsJsonSchema; } });
|
|
123
136
|
Object.defineProperty(exports, "IDrawingParameterJsonSchema", { enumerable: true, get: function () { return viewer_shared_types_1.IDrawingParameterJsonSchema; } });
|
|
@@ -127,7 +140,6 @@ Object.defineProperty(exports, "IInteractionParameterJsonSchema", { enumerable:
|
|
|
127
140
|
Object.defineProperty(exports, "InstanceData", { enumerable: true, get: function () { return viewer_shared_types_1.InstanceData; } });
|
|
128
141
|
Object.defineProperty(exports, "ISelectionParameterJsonSchema", { enumerable: true, get: function () { return viewer_shared_types_1.ISelectionParameterJsonSchema; } });
|
|
129
142
|
Object.defineProperty(exports, "ISelectionParameterPropsJsonSchema", { enumerable: true, get: function () { return viewer_shared_types_1.ISelectionParameterPropsJsonSchema; } });
|
|
130
|
-
Object.defineProperty(exports, "KernelSize", { enumerable: true, get: function () { return viewer_shared_types_1.KernelSize; } });
|
|
131
143
|
Object.defineProperty(exports, "MapData", { enumerable: true, get: function () { return viewer_shared_types_1.MapData; } });
|
|
132
144
|
Object.defineProperty(exports, "MaterialBasicLineData", { enumerable: true, get: function () { return viewer_shared_types_1.MaterialBasicLineData; } });
|
|
133
145
|
Object.defineProperty(exports, "MaterialGemData", { enumerable: true, get: function () { return viewer_shared_types_1.MaterialGemData; } });
|
|
@@ -144,42 +156,40 @@ Object.defineProperty(exports, "MATERIAL_ALPHA", { enumerable: true, get: functi
|
|
|
144
156
|
Object.defineProperty(exports, "MATERIAL_SHADING", { enumerable: true, get: function () { return viewer_shared_types_1.MATERIAL_SHADING; } });
|
|
145
157
|
Object.defineProperty(exports, "MATERIAL_SIDE", { enumerable: true, get: function () { return viewer_shared_types_1.MATERIAL_SIDE; } });
|
|
146
158
|
Object.defineProperty(exports, "MATERIAL_TYPE", { enumerable: true, get: function () { return viewer_shared_types_1.MATERIAL_TYPE; } });
|
|
147
|
-
Object.defineProperty(exports, "NoiseEffect", { enumerable: true, get: function () { return viewer_shared_types_1.NoiseEffect; } });
|
|
148
|
-
Object.defineProperty(exports, "OutlineEffect", { enumerable: true, get: function () { return viewer_shared_types_1.OutlineEffect; } });
|
|
149
159
|
Object.defineProperty(exports, "PARAMETER_TYPE", { enumerable: true, get: function () { return viewer_shared_types_1.PARAMETER_TYPE; } });
|
|
150
160
|
Object.defineProperty(exports, "PARAMETER_VISUALIZATION", { enumerable: true, get: function () { return viewer_shared_types_1.PARAMETER_VISUALIZATION; } });
|
|
151
|
-
Object.defineProperty(exports, "PixelationEffect", { enumerable: true, get: function () { return viewer_shared_types_1.PixelationEffect; } });
|
|
152
161
|
Object.defineProperty(exports, "POST_PROCESSING_EFFECT_TYPE", { enumerable: true, get: function () { return viewer_shared_types_1.POST_PROCESSING_EFFECT_TYPE; } });
|
|
153
162
|
Object.defineProperty(exports, "PrimitiveData", { enumerable: true, get: function () { return viewer_shared_types_1.PrimitiveData; } });
|
|
154
163
|
Object.defineProperty(exports, "PRIMITIVE_MODE", { enumerable: true, get: function () { return viewer_shared_types_1.PRIMITIVE_MODE; } });
|
|
155
164
|
Object.defineProperty(exports, "RENDERER_TYPE", { enumerable: true, get: function () { return viewer_shared_types_1.RENDERER_TYPE; } });
|
|
156
|
-
Object.defineProperty(exports, "Resolution", { enumerable: true, get: function () { return viewer_shared_types_1.Resolution; } });
|
|
157
|
-
Object.defineProperty(exports, "ScanlineEffect", { enumerable: true, get: function () { return viewer_shared_types_1.ScanlineEffect; } });
|
|
158
165
|
Object.defineProperty(exports, "SDTFAttributeData", { enumerable: true, get: function () { return viewer_shared_types_1.SDTFAttributeData; } });
|
|
159
166
|
Object.defineProperty(exports, "SDTFAttributesData", { enumerable: true, get: function () { return viewer_shared_types_1.SDTFAttributesData; } });
|
|
160
167
|
Object.defineProperty(exports, "SDTFItemData", { enumerable: true, get: function () { return viewer_shared_types_1.SDTFItemData; } });
|
|
161
168
|
Object.defineProperty(exports, "SDTFOverviewData", { enumerable: true, get: function () { return viewer_shared_types_1.SDTFOverviewData; } });
|
|
162
169
|
Object.defineProperty(exports, "SdtfPrimitiveTypeGuard", { enumerable: true, get: function () { return viewer_shared_types_1.SdtfPrimitiveTypeGuard; } });
|
|
163
170
|
Object.defineProperty(exports, "SDTF_TYPEHINT", { enumerable: true, get: function () { return viewer_shared_types_1.SDTF_TYPEHINT; } });
|
|
164
|
-
Object.defineProperty(exports, "SelectiveBloomEffect", { enumerable: true, get: function () { return viewer_shared_types_1.SelectiveBloomEffect; } });
|
|
165
|
-
Object.defineProperty(exports, "SepiaEffect", { enumerable: true, get: function () { return viewer_shared_types_1.SepiaEffect; } });
|
|
166
171
|
Object.defineProperty(exports, "SPINNER_POSITIONING", { enumerable: true, get: function () { return viewer_shared_types_1.SPINNER_POSITIONING; } });
|
|
167
|
-
Object.defineProperty(exports, "
|
|
172
|
+
Object.defineProperty(exports, "TASK_CATEGORY", { enumerable: true, get: function () { return viewer_shared_types_1.TASK_CATEGORY; } });
|
|
173
|
+
Object.defineProperty(exports, "TASK_CATEGORY_SESSION_CUSTOMIZATION_CATEGORY", { enumerable: true, get: function () { return viewer_shared_types_1.TASK_CATEGORY_SESSION_CUSTOMIZATION_CATEGORY; } });
|
|
168
174
|
Object.defineProperty(exports, "TASK_TYPE", { enumerable: true, get: function () { return viewer_shared_types_1.TASK_TYPE; } });
|
|
169
175
|
Object.defineProperty(exports, "TEXTURE_ENCODING", { enumerable: true, get: function () { return viewer_shared_types_1.TEXTURE_ENCODING; } });
|
|
170
176
|
Object.defineProperty(exports, "TEXTURE_FILTERING", { enumerable: true, get: function () { return viewer_shared_types_1.TEXTURE_FILTERING; } });
|
|
171
177
|
Object.defineProperty(exports, "TEXTURE_WRAPPING", { enumerable: true, get: function () { return viewer_shared_types_1.TEXTURE_WRAPPING; } });
|
|
172
|
-
Object.defineProperty(exports, "TiltShiftEffect", { enumerable: true, get: function () { return viewer_shared_types_1.TiltShiftEffect; } });
|
|
173
178
|
Object.defineProperty(exports, "TONE_MAPPING", { enumerable: true, get: function () { return viewer_shared_types_1.TONE_MAPPING; } });
|
|
174
179
|
Object.defineProperty(exports, "validateDraggingParameterSettings", { enumerable: true, get: function () { return viewer_shared_types_1.validateDraggingParameterSettings; } });
|
|
175
180
|
Object.defineProperty(exports, "validateDrawingParameterSettings", { enumerable: true, get: function () { return viewer_shared_types_1.validateDrawingParameterSettings; } });
|
|
176
181
|
Object.defineProperty(exports, "validateGumballParameterSettings", { enumerable: true, get: function () { return viewer_shared_types_1.validateGumballParameterSettings; } });
|
|
177
182
|
Object.defineProperty(exports, "validateInteractionParameterSettings", { enumerable: true, get: function () { return viewer_shared_types_1.validateInteractionParameterSettings; } });
|
|
178
183
|
Object.defineProperty(exports, "validateSelectionParameterSettings", { enumerable: true, get: function () { return viewer_shared_types_1.validateSelectionParameterSettings; } });
|
|
179
|
-
Object.defineProperty(exports, "VignetteEffect", { enumerable: true, get: function () { return viewer_shared_types_1.VignetteEffect; } });
|
|
180
|
-
Object.defineProperty(exports, "VignetteTechnique", { enumerable: true, get: function () { return viewer_shared_types_1.VignetteTechnique; } });
|
|
181
184
|
Object.defineProperty(exports, "VISIBILITY_MODE", { enumerable: true, get: function () { return viewer_shared_types_1.VISIBILITY_MODE; } });
|
|
182
185
|
const main_1 = require("./main");
|
|
183
186
|
Object.defineProperty(exports, "createViewport", { enumerable: true, get: function () { return main_1.createViewport; } });
|
|
184
187
|
Object.defineProperty(exports, "viewports", { enumerable: true, get: function () { return main_1.viewports; } });
|
|
188
|
+
const globalAccessObjects = viewer_shared_global_access_objects_1.GlobalAccessObjects.instance;
|
|
189
|
+
const assignMaterialFromDatabase = globalAccessObjects.assignMaterialFromDatabase;
|
|
190
|
+
exports.assignMaterialFromDatabase = assignMaterialFromDatabase;
|
|
191
|
+
const combineTextures = globalAccessObjects.combineTextures;
|
|
192
|
+
exports.combineTextures = combineTextures;
|
|
193
|
+
const loadContent = globalAccessObjects.loadContent;
|
|
194
|
+
exports.loadContent = loadContent;
|
|
185
195
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,iFAW6C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,iFAW6C;AA2V5C,4FAlW2B,iDAAW,OAkW3B;AA1VZ,uEAOwC;AAsUvC,4FA5UA,gCAAW,OA4UA;AAGX,+FA9UA,mCAAc,OA8UA;AAFd,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wEA;AAVhB,6FA7DA,kCAAY,OA6DA;AAwRZ,kHApVA,uDAAiC,OAoVA;AACjC,iHApVA,sDAAgC,OAoVA;AAFhC,iHAjVA,sDAAgC,OAiVA;AAFhC,qHA9UA,0DAAoC,OA8UA;AACpC,mHA9UA,wDAAkC,OA8UA;AAzRlC,gGAnDA,qCAAe,OAmDA;AAtChB,iCAAiD;AAiBzC,+FAjBA,qBAAc,OAiBA;AAAE,0FAjBA,gBAAS,OAiBA;AAsTjC,MAAM,mBAAmB,GAAG,yDAAmB,CAAC,QAAQ,CAAC;AACzD,MAAM,0BAA0B,GAC/B,mBAAmB,CAAC,0BAA0B,CAAC;AAJxC,gEAA0B;AAKlC,MAAM,eAAe,GAAG,mBAAmB,CAAC,eAAe,CAAC;AALxB,0CAAe;AAMnD,MAAM,WAAW,GAAG,mBAAmB,CAAC,WAAW,CAAC;AANC,kCAAW"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { Effect, EffectComposer } from "@shapediver/viewer.rendering-engine.rendering-engine-threejs";
|
|
1
2
|
import { ITreeNode } from "@shapediver/viewer.shared.node-tree";
|
|
2
|
-
import { ANTI_ALIASING_TECHNIQUE,
|
|
3
|
+
import { ANTI_ALIASING_TECHNIQUE, IBloomEffectDefinition, IChromaticAberrationEffectDefinition, IDepthOfFieldEffectDefinition, IDotScreenEffectDefinition, IGodRaysEffectDefinition, IGridEffectDefinition, IHBAOEffectDefinition, IHueSaturationEffectDefinition, INoiseEffectDefinition, IOutlineEffectDefinition, IPixelationEffectDefinition, IPostProcessingEffectDefinition, IPostProcessingEffectsArray, IScanlineEffectDefinition, ISelectiveBloomEffectDefinition, ISepiaEffectDefinition, ISSAOEffectDefinition, ITiltShiftEffectDefinition, IVignetteEffectDefinition, POST_PROCESSING_EFFECT_TYPE } from "@shapediver/viewer.shared.types";
|
|
3
4
|
export interface IPostProcessingApi {
|
|
4
5
|
/**
|
|
5
6
|
* The effect composer that is used internally for the rendering of the postprocessing effects.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPostProcessingApi.d.ts","sourceRoot":"","sources":["../../src/interfaces/IPostProcessingApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EACN,uBAAuB,EACvB,
|
|
1
|
+
{"version":3,"file":"IPostProcessingApi.d.ts","sourceRoot":"","sources":["../../src/interfaces/IPostProcessingApi.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,MAAM,EACN,cAAc,EACd,MAAM,8DAA8D,CAAC;AACtE,OAAO,EAAC,SAAS,EAAC,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EACN,uBAAuB,EACvB,sBAAsB,EACtB,oCAAoC,EACpC,6BAA6B,EAC7B,0BAA0B,EAC1B,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,8BAA8B,EAC9B,sBAAsB,EACtB,wBAAwB,EACxB,2BAA2B,EAC3B,+BAA+B,EAC/B,2BAA2B,EAC3B,yBAAyB,EACzB,+BAA+B,EAC/B,sBAAsB,EACtB,qBAAqB,EACrB,0BAA0B,EAC1B,yBAAyB,EACzB,2BAA2B,EAC3B,MAAM,iCAAiC,CAAC;AAEzC,MAAM,WAAW,kBAAkB;IAGlC;;;;;OAKG;IACH,QAAQ,CAAC,cAAc,EAAE,cAAc,GAAG,SAAS,CAAC;IAEpD;;;;;;;;;;OAUG;IACH,qBAAqB,EAAE,uBAAuB,CAAC;IAC/C;;;;;;;;;;OAUG;IACH,2BAA2B,EAAE,uBAAuB,CAAC;IACrD;;;;;;;OAOG;IACH,4BAA4B,EAAE,OAAO,CAAC;IACtC;;;;;;;;OAQG;IACH,cAAc,EAAE;QACf,CAAC,GAAG,EAAE,MAAM,GAAG;YACd;;;;;eAKG;YACH,cAAc,CAAC,IAAI,EAAE,SAAS,GAAG,IAAI,CAAC;YAEtC;;eAEG;YACH,iBAAiB,IAAI,IAAI,CAAC;SAC1B,CAAC;KACF,CA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D,SAAS,CAAC,UAAU,EAAE,2BAA2B,GAAG,MAAM,CAAC;IAC3D,SAAS,CAAC,UAAU,EAAE,qBAAqB,GAAG,MAAM,CAAC;IACrD,SAAS,CAAC,UAAU,EAAE,yBAAyB,GAAG,MAAM,CAAC;IACzD,SAAS,CAAC,UAAU,EAAE,+BAA+B,GAAG,MAAM,CAAC;IAC/D,SAAS,CAAC,UAAU,EAAE,sBAAsB,GAAG,MAAM,CAAC;IACtD,SAAS,CAAC,UAAU,EAAE,0BAA0B,GAAG,MAAM,CAAC;IAC1D,SAAS,CAAC,UAAU,EAAE,yBAAyB,GAAG,MAAM,CAAC;IACzD;;;;;;;;;;;OAWG;IACH,SAAS,CACR,UAAU,EAAE,+BAA+B,EAC3C,KAAK,CAAC,EAAE,MAAM,GACZ,MAAM,CAAC;IACV;;;;;;OAMG;IACH,0BAA0B,CAAC,IAAI,EAAE,2BAA2B,GAAG,OAAO,CAAC;IACvE;;;;;;;OAOG;IACH,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACjC;;;OAGG;IACH,eAAe,IAAI;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,2BAA2B,CAAA;KAAC,CAAC;IAChE;;;;OAIG;IACH,6BAA6B,IAAI,2BAA2B,CAAC;IAC7D;;;;;;;;;;OAUG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;IACrC;;;;;;;;;;;OAWG;IACH,YAAY,CACX,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,+BAA+B,GACzC,IAAI,CAAC;CAGR"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapediver/viewer.viewport",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.15.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webgl",
|
|
@@ -49,29 +49,29 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@shapediver/sdk.geometry-api-sdk-v2": "2.10.0",
|
|
52
|
-
"@shapediver/viewer.api.general": "3.
|
|
53
|
-
"@shapediver/viewer.creation-control-center.viewport": "3.
|
|
54
|
-
"@shapediver/viewer.data-engine.data-engine": "3.
|
|
55
|
-
"@shapediver/viewer.data-engine.geometry-engine": "3.
|
|
56
|
-
"@shapediver/viewer.data-engine.gltf-converter": "3.
|
|
57
|
-
"@shapediver/viewer.data-engine.material-engine": "3.
|
|
58
|
-
"@shapediver/viewer.data-engine.shared-types": "3.
|
|
59
|
-
"@shapediver/viewer.rendering-engine.animation-engine": "3.
|
|
60
|
-
"@shapediver/viewer.rendering-engine.camera-engine": "3.
|
|
61
|
-
"@shapediver/viewer.rendering-engine.light-engine": "3.
|
|
62
|
-
"@shapediver/viewer.rendering-engine.rendering-engine": "3.
|
|
63
|
-
"@shapediver/viewer.rendering-engine.rendering-engine-threejs": "3.
|
|
52
|
+
"@shapediver/viewer.api.general": "3.15.0",
|
|
53
|
+
"@shapediver/viewer.creation-control-center.viewport": "3.15.0",
|
|
54
|
+
"@shapediver/viewer.data-engine.data-engine": "3.15.0",
|
|
55
|
+
"@shapediver/viewer.data-engine.geometry-engine": "3.15.0",
|
|
56
|
+
"@shapediver/viewer.data-engine.gltf-converter": "3.15.0",
|
|
57
|
+
"@shapediver/viewer.data-engine.material-engine": "3.15.0",
|
|
58
|
+
"@shapediver/viewer.data-engine.shared-types": "3.15.0",
|
|
59
|
+
"@shapediver/viewer.rendering-engine.animation-engine": "3.15.0",
|
|
60
|
+
"@shapediver/viewer.rendering-engine.camera-engine": "3.15.0",
|
|
61
|
+
"@shapediver/viewer.rendering-engine.light-engine": "3.15.0",
|
|
62
|
+
"@shapediver/viewer.rendering-engine.rendering-engine": "3.15.0",
|
|
63
|
+
"@shapediver/viewer.rendering-engine.rendering-engine-threejs": "3.15.0",
|
|
64
64
|
"@shapediver/viewer.settings": "1.2.1",
|
|
65
|
-
"@shapediver/viewer.shared.build-data": "3.
|
|
66
|
-
"@shapediver/viewer.shared.math": "3.
|
|
67
|
-
"@shapediver/viewer.shared.node-tree": "3.
|
|
68
|
-
"@shapediver/viewer.shared.services": "3.
|
|
69
|
-
"@shapediver/viewer.shared.types": "3.
|
|
65
|
+
"@shapediver/viewer.shared.build-data": "3.15.0",
|
|
66
|
+
"@shapediver/viewer.shared.math": "3.15.0",
|
|
67
|
+
"@shapediver/viewer.shared.node-tree": "3.15.0",
|
|
68
|
+
"@shapediver/viewer.shared.services": "3.15.0",
|
|
69
|
+
"@shapediver/viewer.shared.types": "3.15.0",
|
|
70
70
|
"@types/qrcode": "^1.5.0",
|
|
71
71
|
"@types/three": "0.162.0",
|
|
72
72
|
"gl-matrix": "3.3.0",
|
|
73
73
|
"qrcode": "^1.5.0",
|
|
74
74
|
"three": "0.162.0"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "cfd8b820c0ff7bc5732c57956dbd5874d59a0d72"
|
|
77
77
|
}
|