import packageJson from "../package.json"; import * as Interface from "./interfaces"; import * as Rendering from "./rendering"; import * as PropertyComponents from "./propertyComponents/index"; import { Image, Line, Marker, ParametricGeometry, PolyCylinder, Polyline, Shell, TriangularShell, CuttingPlanes, Geometry, TilingType } from "./longan/geometry"; import { CreateKeyObject, IKey } from "./longan/utility"; import { List, NumberKeyList, Stack, StringKeyList } from "./longan/gs.collections"; import { BoundingBox, DBoundingBox, DGeometryOperators, DMatrix4, DPoint, DTolerance, DVector, DWcs, GeometryOperators, Matrix4, Point, Tolerance, Vector, Wcs } from "./longan/gs.math"; import * as LonganCore from "./longan/gs.viewer"; import { AreaSelectionType, CameraChangeType, CollisionType, CoordinateSystem, FontUnitsType, GsWebGLUtility, ObjectType, TextAlignment, UpdateType, ViewMode, ElementType } from "./longan/gs.viewer"; import { Include } from "./longan/include"; import { Segment, CylinderCap, ImagePixelFormat, ProjectionType, UvType, DynamicMemoryType, AlphaTextureBlendingType, ViewportType, Viewport, Color, Visibility, SelectabilityType, Selectability, Property, ModellingMatrix, Diagnosis, RenderingOptions, HeuristicOptions, DriverOptions, Text, Condition, Camera } from "./longan/segment"; import { Style } from "./longan/style"; import { AnimationClip, AnimationManager } from "./managers/animationManager"; import { CloneManager } from "./managers/cloneManager"; import { CommandManager } from "./managers/commandManager"; import { DataManagerBase } from "./managers/dataManagerBase"; import { HighlightManager } from "./managers/highlightManager"; import { HistoryManager } from "./managers/historyManager"; import { InvisibleManager } from "./managers/invisibleManager"; import { IsolationManager } from "./managers/isolationManager"; import { OperatorManager } from "./managers/operatorManager"; import { PersistenceManager } from "./managers/persistenceManager"; import { SelectionKey, SelectionManager } from "./managers/selectionManager"; import { StyleManagerBase } from "./managers/styleManagerBase"; import { TaskManager } from "./managers/taskManager"; import { ViewerManagerBase } from "./managers/viewerManagerBase"; import { Cube } from "./objects/cube"; import { ReferenceObject } from "./objects/referenceObject"; import { RenderInstanceObject } from "./objects/renderInstanceObject"; import { RenderObject } from "./objects/renderObject"; import { RoamPathObjectList } from "./objects/roamPathObjectList"; import { SegmentViewObject } from "./objects/segmentViewObject"; import { ViewPointObjectList } from "./objects/viewPointObjectList"; import { Process } from "./process"; import { CoordinateType, UpdateDisplayMode, Viewer, ViewerEvent } from "./viewer"; import { ViewModel } from "./viewModel"; import { PreRenderPass, RenderPass, UpdateViewPass } from "./rendering/renderPass"; import { PostRenderPass } from "./rendering/postRenderPass"; import { PropertyLivingComponent } from "./propertyComponents/propertyComponent"; import { RenderLivingObject } from "./objects/renderLivingObject"; import { WorkType, WorkResult, WorkManager } from "./managers/workManager"; import { MeshBuilder } from "./rendering/mesh"; import { Material } from "./assets/material"; import { CameraMouse, LButtonState } from "./operators/cameraMouse"; import { CameraPlanMouse } from "./operators/cameraPlanMouse"; import { CameraTouch, TouchOpertionType } from "./operators/cameraTouch"; import { EarthCameraMouse } from "./operators/earthCameraMouse"; import { IntersectionGraph } from "./operators/intersectionGraph"; import { ObjectPreSelector } from "./operators/objectPreSelector"; import { GpuPreSelector } from "./operators/gpuPreSelector"; import { ObjectSelector } from "./operators/objectSelector"; import { PanoramaCameraMouse } from "./operators/panoramaCameraMouse"; import { PerspectiveCameraMouse } from "./operators/perspectiveCameraMouse"; import { CameraOperateState, ViewerOperator } from "./operators/viewerOperator"; import { BaseShader } from "./propertyComponents/baseShader"; import { PropertyComponent } from "./propertyComponents/propertyComponent"; import { Shader, ShaderProperty, ShaderPropertyType, ShaderState, ShaderStateType } from "./assets/shader"; import { Command } from "./workFlow/command"; import { CommandImportEarth } from "./workFlow/commandImportEarth"; import { CommandPanoramaModelSelect } from "./workFlow/commandPanoramaModelSelect"; import { CommandSelect } from "./workFlow/commandSelect"; import { StepFlow } from "./workFlow/stepFlow"; import { CommandStepState } from "./history/commandStepState"; import { DeltaState, RollType } from "./history/deltaState"; import { ObjectState } from "./history/objectState"; import { RenderObjectState } from "./history/renderObjectState"; import { StateItem } from "./history/stateItem"; import { StatePack } from "./history/statePack"; import { TaskExecuteState } from "./history/taskExecuteState"; import { TaskFinishState } from "./history/taskFinishState"; import { TaskState } from "./history/taskState"; import LonganLoad from "./longanLoad"; import { CuttingBox } from "./operators/cuttingBox"; import { CuttingPlane } from "./operators/cuttingPlane"; import { TypeHelper } from "./utility"; import { MeshComponent } from "./propertyComponents/meshComponent"; import { MeshEventArgs, MeshRenderer, SubMesh } from "./propertyComponents/meshRenderer"; import { SceneObject } from "./objects/sceneObject"; import { SkyboxObject } from "./objects/skyboxObject"; import { DirectionalLight } from "./objects/directionalLight"; import { TransparentPass } from "./rendering/transparentPass"; import Option from "./option"; import { PBRMaterial } from "./materials/pbr/pbrMaterial"; import { Color3, Color4, Size, Vector2, Vector3, Vector4 } from "./longan/gs.math.objects"; import { CommandStep, StepType } from "./workFlow/commandStep"; import { isPC } from "./utils/utility"; import IDB from "./longan/idb"; import { ProcessManagerBase } from "./managers/processManagerBase"; import { ComponentsLoadedArgs, EventArgs, InstantiationEventArgs } from "./events"; import { UpdateManager } from "./managers/updateManager"; import { BlendType, CompareFunction, Cubemap, CullFaceType, FaceMode, Mesh, RenderTarget, ShaderProgram, StencilOperation, Texture2d, TextureFiltering, TextureMode, TransformFeedback, VertexAttribute, WebGL2RenderContext } from "./rendering/renderContext"; import { cleanIDB, getDataFromIDB, saveDataToIDB } from "./api/indexedDB"; import { vertexArrayObjectInfo } from "./propertyComponents/shader"; import { IBoundingBox, IPersistenceManager } from "./interfaces"; import uuid from "./utils/uuid"; import { WorkPromise } from "./managers/promiseManager"; import { CoordinateManager } from "./managers/coordinateManager"; import { float, VertexData } from "./longan/gs.types"; import { MaterialDefines } from "./materials/materialDefines"; import { BBState } from "./rendering/camera"; import { BoneAnimationComponent, Skeleton } from "./propertyComponents/boneAnimationComponent"; import pbrShader from "./shaders/pbr"; import { AssetManager } from "./managers/assetManager"; declare const Longan: { LonganCore: typeof LonganCore; StringKeyList: typeof StringKeyList; NumberKeyList: typeof NumberKeyList; List: typeof List; Stack: typeof Stack; Point: typeof Point; DPoint: typeof DPoint; Vector: typeof Vector; DVector: typeof DVector; Matrix4: typeof Matrix4; DMatrix4: typeof DMatrix4; Wcs: typeof Wcs; DWcs: typeof DWcs; BoundingBox: typeof BoundingBox; DBoundingBox: typeof DBoundingBox; GeometryOperators: typeof GeometryOperators; DGeometryOperators: typeof DGeometryOperators; Tolerance: typeof Tolerance; DTolerance: typeof DTolerance; Viewer: typeof Viewer; Process: typeof Process; ViewModel: typeof ViewModel; ViewMode: typeof LonganCore.ViewMode; Include: typeof Include; Style: typeof Style; Geometry: typeof Geometry; Marker: typeof Marker; Line: typeof Line; Polyline: typeof Polyline; Shell: typeof Shell; TriangularShell: typeof TriangularShell; CuttingPlanes: typeof CuttingPlanes; PreRenderPass: typeof PreRenderPass; UpdateViewPass: typeof UpdateViewPass; PostRenderPass: typeof PostRenderPass; AnimationManager: typeof AnimationManager; CommandManager: typeof CommandManager; HistoryManager: typeof HistoryManager; OperatorManager: typeof OperatorManager; PersistenceManager: typeof PersistenceManager; AssetManager: typeof AssetManager; CloneManager: typeof CloneManager; TaskManager: typeof TaskManager; ViewerManagerBase: typeof ViewerManagerBase; SelectionManager: typeof SelectionManager; HighlightManager: typeof HighlightManager; StyleManagerBase: typeof StyleManagerBase; DataManagerBase: typeof DataManagerBase; IsolationManager: typeof IsolationManager; InvisibleManager: typeof InvisibleManager; SelectionKey: typeof SelectionKey; RenderObject: typeof RenderObject; RenderInstanceObject: typeof RenderInstanceObject; Cube: typeof Cube; ViewPointObjectList: typeof ViewPointObjectList; RoamPathObjectList: typeof RoamPathObjectList; ReferenceObject: typeof ReferenceObject; ViewerOperator: typeof ViewerOperator; CameraMouse: typeof CameraMouse; EarthCameraMouse: typeof EarthCameraMouse; ObjectSelector: typeof ObjectSelector; PanoramaCameraMouse: typeof PanoramaCameraMouse; ObjectPreSelector: typeof ObjectPreSelector; GpuPreSelector: typeof GpuPreSelector; CameraTouch: typeof CameraTouch; PerspectiveCameraMouse: typeof PerspectiveCameraMouse; CuttingBox: typeof CuttingBox; CuttingPlane: typeof CuttingPlane; PropertyComponent: typeof PropertyComponent; Shader: typeof Shader; BaseShader: typeof BaseShader; Command: typeof Command; CommandSelect: typeof CommandSelect; CommandPanoramaModelSelect: typeof CommandPanoramaModelSelect; CommandImportEarth: typeof CommandImportEarth; TypeHelper: typeof TypeHelper; LonganLoad: typeof LonganLoad; SegmentViewObject: typeof SegmentViewObject; CameraPlanMouse: typeof CameraPlanMouse; Image: typeof Image; UpdateType: typeof LonganCore.UpdateType; IntersectionGraph: typeof IntersectionGraph; StateItem: typeof StateItem; StatePack: typeof StatePack; TaskExecuteState: typeof TaskExecuteState; TaskState: typeof TaskState; TaskFinishState: typeof TaskFinishState; DeltaState: typeof DeltaState; ObjectState: typeof ObjectState; RenderObjectState: typeof RenderObjectState; CommandStepState: typeof CommandStepState; RollType: typeof RollType; ParametricGeometry: typeof ParametricGeometry; CollisionType: typeof LonganCore.CollisionType; Segment: typeof Segment; CylinderCap: typeof CylinderCap; ImagePixelFormat: typeof ImagePixelFormat; ProjectionType: typeof ProjectionType; UvType: typeof UvType; DynamicMemoryType: typeof DynamicMemoryType; AlphaTextureBlendingType: typeof AlphaTextureBlendingType; ViewportType: typeof ViewportType; Viewport: typeof Viewport; Color: typeof Color; Visibility: typeof Visibility; SelectabilityType: typeof SelectabilityType; Selectability: typeof Selectability; Property: typeof Property; ModellingMatrix: typeof ModellingMatrix; Diagnosis: typeof Diagnosis; RenderingOptions: typeof RenderingOptions; HeuristicOptions: typeof HeuristicOptions; DriverOptions: typeof DriverOptions; Text: typeof Text; Condition: typeof Condition; PropertyLivingComponent: typeof PropertyLivingComponent; RenderLivingObject: typeof RenderLivingObject; Material: typeof Material; PBRMaterial: typeof PBRMaterial; WorkType: typeof WorkType; WorkResult: typeof WorkResult; WorkManager: typeof WorkManager; MeshBuilder: typeof MeshBuilder; MeshComponent: typeof MeshComponent; MeshRenderer: typeof MeshRenderer; SceneObject: typeof SceneObject; SkyboxObject: typeof SkyboxObject; DirectionalLight: typeof DirectionalLight; LButtonState: typeof LButtonState; TransparentPass: typeof TransparentPass; StepFlow: typeof StepFlow; Option: { ModelUrls: { model: string; system: string; }; }; Color3: typeof Color3; CommandStep: typeof CommandStep; StepType: typeof StepType; ViewerEvent: typeof ViewerEvent; isPC: typeof isPC; IDB: typeof IDB; CameraChangeType: typeof LonganCore.CameraChangeType; ProcessManagerBase: typeof ProcessManagerBase; ObjectType: typeof LonganCore.ObjectType; PolyCylinder: typeof PolyCylinder; CoordinateSystem: typeof LonganCore.CoordinateSystem; CoordinateType: typeof CoordinateType; FontUnitsType: typeof LonganCore.FontUnitsType; TextAlignment: typeof LonganCore.TextAlignment; AreaSelectionType: typeof LonganCore.AreaSelectionType; GsWebGLUtility: typeof LonganCore.GsWebGLUtility; CameraOperateState: typeof CameraOperateState; EventArgs: typeof EventArgs; ElementType: typeof LonganCore.ElementType; CreateKeyObject: typeof CreateKeyObject; ShaderState: typeof ShaderState; ShaderStateType: typeof ShaderStateType; UpdateDisplayMode: typeof UpdateDisplayMode; UpdateManager: typeof UpdateManager; CompareFunction: typeof CompareFunction; CullFaceType: typeof CullFaceType; StencilOperation: typeof StencilOperation; WebGL2RenderContext: typeof WebGL2RenderContext; SubMesh: typeof SubMesh; RenderPass: typeof RenderPass; TouchOpertionType: typeof TouchOpertionType; Camera: typeof Camera; getDataFromIDB: typeof getDataFromIDB; saveDataToIDB: typeof saveDataToIDB; vertexArrayObjectInfo: typeof vertexArrayObjectInfo; BlendType: typeof BlendType; TextureFiltering: typeof TextureFiltering; TextureMode: typeof TextureMode; Interface: typeof Interface; PropertyComponents: typeof PropertyComponents; TilingType: typeof TilingType; uuid: typeof uuid; ComponentsLoadedArgs: typeof ComponentsLoadedArgs; WorkPromise: typeof WorkPromise; cleanIDB: typeof cleanIDB; InstantiationEventArgs: typeof InstantiationEventArgs; CoordinateManager: typeof CoordinateManager; Size: typeof Size; Vector2: typeof Vector2; Vector3: typeof Vector3; Vector4: typeof Vector4; MaterialDefines: typeof MaterialDefines; Color4: typeof Color4; MeshEventArgs: typeof MeshEventArgs; FaceMode: typeof FaceMode; AnimationClip: typeof AnimationClip; Rendering: typeof Rendering; ShaderProperty: typeof ShaderProperty; BBState: typeof BBState; BoneAnimationComponent: typeof BoneAnimationComponent; Skeleton: typeof Skeleton; packageJson: { name: string; version: string; description: string; main: string; types: string; scripts: { publish: string; publishBeta: string; bundle: string; }; author: string; license: string; }; }; export default Longan; export { LonganCore, StringKeyList, NumberKeyList, List, Stack, Point, DPoint, Vector, DVector, Matrix4, DMatrix4, Wcs, DWcs, BoundingBox, DBoundingBox, GeometryOperators, DGeometryOperators, Tolerance, DTolerance, Viewer, Process, ViewModel, ViewMode, Include, Style, Geometry, Marker, Line, Polyline, Shell, CuttingPlanes, TriangularShell, Mesh, PreRenderPass, UpdateViewPass, PostRenderPass, AnimationManager, CommandManager, HistoryManager, OperatorManager, PersistenceManager, AssetManager, CloneManager, TaskManager, ViewerManagerBase, SelectionManager, HighlightManager, StyleManagerBase, DataManagerBase, IsolationManager, InvisibleManager, SelectionKey, RenderObject, RenderInstanceObject, Cube, ViewPointObjectList, RoamPathObjectList, ReferenceObject, ViewerOperator, CameraMouse, EarthCameraMouse, ObjectSelector, PanoramaCameraMouse, ObjectPreSelector, GpuPreSelector, CameraTouch, PerspectiveCameraMouse, CuttingBox, CuttingPlane, PropertyComponent, Shader, BaseShader, Command, CommandSelect, CommandPanoramaModelSelect, CommandImportEarth, TypeHelper, LonganLoad, SegmentViewObject, CameraPlanMouse, Image, UpdateType, IntersectionGraph, StateItem, StatePack, TaskExecuteState, TaskState, TaskFinishState, DeltaState, ObjectState, RenderObjectState, CommandStepState, RollType, ParametricGeometry, CollisionType, Segment, CylinderCap, ImagePixelFormat, ProjectionType, UvType, DynamicMemoryType, AlphaTextureBlendingType, ViewportType, Viewport, Color, Visibility, SelectabilityType, Selectability, Property, ModellingMatrix, Diagnosis, RenderingOptions, HeuristicOptions, DriverOptions, Text, Condition, PropertyLivingComponent, RenderLivingObject, Material, PBRMaterial, WorkType, WorkResult, WorkManager, MeshBuilder, MeshComponent, MeshRenderer, SceneObject, SkyboxObject, DirectionalLight, LButtonState, TransparentPass, StepFlow, Option, Color3, CommandStep, StepType, ViewerEvent, isPC, IDB, CameraChangeType, ProcessManagerBase, ObjectType, PolyCylinder, CoordinateSystem, CoordinateType, FontUnitsType, TextAlignment, AreaSelectionType, GsWebGLUtility, CameraOperateState, EventArgs, ShaderPropertyType, ElementType, CreateKeyObject, IKey, ShaderState, ShaderStateType, UpdateDisplayMode, UpdateManager, CompareFunction, CullFaceType, StencilOperation, WebGL2RenderContext, SubMesh, RenderPass, TouchOpertionType, Camera, getDataFromIDB, saveDataToIDB, vertexArrayObjectInfo, BlendType, ShaderProgram, Texture2d, TextureFiltering, TextureMode, Interface, PropertyComponents, IPersistenceManager, IBoundingBox, TilingType, uuid, ComponentsLoadedArgs, WorkPromise, cleanIDB, InstantiationEventArgs, CoordinateManager, VertexData, Size, Vector2, Vector3, Vector4, MaterialDefines, RenderTarget, float, Color4, MeshEventArgs, Cubemap, FaceMode, TransformFeedback, AnimationClip, Rendering, ShaderProperty, BBState, BoneAnimationComponent, Skeleton, VertexAttribute, packageJson, pbrShader, };