@shapediver/viewer.viewport 3.20.0 → 3.21.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/README.md +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/interfaces/IViewportApi.d.ts +12 -12
- package/dist/interfaces/IViewportApi.d.ts.map +1 -1
- package/dist/interfaces/camera/ICameraApi.d.ts +2 -2
- package/dist/interfaces/camera/ICameraApi.d.ts.map +1 -1
- package/dist/interfaces/camera/IOrthographicCameraApi.d.ts +1 -1
- package/dist/interfaces/camera/IPerspectiveCameraApi.d.ts +1 -1
- package/dist/interfaces/lights/ILightSceneApi.d.ts +2 -2
- package/dist/interfaces/lights/types/IAmbientLightApi.d.ts +1 -1
- package/dist/interfaces/lights/types/IDirectionalLightApi.d.ts +1 -1
- package/dist/interfaces/lights/types/IHemisphereLightApi.d.ts +1 -1
- package/dist/interfaces/lights/types/IPointLightApi.d.ts +1 -1
- package/dist/interfaces/lights/types/ISpotLightApi.d.ts +1 -1
- package/dist/main.d.ts +2 -2
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +2 -2
- package/dist/main.js.map +1 -1
- package/package.json +20 -20
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ The ShapeDiver Viewer consists of simple components that you can use in your own
|
|
|
23
23
|
|
|
24
24
|
### createViewport
|
|
25
25
|
|
|
26
|
-
The
|
|
26
|
+
The {@link IViewportApi | viewport} is the component where the rendering takes place. To create it, a canvas is needed that is somewhere in your page.
|
|
27
27
|
|
|
28
28
|
```typescript
|
|
29
29
|
import {createViewport} from "@shapediver/viewer.viewport";
|
package/dist/index.d.ts
CHANGED
|
@@ -10,10 +10,11 @@ import { BlendFunction, BloomEffect, ChromaticAberrationEffect, DepthOfFieldEffe
|
|
|
10
10
|
import { Box, type IBox, type IGeometry, type ISphere, Sphere } from "@shapediver/viewer.shared.math";
|
|
11
11
|
import { AnimationData, AttributeData, ChunkData, CustomData, GeometryData, HTMLElementAnchorCustomData, HTMLElementAnchorData, HTMLElementAnchorImageData, HTMLElementAnchorTextData, InstanceData, type ITransformation, type ITree, type ITreeNode, type ITreeNodeData, MapData, MaterialBasicLineData, MaterialGemData, MaterialLambertData, MaterialMultiPointData, MaterialPhongData, MaterialPointData, MaterialShadowData, MaterialSpecularGlossinessData, MaterialStandardData, MaterialUnlitData, MaterialVariantsData, PrimitiveData, SDTFAttributeData, SDTFAttributesData, SDTFItemData, SDTFOverviewData, Tree, TreeNode } from "@shapediver/viewer.shared.node-tree";
|
|
12
12
|
import { Converter, defaultSettings, EVENTTYPE, EVENTTYPE_CAMERA, EVENTTYPE_DRAWING_TOOLS, EVENTTYPE_INTERACTION, EVENTTYPE_OUTPUT, EVENTTYPE_PARAMETER, EVENTTYPE_RENDERING, EVENTTYPE_SCENE, EVENTTYPE_SESSION, EVENTTYPE_TASK, EVENTTYPE_TRANSFORMATION_TOOLS, EVENTTYPE_VIEWPORT, type IDomEventListener, type IEvent, isARError, isValid, isViewerCameraError, isViewerCustomizationError, isViewerDataProcessingError, isViewerDrawingToolsError, isViewerEnvironmentMapError, isViewerError, isViewerGeometryBackendError, isViewerGeometryBackendGenericError, isViewerGeometryBackendRequestError, isViewerGeometryBackendResponseError, isViewerInteractionError, isViewerLightError, isViewerSessionError, isViewerSettingsError, isViewerUnknownError, isViewerValidationError, isViewerViewportError, isViewerWebGLError, LOGGING_LEVEL, type 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 { ANTI_ALIASING_TECHNIQUE, BUSY_MODE_DISPLAY, type DraggingParameterValue, type DrawingParameterValue, type EventResponseMapping, FLAG_TYPE, type GumballTransformParameterValue, type IAnchorDataImage, type IAnchorDataText, type IAnimationData, type IAnimationTrack, type IAttributeData, type IBloomEffectDefinition, type ICameraEvent, type IChromaticAberrationEffectDefinition, type IChunkData, type ICustomData, type IDepthOfFieldEffectDefinition, type IDotScreenEffectDefinition, IDraggingParameterJsonSchema, type IDraggingParameterProps, IDraggingParameterPropsJsonSchema, IDrawingParameterJsonSchema, type IDrawingParameterSettings, type IGeometryData, type IGodRaysEffectDefinition, type IGridEffectDefinition, IGumballTransformParameterJsonSchema, type IGumballTransformParameterProps, IGumballTransformParameterPropsJsonSchema, type IHBAOEffectDefinition, type IHTMLElementAnchorData, type IHTMLElementAnchorUpdateProperties, type IHueSaturationEffectDefinition, type IInstanceData, IInteractionParameterJsonSchema, type IInteractionParameterProps, type IInteractionParameterSettings, type IMapData, type IMapDataProperties, type IMapDataPropertiesDefinition, type IMaterialAbstractData, type IMaterialAbstractDataProperties, type IMaterialAbstractDataPropertiesDefinition, type IMaterialBasicLineData, type IMaterialBasicLineDataProperties, type IMaterialBasicLineDataPropertiesDefinition, type IMaterialGemData, type IMaterialGemDataProperties, type IMaterialGemDataPropertiesDefinition, type IMaterialLambertData, type IMaterialLambertDataProperties, type IMaterialLambertDataPropertiesDefinition, type IMaterialMultiPointData, type IMaterialMultiPointDataProperties, type IMaterialMultiPointDataPropertiesDefinition, type IMaterialPhongData, type IMaterialPhongDataProperties, type IMaterialPhongDataPropertiesDefinition, type IMaterialPointData, type IMaterialPointDataProperties, type IMaterialPointDataPropertiesDefinition, type IMaterialShadowData, type IMaterialShadowDataProperties, type IMaterialShadowDataPropertiesDefinition, type IMaterialSpecularGlossinessData, type IMaterialSpecularGlossinessDataProperties, type IMaterialSpecularGlossinessDataPropertiesDefinition, type IMaterialStandardData, type IMaterialStandardDataProperties, type IMaterialStandardDataPropertiesDefinition, type IMaterialUnlitData, type IMaterialUnlitDataProperties, type IMaterialUnlitDataPropertiesDefinition, type IMaterialVariantsData, type INoiseEffectDefinition, type InteractionParameterSettingsType, type IOutlineEffectDefinition, type IOutputEvent, type IParameterEvent, type IPixelationEffectDefinition, type IPostProcessingEffectDefinition, type IPrimitiveData, IRectangleTransformParameterJsonSchema, type IRectangleTransformParameterProps, IRectangleTransformParameterPropsJsonSchema, type IRenderingEvent, type IScanlineEffectDefinition, type ISceneEvent, type ISDTFAttributeData, type ISDTFAttributesData, type ISDTFAttributeVisualizationData, type ISDTFItemData, type ISDTFOverview, type ISDTFOverviewData, ISelectionParameterJsonSchema, type ISelectionParameterProps, ISelectionParameterPropsJsonSchema, type ISelectiveBloomEffectDefinition, type ISepiaEffectDefinition, type ISessionErrorEvent, type ISessionEvent, type ISessionSettingsSections, type ISettingsSections, type ISSAOEffectDefinition, type ITaskEvent, type ITaskEventDescription, type ITiltShiftEffectDefinition, type IViewportEvent, type IViewportSettingsSections, type IVignetteEffectDefinition, MATERIAL_ALPHA, MATERIAL_SHADING, MATERIAL_SIDE, MATERIAL_TYPE, PARAMETER_TYPE, PARAMETER_VISUALIZATION, POST_PROCESSING_EFFECT_TYPE, PRIMITIVE_MODE, type RectangleTransformParameterValue, RENDERER_TYPE, SDTF_TYPEHINT, SdtfPrimitiveTypeGuard, type SelectionParameterValue, type SessionCreationDefinition, SPINNER_POSITIONING, TASK_CATEGORY, TASK_CATEGORY_SESSION_CUSTOMIZATION_CATEGORY, TASK_TYPE, type TaskCategoryTypes, TEXTURE_ENCODING, TEXTURE_FILTERING, TEXTURE_WRAPPING, TONE_MAPPING, validateDraggingParameterSettings, validateDrawingParameterSettings, validateGumballTransformParameterSettings, validateInteractionParameterSettings, validateRectangleTransformParameterSettings, validateSelectionParameterSettings, type ViewportCreationDefinition, VISIBILITY_MODE } from "@shapediver/viewer.shared.types";
|
|
13
|
+
import { ANTI_ALIASING_TECHNIQUE, BUSY_MODE_DISPLAY, type DraggingParameterValue, type DrawingParameterValue, type EventResponseMapping, FLAG_TYPE, type GumballTransformParameterValue, type IAnchorDataImage, type IAnchorDataText, type IAnimationData, type IAnimationTrack, type IAttributeData, type IBloomEffectDefinition, type ICameraEvent, type IChromaticAberrationEffectDefinition, type IChunkData, type ICustomData, type IDepthOfFieldEffectDefinition, type IDotScreenEffectDefinition, IDraggingParameterJsonSchema, type IDraggingParameterProps, IDraggingParameterPropsJsonSchema, IDrawingParameterJsonSchema, type IDrawingParameterSettings, type IGeometryData, type IGodRaysEffectDefinition, type IGridEffectDefinition, IGumballTransformParameterJsonSchema, type IGumballTransformParameterProps, IGumballTransformParameterPropsJsonSchema, type IHBAOEffectDefinition, type IHTMLElementAnchorData, type IHTMLElementAnchorUpdateProperties, type IHueSaturationEffectDefinition, type IInstanceData, IInteractionParameterJsonSchema, type IInteractionParameterProps, type IInteractionParameterSettings, type IMapData, type IMapDataProperties, type IMapDataPropertiesDefinition, type IMaterialAbstractData, type IMaterialAbstractDataProperties, type IMaterialAbstractDataPropertiesDefinition, type IMaterialBasicLineData, type IMaterialBasicLineDataProperties, type IMaterialBasicLineDataPropertiesDefinition, type IMaterialGemData, type IMaterialGemDataProperties, type IMaterialGemDataPropertiesDefinition, type IMaterialLambertData, type IMaterialLambertDataProperties, type IMaterialLambertDataPropertiesDefinition, type IMaterialMultiPointData, type IMaterialMultiPointDataProperties, type IMaterialMultiPointDataPropertiesDefinition, type IMaterialPhongData, type IMaterialPhongDataProperties, type IMaterialPhongDataPropertiesDefinition, type IMaterialPointData, type IMaterialPointDataProperties, type IMaterialPointDataPropertiesDefinition, type IMaterialShadowData, type IMaterialShadowDataProperties, type IMaterialShadowDataPropertiesDefinition, type IMaterialSpecularGlossinessData, type IMaterialSpecularGlossinessDataProperties, type IMaterialSpecularGlossinessDataPropertiesDefinition, type IMaterialStandardData, type IMaterialStandardDataProperties, type IMaterialStandardDataPropertiesDefinition, type IMaterialUnlitData, type IMaterialUnlitDataProperties, type IMaterialUnlitDataPropertiesDefinition, type IMaterialVariantsData, type INoiseEffectDefinition, type InteractionParameterSettingsType, type IOutlineEffectDefinition, type IOutputEvent, type IParameterEvent, type IPixelationEffectDefinition, type IPostProcessingEffectDefinition, type IPrimitiveData, type IPulseEffectDefinition, IRectangleTransformParameterJsonSchema, type IRectangleTransformParameterProps, IRectangleTransformParameterPropsJsonSchema, type IRenderingEvent, type IScanlineEffectDefinition, type ISceneEvent, type ISDTFAttributeData, type ISDTFAttributesData, type ISDTFAttributeVisualizationData, type ISDTFItemData, type ISDTFOverview, type ISDTFOverviewData, ISelectionParameterJsonSchema, type ISelectionParameterProps, ISelectionParameterPropsJsonSchema, type ISelectiveBloomEffectDefinition, type ISepiaEffectDefinition, type ISessionErrorEvent, type ISessionEvent, type ISessionSettingsSections, type ISettingsSections, type ISSAOEffectDefinition, type ITaskEvent, type ITaskEventDescription, type ITiltShiftEffectDefinition, type IViewportEvent, type IViewportSettingsSections, type IVignetteEffectDefinition, ENVIRONMENT_MAP_PBR_MODE, MATERIAL_ALPHA, MATERIAL_SHADING, MATERIAL_SIDE, MATERIAL_TYPE, PARAMETER_TYPE, PARAMETER_VISUALIZATION, POST_PROCESSING_EFFECT_TYPE, PRIMITIVE_MODE, type RectangleTransformParameterValue, RENDERER_TYPE, SDTF_TYPEHINT, SdtfPrimitiveTypeGuard, type SelectionParameterValue, type SessionCreationDefinition, SPINNER_POSITIONING, TASK_CATEGORY, TASK_CATEGORY_SESSION_CUSTOMIZATION_CATEGORY, TASK_TYPE, type TaskCategoryTypes, TEXTURE_ENCODING, TEXTURE_FILTERING, TEXTURE_WRAPPING, TONE_MAPPING, validateDraggingParameterSettings, validateDrawingParameterSettings, validateGumballTransformParameterSettings, validateInteractionParameterSettings, validateRectangleTransformParameterSettings, validateSelectionParameterSettings, type ViewportCreationDefinition, VISIBILITY_MODE } from "@shapediver/viewer.shared.types";
|
|
14
14
|
import { type ICameraApi } from "./interfaces/camera/ICameraApi";
|
|
15
15
|
import { type IOrthographicCameraApi } from "./interfaces/camera/IOrthographicCameraApi";
|
|
16
16
|
import { type IPerspectiveCameraApi } from "./interfaces/camera/IPerspectiveCameraApi";
|
|
17
|
+
import { type IPostProcessingApi } from "./interfaces/IPostProcessingApi";
|
|
17
18
|
import { type IViewportApi } from "./interfaces/IViewportApi";
|
|
18
19
|
import { type ILightApi } from "./interfaces/lights/ILightApi";
|
|
19
20
|
import { type ILightSceneApi } from "./interfaces/lights/ILightSceneApi";
|
|
@@ -23,8 +24,8 @@ import { type IHemisphereLightApi } from "./interfaces/lights/types/IHemisphereL
|
|
|
23
24
|
import { type IPointLightApi } from "./interfaces/lights/types/IPointLightApi";
|
|
24
25
|
import { type ISpotLightApi } from "./interfaces/lights/types/ISpotLightApi";
|
|
25
26
|
import { createViewport, viewports } from "./main";
|
|
26
|
-
export { addListener, AnimationData, ANTI_ALIASING_TECHNIQUE, AttributeData, BlendFunction, BloomEffect, Box, BUSY_MODE_DISPLAY, CAMERA_TYPE, ChromaticAberrationEffect, ChunkData, Converter, createViewport, CustomData, DataEngine, defaultSettings, DepthOfFieldEffect, DotScreenEffect, Effect, EffectComposer, ENVIRONMENT_MAP, ENVIRONMENT_MAP_CUBE, ENVIRONMENT_MAP_EMPTY, EVENTTYPE, EVENTTYPE_CAMERA, EVENTTYPE_DRAWING_TOOLS, EVENTTYPE_INTERACTION, EVENTTYPE_OUTPUT, EVENTTYPE_PARAMETER, EVENTTYPE_RENDERING, EVENTTYPE_SCENE, EVENTTYPE_SESSION, EVENTTYPE_TASK, EVENTTYPE_TRANSFORMATION_TOOLS, EVENTTYPE_VIEWPORT, EXPORT_TYPE, FLAG_TYPE, generalOptions, GeometryData, GeometryEngine, GodRaysEffect, GridEffect, HTMLElementAnchorCustomData, HTMLElementAnchorData, HTMLElementAnchorImageData, HTMLElementAnchorTextData, HueSaturationEffect, IDraggingParameterJsonSchema, IDraggingParameterPropsJsonSchema, IDrawingParameterJsonSchema, IGumballTransformParameterJsonSchema, IGumballTransformParameterPropsJsonSchema, IInteractionParameterJsonSchema, InstanceData, IRectangleTransformParameterJsonSchema, IRectangleTransformParameterPropsJsonSchema, isARError, ISelectionParameterJsonSchema, ISelectionParameterPropsJsonSchema, isValid, isViewerCameraError, isViewerCustomizationError, isViewerDataProcessingError, isViewerDrawingToolsError, isViewerEnvironmentMapError, isViewerError, isViewerGeometryBackendError, isViewerGeometryBackendGenericError, isViewerGeometryBackendRequestError, isViewerGeometryBackendResponseError, isViewerInteractionError, isViewerLightError, isViewerSessionError, isViewerSettingsError, isViewerUnknownError, isViewerValidationError, isViewerViewportError, isViewerWebGLError, KernelSize, LIGHT_TYPE, LOGGING_LEVEL, MapData, MATERIAL_ALPHA, MATERIAL_SHADING, MATERIAL_SIDE, MATERIAL_TYPE, MaterialBasicLineData, MaterialEngine, MaterialGemData, MaterialLambertData, MaterialMultiPointData, MaterialPhongData, MaterialPointData, MaterialShadowData, MaterialSpecularGlossinessData, MaterialStandardData, MaterialUnlitData, MaterialVariantsData, NoiseEffect, ORTHOGRAPHIC_CAMERA_DIRECTION, OutlineEffect, PARAMETER_TYPE, PARAMETER_VISUALIZATION, PixelationEffect, POST_PROCESSING_EFFECT_TYPE, PRIMITIVE_MODE, PrimitiveData, removeListener, RENDERER_TYPE, Resolution, ScanlineEffect, sceneTree, SDTF_TYPEHINT, SDTFAttributeData, SDTFAttributesData, SDTFItemData, SDTFOverviewData, SdtfPrimitiveTypeGuard, SelectiveBloomEffect, SepiaEffect, SESSION_SETTINGS_MODE, ShapeDiverGeometryBackendError, ShapeDiverGeometryBackendRequestError, ShapeDiverGeometryBackendResponseError, ShapeDiverGeometryBackendResponseErrorType, ShapeDiverViewerArError, ShapeDiverViewerCameraError, ShapeDiverViewerCustomizationError, ShapeDiverViewerDataProcessingError, ShapeDiverViewerDrawingToolsError, ShapeDiverViewerEnvironmentMapError, ShapeDiverViewerError, ShapeDiverViewerErrorType, ShapeDiverViewerInteractionError, ShapeDiverViewerLightError, ShapeDiverViewerSessionError, ShapeDiverViewerSettingsError, ShapeDiverViewerUnknownError, ShapeDiverViewerValidationError, ShapeDiverViewerViewportError, ShapeDiverViewerWebGLError, Sphere, SPINNER_POSITIONING, SSAOEffect, stringify, SystemInfo, TAG3D_JUSTIFICATION, TASK_CATEGORY, TASK_CATEGORY_SESSION_CUSTOMIZATION_CATEGORY, TASK_TYPE, TEXTURE_ENCODING, TEXTURE_FILTERING, TEXTURE_WRAPPING, ThreejsData, TiltShiftEffect, TONE_MAPPING, Tree, TreeNode, validateDraggingParameterSettings, validateDrawingParameterSettings, validateGumballTransformParameterSettings, validateInteractionParameterSettings, validateRectangleTransformParameterSettings, validateSelectionParameterSettings, version, viewports, VignetteEffect, VignetteTechnique, VISIBILITY_MODE,
|
|
27
|
-
export type { DraggingParameterValue, DrawingParameterValue, EventResponseMapping, GumballTransformParameterValue, IAmbientLightApi, IAnchorDataImage, IAnchorDataText, IAnimationData, IAnimationTrack, IAttributeData, IBloomEffectDefinition, IBox, ICameraApi, ICameraEvent, ICameraOptions, IChromaticAberrationEffectDefinition, IChunkData, ICustomData, IDepthOfFieldEffectDefinition, IDirectionalLightApi, IDomEventListener, IDotScreenEffectDefinition, IDraggingParameterProps, IDrawingParameterSettings, IEvent, IGeneralOptions, IGeometry, IGeometryData, IGodRaysEffectDefinition, IGridEffectDefinition, IGumballTransformParameterProps, IHBAOEffectDefinition, IHemisphereLightApi, IHTMLElementAnchorData, IHTMLElementAnchorUpdateProperties, IHueSaturationEffectDefinition, IInstanceData, IInteractionParameterProps, IInteractionParameterSettings, ILightApi, ILightSceneApi, 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, InteractionParameterSettingsType, IOrthographicCameraApi, IOutlineEffectDefinition, IOutputEvent, IParameterEvent, IPerspectiveCameraApi, IPixelationEffectDefinition, IPointLightApi, IPostProcessingEffectDefinition, IPrimitiveData, IRectangleTransformParameterProps, IRenderingEvent, IScanlineEffectDefinition, ISceneEvent, ISDTFAttributeData, ISDTFAttributesData, ISDTFAttributeVisualizationData, ISDTFItemData, ISDTFOverview, ISDTFOverviewData, ISelectionParameterProps, ISelectiveBloomEffectDefinition, ISepiaEffectDefinition, ISessionErrorEvent, ISessionEvent, ISessionSettingsSections, ISettingsSections, ISphere, ISpotLightApi, ISSAOEffectDefinition, ITag2D, ITag3D, ITaskEvent, ITaskEventDescription, ITexture, IThreejsData, ITiltShiftEffectDefinition, ITransformation, ITree, ITreeNode, ITreeNodeData, IViewportApi, IViewportEvent, IViewportSettingsSections, IVignetteEffectDefinition, MainEventTypes, OrthographicCameraProperties, PerspectiveCameraProperties, RectangleTransformParameterValue, SelectionParameterValue, SessionCreationDefinition, TaskCategoryTypes, ViewportCreationDefinition };
|
|
27
|
+
export { addListener, AnimationData, ANTI_ALIASING_TECHNIQUE, AttributeData, BlendFunction, BloomEffect, Box, BUSY_MODE_DISPLAY, CAMERA_TYPE, ChromaticAberrationEffect, ChunkData, Converter, createViewport, CustomData, DataEngine, defaultSettings, DepthOfFieldEffect, DotScreenEffect, Effect, EffectComposer, ENVIRONMENT_MAP, ENVIRONMENT_MAP_CUBE, ENVIRONMENT_MAP_EMPTY, EVENTTYPE, EVENTTYPE_CAMERA, EVENTTYPE_DRAWING_TOOLS, EVENTTYPE_INTERACTION, EVENTTYPE_OUTPUT, EVENTTYPE_PARAMETER, EVENTTYPE_RENDERING, EVENTTYPE_SCENE, EVENTTYPE_SESSION, EVENTTYPE_TASK, EVENTTYPE_TRANSFORMATION_TOOLS, EVENTTYPE_VIEWPORT, EXPORT_TYPE, FLAG_TYPE, generalOptions, GeometryData, GeometryEngine, GodRaysEffect, GridEffect, HTMLElementAnchorCustomData, HTMLElementAnchorData, HTMLElementAnchorImageData, HTMLElementAnchorTextData, HueSaturationEffect, IDraggingParameterJsonSchema, IDraggingParameterPropsJsonSchema, IDrawingParameterJsonSchema, IGumballTransformParameterJsonSchema, IGumballTransformParameterPropsJsonSchema, IInteractionParameterJsonSchema, InstanceData, IRectangleTransformParameterJsonSchema, IRectangleTransformParameterPropsJsonSchema, isARError, ISelectionParameterJsonSchema, ISelectionParameterPropsJsonSchema, isValid, isViewerCameraError, isViewerCustomizationError, isViewerDataProcessingError, isViewerDrawingToolsError, isViewerEnvironmentMapError, isViewerError, isViewerGeometryBackendError, isViewerGeometryBackendGenericError, isViewerGeometryBackendRequestError, isViewerGeometryBackendResponseError, isViewerInteractionError, isViewerLightError, isViewerSessionError, isViewerSettingsError, isViewerUnknownError, isViewerValidationError, isViewerViewportError, isViewerWebGLError, KernelSize, LIGHT_TYPE, LOGGING_LEVEL, MapData, ENVIRONMENT_MAP_PBR_MODE, MATERIAL_ALPHA, MATERIAL_SHADING, MATERIAL_SIDE, MATERIAL_TYPE, MaterialBasicLineData, MaterialEngine, MaterialGemData, MaterialLambertData, MaterialMultiPointData, MaterialPhongData, MaterialPointData, MaterialShadowData, MaterialSpecularGlossinessData, MaterialStandardData, MaterialUnlitData, MaterialVariantsData, NoiseEffect, ORTHOGRAPHIC_CAMERA_DIRECTION, OutlineEffect, PARAMETER_TYPE, PARAMETER_VISUALIZATION, PixelationEffect, POST_PROCESSING_EFFECT_TYPE, PRIMITIVE_MODE, PrimitiveData, removeListener, RENDERER_TYPE, Resolution, ScanlineEffect, sceneTree, SDTF_TYPEHINT, SDTFAttributeData, SDTFAttributesData, SDTFItemData, SDTFOverviewData, SdtfPrimitiveTypeGuard, SelectiveBloomEffect, SepiaEffect, SESSION_SETTINGS_MODE, ShapeDiverGeometryBackendError, ShapeDiverGeometryBackendRequestError, ShapeDiverGeometryBackendResponseError, ShapeDiverGeometryBackendResponseErrorType, ShapeDiverResponseExport, ShapeDiverResponseExportContent, ShapeDiverResponseExportDefinitionGroup, ShapeDiverResponseExportResult, ShapeDiverResponseModelComputationStatus, ShapeDiverResponseOutput, ShapeDiverResponseOutputChunkBackend, ShapeDiverResponseOutputContentBackend, ShapeDiverResponseParameter, ShapeDiverViewerArError, ShapeDiverViewerCameraError, ShapeDiverViewerCustomizationError, ShapeDiverViewerDataProcessingError, ShapeDiverViewerDrawingToolsError, ShapeDiverViewerEnvironmentMapError, ShapeDiverViewerError, ShapeDiverViewerErrorType, ShapeDiverViewerInteractionError, ShapeDiverViewerLightError, ShapeDiverViewerSessionError, ShapeDiverViewerSettingsError, ShapeDiverViewerUnknownError, ShapeDiverViewerValidationError, ShapeDiverViewerViewportError, ShapeDiverViewerWebGLError, Sphere, SPINNER_POSITIONING, SSAOEffect, stringify, SystemInfo, TAG3D_JUSTIFICATION, TASK_CATEGORY, TASK_CATEGORY_SESSION_CUSTOMIZATION_CATEGORY, TASK_TYPE, TEXTURE_ENCODING, TEXTURE_FILTERING, TEXTURE_WRAPPING, ThreejsData, TiltShiftEffect, TONE_MAPPING, Tree, TreeNode, validateDraggingParameterSettings, validateDrawingParameterSettings, validateGumballTransformParameterSettings, validateInteractionParameterSettings, validateRectangleTransformParameterSettings, validateSelectionParameterSettings, version, viewports, VignetteEffect, VignetteTechnique, VISIBILITY_MODE, };
|
|
28
|
+
export type { DraggingParameterValue, DrawingParameterValue, EventResponseMapping, GumballTransformParameterValue, IAmbientLightApi, IAnchorDataImage, IAnchorDataText, IAnimationData, IAnimationTrack, IAttributeData, IBloomEffectDefinition, IBox, ICameraApi, ICameraEvent, ICameraOptions, IChromaticAberrationEffectDefinition, IChunkData, ICustomData, IDepthOfFieldEffectDefinition, IDirectionalLightApi, IDomEventListener, IDotScreenEffectDefinition, IDraggingParameterProps, IDrawingParameterSettings, IEvent, IGeneralOptions, IGeometry, IGeometryData, IGodRaysEffectDefinition, IGridEffectDefinition, IGumballTransformParameterProps, IHBAOEffectDefinition, IHemisphereLightApi, IHTMLElementAnchorData, IHTMLElementAnchorUpdateProperties, IHueSaturationEffectDefinition, IInstanceData, IInteractionParameterProps, IInteractionParameterSettings, ILightApi, ILightSceneApi, 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, InteractionParameterSettingsType, IOrthographicCameraApi, IOutlineEffectDefinition, IOutputEvent, IParameterEvent, IPerspectiveCameraApi, IPixelationEffectDefinition, IPointLightApi, IPostProcessingApi, IPostProcessingEffectDefinition, IPrimitiveData, IPulseEffectDefinition, IRectangleTransformParameterProps, IRenderingEvent, IScanlineEffectDefinition, ISceneEvent, ISDTFAttributeData, ISDTFAttributesData, ISDTFAttributeVisualizationData, ISDTFItemData, ISDTFOverview, ISDTFOverviewData, ISelectionParameterProps, ISelectiveBloomEffectDefinition, ISepiaEffectDefinition, ISessionErrorEvent, ISessionEvent, ISessionSettingsSections, ISettingsSections, ISphere, ISpotLightApi, ISSAOEffectDefinition, ITag2D, ITag3D, ITaskEvent, ITaskEventDescription, ITexture, IThreejsData, ITiltShiftEffectDefinition, ITransformation, ITree, ITreeNode, ITreeNodeData, IViewportApi, IViewportEvent, IViewportSettingsSections, IVignetteEffectDefinition, MainEventTypes, OrthographicCameraProperties, PerspectiveCameraProperties, RectangleTransformParameterValue, SelectionParameterValue, SessionCreationDefinition, TaskCategoryTypes, ViewportCreationDefinition, };
|
|
28
29
|
export interface ShapeDiverResponseOutputContent extends ShapeDiverResponseOutputContentBackend {
|
|
29
30
|
data?: ITag2D[] | ITag3D[] | IAnchor[] | IMaterialContentData | IMaterialContentDataV1 | IMaterialContentDataV2 | IMaterialContentDataV3 | unknown;
|
|
30
31
|
}
|
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,uBAAuB,IAAI,WAAW,EACtC,SAAS,IAAI,wBAAwB,EACrC,gBAAgB,IAAI,+BAA+B,EACnD,wBAAwB,IAAI,u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sB,GACtB,OAAO,CAAC;CAGX;AACD,MAAM,WAAW,6BAA8B,SAAQ,oCAAoC;IAG1F,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
3
|
exports.IDrawingParameterJsonSchema = exports.IDraggingParameterPropsJsonSchema = exports.IDraggingParameterJsonSchema = exports.HueSaturationEffect = exports.HTMLElementAnchorTextData = exports.HTMLElementAnchorImageData = exports.HTMLElementAnchorData = exports.HTMLElementAnchorCustomData = exports.GridEffect = exports.GodRaysEffect = exports.GeometryEngine = exports.GeometryData = exports.generalOptions = exports.FLAG_TYPE = exports.EXPORT_TYPE = exports.EVENTTYPE_VIEWPORT = exports.EVENTTYPE_TRANSFORMATION_TOOLS = exports.EVENTTYPE_TASK = exports.EVENTTYPE_SESSION = exports.EVENTTYPE_SCENE = exports.EVENTTYPE_RENDERING = exports.EVENTTYPE_PARAMETER = exports.EVENTTYPE_OUTPUT = exports.EVENTTYPE_INTERACTION = exports.EVENTTYPE_DRAWING_TOOLS = exports.EVENTTYPE_CAMERA = exports.EVENTTYPE = exports.ENVIRONMENT_MAP_EMPTY = exports.ENVIRONMENT_MAP_CUBE = exports.ENVIRONMENT_MAP = exports.EffectComposer = exports.Effect = exports.DotScreenEffect = exports.DepthOfFieldEffect = exports.defaultSettings = exports.DataEngine = exports.CustomData = exports.createViewport = exports.Converter = exports.ChunkData = exports.ChromaticAberrationEffect = exports.CAMERA_TYPE = exports.BUSY_MODE_DISPLAY = exports.Box = exports.BloomEffect = exports.BlendFunction = exports.AttributeData = exports.ANTI_ALIASING_TECHNIQUE = exports.AnimationData = exports.addListener = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.VISIBILITY_MODE = exports.VignetteTechnique = exports.VignetteEffect = exports.viewports = exports.version = exports.validateSelectionParameterSettings = exports.validateRectangleTransformParameterSettings = exports.validateInteractionParameterSettings = exports.validateGumballTransformParameterSettings = exports.validateDrawingParameterSettings = exports.validateDraggingParameterSettings = exports.TreeNode = exports.Tree = exports.TONE_MAPPING = exports.TiltShiftEffect = exports.ThreejsData = exports.TEXTURE_WRAPPING = exports.TEXTURE_FILTERING = exports.TEXTURE_ENCODING = void 0;
|
|
4
|
+
exports.NoiseEffect = exports.MaterialVariantsData = exports.MaterialUnlitData = exports.MaterialStandardData = exports.MaterialSpecularGlossinessData = exports.MaterialShadowData = exports.MaterialPointData = exports.MaterialPhongData = exports.MaterialMultiPointData = exports.MaterialLambertData = exports.MaterialGemData = exports.MaterialEngine = exports.MaterialBasicLineData = exports.MATERIAL_TYPE = exports.MATERIAL_SIDE = exports.MATERIAL_SHADING = exports.MATERIAL_ALPHA = exports.ENVIRONMENT_MAP_PBR_MODE = exports.MapData = exports.LOGGING_LEVEL = exports.LIGHT_TYPE = exports.KernelSize = exports.isViewerWebGLError = exports.isViewerViewportError = exports.isViewerValidationError = exports.isViewerUnknownError = exports.isViewerSettingsError = exports.isViewerSessionError = exports.isViewerLightError = exports.isViewerInteractionError = exports.isViewerGeometryBackendResponseError = exports.isViewerGeometryBackendRequestError = exports.isViewerGeometryBackendGenericError = exports.isViewerGeometryBackendError = exports.isViewerError = exports.isViewerEnvironmentMapError = exports.isViewerDrawingToolsError = exports.isViewerDataProcessingError = exports.isViewerCustomizationError = exports.isViewerCameraError = exports.isValid = exports.ISelectionParameterPropsJsonSchema = exports.ISelectionParameterJsonSchema = exports.isARError = exports.IRectangleTransformParameterPropsJsonSchema = exports.IRectangleTransformParameterJsonSchema = exports.InstanceData = exports.IInteractionParameterJsonSchema = exports.IGumballTransformParameterPropsJsonSchema = exports.IGumballTransformParameterJsonSchema = void 0;
|
|
5
|
+
exports.TASK_CATEGORY_SESSION_CUSTOMIZATION_CATEGORY = exports.TASK_CATEGORY = exports.TAG3D_JUSTIFICATION = exports.SystemInfo = exports.stringify = exports.SSAOEffect = exports.SPINNER_POSITIONING = exports.Sphere = exports.ShapeDiverViewerWebGLError = exports.ShapeDiverViewerViewportError = exports.ShapeDiverViewerValidationError = exports.ShapeDiverViewerUnknownError = exports.ShapeDiverViewerSettingsError = exports.ShapeDiverViewerSessionError = exports.ShapeDiverViewerLightError = exports.ShapeDiverViewerInteractionError = exports.ShapeDiverViewerErrorType = exports.ShapeDiverViewerError = exports.ShapeDiverViewerEnvironmentMapError = exports.ShapeDiverViewerDrawingToolsError = exports.ShapeDiverViewerDataProcessingError = exports.ShapeDiverViewerCustomizationError = exports.ShapeDiverViewerCameraError = exports.ShapeDiverViewerArError = exports.ShapeDiverGeometryBackendResponseErrorType = exports.ShapeDiverGeometryBackendResponseError = exports.ShapeDiverGeometryBackendRequestError = exports.ShapeDiverGeometryBackendError = exports.SESSION_SETTINGS_MODE = exports.SepiaEffect = exports.SelectiveBloomEffect = exports.SdtfPrimitiveTypeGuard = exports.SDTFOverviewData = exports.SDTFItemData = exports.SDTFAttributesData = exports.SDTFAttributeData = exports.SDTF_TYPEHINT = exports.sceneTree = exports.ScanlineEffect = exports.Resolution = exports.RENDERER_TYPE = exports.removeListener = exports.PrimitiveData = exports.PRIMITIVE_MODE = exports.POST_PROCESSING_EFFECT_TYPE = exports.PixelationEffect = exports.PARAMETER_VISUALIZATION = exports.PARAMETER_TYPE = exports.OutlineEffect = exports.ORTHOGRAPHIC_CAMERA_DIRECTION = void 0;
|
|
6
|
+
exports.VISIBILITY_MODE = exports.VignetteTechnique = exports.VignetteEffect = exports.viewports = exports.version = exports.validateSelectionParameterSettings = exports.validateRectangleTransformParameterSettings = exports.validateInteractionParameterSettings = exports.validateGumballTransformParameterSettings = exports.validateDrawingParameterSettings = exports.validateDraggingParameterSettings = exports.TreeNode = exports.Tree = exports.TONE_MAPPING = exports.TiltShiftEffect = exports.ThreejsData = exports.TEXTURE_WRAPPING = exports.TEXTURE_FILTERING = exports.TEXTURE_ENCODING = exports.TASK_TYPE = 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");
|
|
@@ -158,6 +158,7 @@ Object.defineProperty(exports, "IRectangleTransformParameterJsonSchema", { enume
|
|
|
158
158
|
Object.defineProperty(exports, "IRectangleTransformParameterPropsJsonSchema", { enumerable: true, get: function () { return viewer_shared_types_1.IRectangleTransformParameterPropsJsonSchema; } });
|
|
159
159
|
Object.defineProperty(exports, "ISelectionParameterJsonSchema", { enumerable: true, get: function () { return viewer_shared_types_1.ISelectionParameterJsonSchema; } });
|
|
160
160
|
Object.defineProperty(exports, "ISelectionParameterPropsJsonSchema", { enumerable: true, get: function () { return viewer_shared_types_1.ISelectionParameterPropsJsonSchema; } });
|
|
161
|
+
Object.defineProperty(exports, "ENVIRONMENT_MAP_PBR_MODE", { enumerable: true, get: function () { return viewer_shared_types_1.ENVIRONMENT_MAP_PBR_MODE; } });
|
|
161
162
|
Object.defineProperty(exports, "MATERIAL_ALPHA", { enumerable: true, get: function () { return viewer_shared_types_1.MATERIAL_ALPHA; } });
|
|
162
163
|
Object.defineProperty(exports, "MATERIAL_SHADING", { enumerable: true, get: function () { return viewer_shared_types_1.MATERIAL_SHADING; } });
|
|
163
164
|
Object.defineProperty(exports, "MATERIAL_SIDE", { enumerable: true, get: function () { return viewer_shared_types_1.MATERIAL_SIDE; } });
|
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;AAyW5C,4FAnX2B,iDAAW,OAmX3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A4LA;AACjB,iGA5LA,sCAAgB,OA4LA;AAGhB,6FA9LA,kCAAY,OA8LA;AAGZ,kHAhMA,uDAAiC,OAgMA;AACjC,iHAhMA,sDAAgC,OAgMA;AAChC,0HAhMA,+DAAyC,OAgMA;AACzC,qHAhMA,0DAAoC,OAgMA;AACpC,4HAhMA,iEAA2C,OAgMA;AAC3C,mHAhMA,wDAAkC,OAgMA;AAKlC,gGAnMA,qCAAe,OAmMA;AArLhB,iCAAiD;AAehD,+FAfO,qBAAc,OAeP;AAmKd,0FAlLuB,gBAAS,OAkLvB"}
|
|
@@ -14,15 +14,15 @@ import { type ILightSceneApi } from "./lights/ILightSceneApi";
|
|
|
14
14
|
/**
|
|
15
15
|
* The api for viewports.
|
|
16
16
|
*
|
|
17
|
-
* Viewports are created by calling the
|
|
17
|
+
* Viewports are created by calling the `createViewport` method.
|
|
18
18
|
*
|
|
19
19
|
* Each viewport has corresponding [cameras]{@link ICameraApi} and [lights]{@link ILightApi}.
|
|
20
20
|
*
|
|
21
21
|
* Additionally, there are various other settings to adjust the behavior and rendering of the viewport.
|
|
22
22
|
*
|
|
23
23
|
* By default a new viewport displays the complete scene tree. Viewports can be excluded from
|
|
24
|
-
* displaying geometry for specific sessions by using the
|
|
25
|
-
*
|
|
24
|
+
* displaying geometry for specific sessions by using the `excludeViewports` property of
|
|
25
|
+
* `ISessionApi`.
|
|
26
26
|
*/
|
|
27
27
|
export interface IViewportApi {
|
|
28
28
|
/**
|
|
@@ -182,7 +182,7 @@ export interface IViewportApi {
|
|
|
182
182
|
enableAR: boolean;
|
|
183
183
|
/**
|
|
184
184
|
* The environment map used by the viewport.
|
|
185
|
-
* You can either use the HDR maps at
|
|
185
|
+
* You can either use the HDR maps at `ENVIRONMENT_MAP` or the LDR legacy maps at `ENVIRONMENT_MAP_CUBE`.
|
|
186
186
|
* Additionally, you can specify your own maps. For HDR maps, provide a link to a .hdr file, for LDR provide the folder where the six cube map images are located.
|
|
187
187
|
*/
|
|
188
188
|
environmentMap: string | string[];
|
|
@@ -296,7 +296,7 @@ export interface IViewportApi {
|
|
|
296
296
|
/**
|
|
297
297
|
* Option to show / hide the viewport.
|
|
298
298
|
* This will disable rendering, and hide the canvas behind the logo.
|
|
299
|
-
* Using this setting especially makes sense with
|
|
299
|
+
* Using this setting especially makes sense with `VISIBILITY_MODE.MANUAL` where you can decide at what point you first want to show the scene.
|
|
300
300
|
*/
|
|
301
301
|
show: boolean;
|
|
302
302
|
/**
|
|
@@ -370,7 +370,7 @@ export interface IViewportApi {
|
|
|
370
370
|
* @param settings
|
|
371
371
|
* @param sections
|
|
372
372
|
*
|
|
373
|
-
* @throws
|
|
373
|
+
* @throws `ShapeDiverViewerError`
|
|
374
374
|
*/
|
|
375
375
|
applyViewportSettings(settings: ISettings, sections?: {
|
|
376
376
|
ar?: boolean | undefined;
|
|
@@ -425,12 +425,12 @@ export interface IViewportApi {
|
|
|
425
425
|
/**
|
|
426
426
|
* Convert the current visible elements (or just from the node specified) in the viewport into a glTF file.
|
|
427
427
|
*
|
|
428
|
-
* The ground plane and grid will not be included, as well as additionally added data that was added to the scene other than through a
|
|
428
|
+
* The ground plane and grid will not be included, as well as additionally added data that was added to the scene other than through a `GeometryData` property.
|
|
429
429
|
*
|
|
430
430
|
* @param node Optional node to provide to transform into a glTF. (default: scene tree)
|
|
431
431
|
* @param convertForAR Option to convert the scene for AR. In this case some specific use cases are target to ensure the best AR performance. (default: false)
|
|
432
432
|
*
|
|
433
|
-
* @throws
|
|
433
|
+
* @throws `ShapeDiverViewerError`
|
|
434
434
|
*/
|
|
435
435
|
convertToGlTF(node?: ITreeNode, convertForAR?: boolean): Promise<Blob>;
|
|
436
436
|
/**
|
|
@@ -444,7 +444,7 @@ export interface IViewportApi {
|
|
|
444
444
|
* @param qrCode Option to receive a QR Code instead of a link (default: true)
|
|
445
445
|
* @param fallbackUrl Optional fallback url if the link was opened by an unsupported device or an error occurred. If none was provided, the user will be redirected to shapediver.com/app
|
|
446
446
|
*
|
|
447
|
-
* @throws
|
|
447
|
+
* @throws `ShapeDiverViewerError`
|
|
448
448
|
*/
|
|
449
449
|
createArSessionLink(node?: ITreeNode, qrCode?: boolean, fallbackUrl?: string): Promise<string>;
|
|
450
450
|
/**
|
|
@@ -452,7 +452,8 @@ export interface IViewportApi {
|
|
|
452
452
|
* An id can be provided. If not, a unique id will be created.
|
|
453
453
|
* If the standard option is chosen, the default lights will be added from the start.
|
|
454
454
|
*
|
|
455
|
-
* @param properties
|
|
455
|
+
* @param properties The properties for the light scene.
|
|
456
|
+
* @param properties.name The name of the light scene.
|
|
456
457
|
* @param properties.standard The option to add the standard lights.
|
|
457
458
|
*/
|
|
458
459
|
createLightScene(properties?: {
|
|
@@ -689,9 +690,8 @@ export interface IViewportApi {
|
|
|
689
690
|
* Internally, the scene will first be converted into a glTF. This glTF will be uploaded to our backend to be able to start AR.
|
|
690
691
|
*
|
|
691
692
|
* @param node Optional node to display in AR. (default: scene tree)
|
|
692
|
-
* @param androidOptions
|
|
693
693
|
*
|
|
694
|
-
* @throws
|
|
694
|
+
* @throws `ShapeDiverViewerError`
|
|
695
695
|
*/
|
|
696
696
|
viewInAR(node?: ITreeNode): Promise<void>;
|
|
697
697
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IViewportApi.d.ts","sourceRoot":"","sources":["../../src/interfaces/IViewportApi.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,4BAA4B,EACjC,KAAK,2BAA2B,EAChC,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAC,KAAK,oBAAoB,EAAC,MAAM,sDAAsD,CAAC;AAC/F,OAAO,EAAC,SAAS,EAAC,MAAM,6BAA6B,CAAC;AACtD,OAAO,EACN,KAAK,SAAS,EACd,qBAAqB,EACrB,iBAAiB,EACjB,oBAAoB,EACpB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACN,KAAK,iBAAiB,EACtB,qBAAqB,EACrB,MAAM,oCAAoC,CAAC;AAC5C,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C;;;;;OAKG;IACH,YAAY,IAAI,OAAO,CAAC;CAGxB"}
|
|
@@ -21,8 +21,8 @@ export interface ICameraApi {
|
|
|
21
21
|
readonly isDefault: boolean;
|
|
22
22
|
/**
|
|
23
23
|
* Option to automatically adjust the camera to the size of the scene whenever a call to
|
|
24
|
-
*
|
|
25
|
-
* This does not happen in case
|
|
24
|
+
* `ISessionApi.customize` replaced `ISessionApi.node`.
|
|
25
|
+
* This does not happen in case `ISessionApi.automaticSceneUpdate` is set to false.
|
|
26
26
|
*/
|
|
27
27
|
autoAdjust: boolean;
|
|
28
28
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ICameraApi.d.ts","sourceRoot":"","sources":["../../../src/interfaces/camera/ICameraApi.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,WAAW,EACX,KAAK,cAAc,
|
|
1
|
+
{"version":3,"file":"ICameraApi.d.ts","sourceRoot":"","sources":["../../../src/interfaces/camera/ICameraApi.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,WAAW,EACX,KAAK,cAAc,EACnB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAC,KAAK,IAAI,EAAC,MAAM,gCAAgC,CAAC;AACzD,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,WAAW,CAAC;AAErC;;;;GAIG;AACH,MAAM,WAAW,UAAU;IAG1B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAE5B;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,uBAAuB,EAAE;QAAC,GAAG,EAAE,IAAI,CAAC;QAAC,GAAG,EAA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ACZ,OAAO,CAAC,EAAE,cAAc,GACtB,OAAO,CAAC,OAAO,CAAC,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACzB;;;;;OAKG;IACH,MAAM,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CAGtE"}
|
|
@@ -2,7 +2,7 @@ import { ORTHOGRAPHIC_CAMERA_DIRECTION } from "@shapediver/viewer.rendering-engi
|
|
|
2
2
|
import { type ICameraApi } from "./ICameraApi";
|
|
3
3
|
/**
|
|
4
4
|
* The api for an orthographic camera.
|
|
5
|
-
* An orthographic camera can be created by calling the
|
|
5
|
+
* An orthographic camera can be created by calling the `createOrthographicCamera` method.
|
|
6
6
|
* A camera has a multitude of properties and methods that can be used to adjust the behavior.
|
|
7
7
|
*/
|
|
8
8
|
export interface IOrthographicCameraApi extends ICameraApi {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ICameraApi } from "./ICameraApi";
|
|
2
2
|
/**
|
|
3
3
|
* The api for a perspective camera.
|
|
4
|
-
* A perspective camera can be created by calling the
|
|
4
|
+
* A perspective camera can be created by calling the `createPerspectiveCamera` method.
|
|
5
5
|
* A camera has a multitude of properties and methods that can be used to adjust the behavior.
|
|
6
6
|
*/
|
|
7
7
|
export interface IPerspectiveCameraApi extends ICameraApi {
|
|
@@ -10,7 +10,7 @@ import { type ISpotLightApi } from "./types/ISpotLightApi";
|
|
|
10
10
|
/**
|
|
11
11
|
* The api for a light scene.
|
|
12
12
|
* A light scene is a collection of lights. Therefore multiple light scene can be used to switch between different lighting environments.
|
|
13
|
-
* It can be created by calling the
|
|
13
|
+
* It can be created by calling the `createLightScene` method.
|
|
14
14
|
*/
|
|
15
15
|
export interface ILightSceneApi {
|
|
16
16
|
/**
|
|
@@ -18,7 +18,7 @@ export interface ILightSceneApi {
|
|
|
18
18
|
*/
|
|
19
19
|
readonly id: string;
|
|
20
20
|
/**
|
|
21
|
-
* The node in which the lights are stored in the [scene tree]
|
|
21
|
+
* The node in which the lights are stored in the [scene tree](https://viewer.shapediver.com/v3/latest/api/interfaces/ITree.html).
|
|
22
22
|
*/
|
|
23
23
|
readonly node: ITreeNode;
|
|
24
24
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ILightApi } from "../ILightApi";
|
|
2
2
|
/**
|
|
3
3
|
* The api for an ambient light.
|
|
4
|
-
* An ambient light can be created by calling the
|
|
4
|
+
* An ambient light can be created by calling the `addAmbientLight` method.
|
|
5
5
|
*/
|
|
6
6
|
export type IAmbientLightApi = ILightApi;
|
|
7
7
|
//# sourceMappingURL=IAmbientLightApi.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { vec3 } from "gl-matrix";
|
|
|
2
2
|
import { type ILightApi } from "../ILightApi";
|
|
3
3
|
/**
|
|
4
4
|
* The api for a directional light.
|
|
5
|
-
* A directional light can be created by calling the
|
|
5
|
+
* A directional light can be created by calling the `addDirectionalLight` method.
|
|
6
6
|
*/
|
|
7
7
|
export interface IDirectionalLightApi extends ILightApi {
|
|
8
8
|
/**
|
|
@@ -2,7 +2,7 @@ import { type Color } from "@shapediver/viewer.shared.types";
|
|
|
2
2
|
import { type ILightApi } from "../ILightApi";
|
|
3
3
|
/**
|
|
4
4
|
* The api for an hemisphere light.
|
|
5
|
-
* An hemisphere light can be created by calling the
|
|
5
|
+
* An hemisphere light can be created by calling the `addHemisphereLight` method.
|
|
6
6
|
*/
|
|
7
7
|
export interface IHemisphereLightApi extends ILightApi {
|
|
8
8
|
/**
|
|
@@ -2,7 +2,7 @@ import { vec3 } from "gl-matrix";
|
|
|
2
2
|
import { type ILightApi } from "../ILightApi";
|
|
3
3
|
/**
|
|
4
4
|
* The api for a point light.
|
|
5
|
-
* A point light can be created by calling the
|
|
5
|
+
* A point light can be created by calling the `addPointLight` method.
|
|
6
6
|
*/
|
|
7
7
|
export interface IPointLightApi extends ILightApi {
|
|
8
8
|
/**
|
|
@@ -2,7 +2,7 @@ import { vec3 } from "gl-matrix";
|
|
|
2
2
|
import { type ILightApi } from "../ILightApi";
|
|
3
3
|
/**
|
|
4
4
|
* The api for a spot light.
|
|
5
|
-
* A spot light can be created by calling the
|
|
5
|
+
* A spot light can be created by calling the `addSpotLight` method.
|
|
6
6
|
*/
|
|
7
7
|
export interface ISpotLightApi extends ILightApi {
|
|
8
8
|
/**
|
package/dist/main.d.ts
CHANGED
|
@@ -14,8 +14,8 @@ export declare const viewports: {
|
|
|
14
14
|
* viewport object from {@link viewports}. In case no identifier is provided, a unique one will be generated.
|
|
15
15
|
*
|
|
16
16
|
* By default a new viewport displays the complete scene tree. Viewports can be excluded from
|
|
17
|
-
* displaying geometry for specific sessions by using the
|
|
18
|
-
*
|
|
17
|
+
* displaying geometry for specific sessions by using the `excludeViewports` property of
|
|
18
|
+
* `ISessionApi`.
|
|
19
19
|
*
|
|
20
20
|
* @param properties.visibility The visibility of the viewport.
|
|
21
21
|
* @param properties.canvas The canvas that the viewport should use. A canvas element will be created if none is provided.
|
package/dist/main.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAYA,OAAO,EAGN,KAAK,0BAA0B,EAE/B,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAC,KAAK,YAAY,EAAC,MAAM,2BAA2B,CAAC;AAE5D;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,CAAA;CAAM,CAAC;AAc3D;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,cAAc,GAC1B,aAAa,0BAA0B,KACrC,OAAO,CAAC,YAAY,CAqItB,CAAC"}
|
package/dist/main.js
CHANGED
|
@@ -37,8 +37,8 @@ const updateViewports = (renderingEngines) => {
|
|
|
37
37
|
* viewport object from {@link viewports}. In case no identifier is provided, a unique one will be generated.
|
|
38
38
|
*
|
|
39
39
|
* By default a new viewport displays the complete scene tree. Viewports can be excluded from
|
|
40
|
-
* displaying geometry for specific sessions by using the
|
|
41
|
-
*
|
|
40
|
+
* displaying geometry for specific sessions by using the `excludeViewports` property of
|
|
41
|
+
* `ISessionApi`.
|
|
42
42
|
*
|
|
43
43
|
* @param properties.visibility The visibility of the viewport.
|
|
44
44
|
* @param properties.canvas The canvas that the viewport should use. A canvas element will be created if none is provided.
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAAkE;AAClE,
|
|
1
|
+
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAAkE;AAClE,iHAG6D;AAE7D,+EAK4C;AAC5C,yEAKyC;AACzC,8DAAyD;AAGzD;;GAEG;AACU,QAAA,SAAS,GAAkC,EAAE,CAAC;AAE3D,6EAA6E;AAC7E,MAAM,eAAe,GAAG,CAAC,gBAExB,EAAE,EAAE;IACJ,KAAK,MAAM,CAAC,IAAI,gBAAgB;QAC/B,IAAI,CAAC,iBAAS,CAAC,CAAC,CAAC;YAAE,iBAAS,CAAC,CAAC,CAAC,GAAG,IAAI,yBAAW,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;IAExE,KAAK,MAAM,CAAC,IAAI,iBAAS,EAAE,CAAC;QAC3B,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;YAAE,OAAO,iBAAS,CAAC,CAAC,CAAC,CAAC;IAC/C,CAAC;AACF,CAAC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACI,MAAM,cAAc,GAAG,CAC7B,UAAuC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;IAEF,IAAI,CAAC,mBAAmB;QACvB,IAAI,CAAC,mBAAmB,KAAK,SAAS;YACrC,CAAC,CAAC,IAAI,CAAC,mBAAmB;YAC1B,CAAC,CAAC,8CAAqB,CAAC,KAAK,CAAC;IAEhC,IACC,IAAI,CAAC,mBAAmB,KAAK,8CAAqB,CAAC,MAAM;QACzD,CAAC,IAAI,CAAC,iBAAiB;QAEvB,MAAM,IAAI,wDAA+B,CACxC,qJAAqJ,EACrJ,IAAI,CAAC,iBAAiB,EACtB,QAAQ,CACR,CAAC;IAEH,MAAM,eAAe,GACpB,MAAM,6BAA6B,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAEhE,iBAAS,CAAC,eAAe,CAAC,EAAE,CAAC,GAAG,IAAI,yBAAW,CAAC,eAAe,CAAC,CAAC;IACjE,OAAO,iBAAS,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;AACtC,CAAC,CAAA,CAAC;AAvIW,QAAA,cAAc,kBAuIzB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapediver/viewer.viewport",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.21.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webgl",
|
|
@@ -47,30 +47,30 @@
|
|
|
47
47
|
"testEnvironment": "jsdom"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@shapediver/sdk.geometry-api-sdk-v2": "
|
|
51
|
-
"@shapediver/viewer.api.general": "3.
|
|
52
|
-
"@shapediver/viewer.creation-control-center.viewport": "3.
|
|
53
|
-
"@shapediver/viewer.data-engine.data-engine": "3.
|
|
54
|
-
"@shapediver/viewer.data-engine.geometry-engine": "3.
|
|
55
|
-
"@shapediver/viewer.data-engine.gltf-converter": "3.
|
|
56
|
-
"@shapediver/viewer.data-engine.material-engine": "3.
|
|
57
|
-
"@shapediver/viewer.data-engine.shared-types": "3.
|
|
58
|
-
"@shapediver/viewer.rendering-engine.animation-engine": "3.
|
|
59
|
-
"@shapediver/viewer.rendering-engine.camera-engine": "3.
|
|
60
|
-
"@shapediver/viewer.rendering-engine.light-engine": "3.
|
|
61
|
-
"@shapediver/viewer.rendering-engine.rendering-engine": "3.
|
|
62
|
-
"@shapediver/viewer.rendering-engine.rendering-engine-threejs": "3.
|
|
50
|
+
"@shapediver/sdk.geometry-api-sdk-v2": "4.2.0",
|
|
51
|
+
"@shapediver/viewer.api.general": "3.21.0",
|
|
52
|
+
"@shapediver/viewer.creation-control-center.viewport": "3.21.0",
|
|
53
|
+
"@shapediver/viewer.data-engine.data-engine": "3.21.0",
|
|
54
|
+
"@shapediver/viewer.data-engine.geometry-engine": "3.21.0",
|
|
55
|
+
"@shapediver/viewer.data-engine.gltf-converter": "3.21.0",
|
|
56
|
+
"@shapediver/viewer.data-engine.material-engine": "3.21.0",
|
|
57
|
+
"@shapediver/viewer.data-engine.shared-types": "3.21.0",
|
|
58
|
+
"@shapediver/viewer.rendering-engine.animation-engine": "3.21.0",
|
|
59
|
+
"@shapediver/viewer.rendering-engine.camera-engine": "3.21.0",
|
|
60
|
+
"@shapediver/viewer.rendering-engine.light-engine": "3.21.0",
|
|
61
|
+
"@shapediver/viewer.rendering-engine.rendering-engine": "3.21.0",
|
|
62
|
+
"@shapediver/viewer.rendering-engine.rendering-engine-threejs": "3.21.0",
|
|
63
63
|
"@shapediver/viewer.settings": "1.3.2",
|
|
64
|
-
"@shapediver/viewer.shared.build-data": "3.
|
|
65
|
-
"@shapediver/viewer.shared.math": "3.
|
|
66
|
-
"@shapediver/viewer.shared.node-tree": "3.
|
|
67
|
-
"@shapediver/viewer.shared.services": "3.
|
|
68
|
-
"@shapediver/viewer.shared.types": "3.
|
|
64
|
+
"@shapediver/viewer.shared.build-data": "3.21.0",
|
|
65
|
+
"@shapediver/viewer.shared.math": "3.21.0",
|
|
66
|
+
"@shapediver/viewer.shared.node-tree": "3.21.0",
|
|
67
|
+
"@shapediver/viewer.shared.services": "3.21.0",
|
|
68
|
+
"@shapediver/viewer.shared.types": "3.21.0",
|
|
69
69
|
"@types/qrcode": "1.5.6",
|
|
70
70
|
"@types/three": "0.184.1",
|
|
71
71
|
"gl-matrix": "3.4.4",
|
|
72
72
|
"qrcode": "1.5.4",
|
|
73
73
|
"three": "0.184.0"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "5e8787ef1515a7e26421369b30982358f25c3edf"
|
|
76
76
|
}
|