fcs-core-viewer 0.19.2 → 0.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fcs-core-viewer@types/DataStorage/ModelData/Containers/BorderContainer.d.ts +0 -7
- package/fcs-core-viewer@types/DataStorage/ModelData/Containers/Element0DContainer.d.ts +0 -7
- package/fcs-core-viewer@types/DataStorage/ModelData/Containers/Element1DContainer.d.ts +0 -1
- package/fcs-core-viewer@types/DataStorage/ModelData/Containers/ElementContainer.d.ts +0 -7
- package/fcs-core-viewer@types/DataStorage/ModelData/Containers/FaceContainer.d.ts +0 -7
- package/fcs-core-viewer@types/DataStorage/ModelData/Containers/LineContainer.d.ts +0 -7
- package/fcs-core-viewer@types/DataStorage/ModelData/Containers/NodeContainer.d.ts +0 -7
- package/fcs-core-viewer@types/DataStorage/ModelData/Containers/PointContainer.d.ts +0 -7
- package/fcs-core-viewer@types/DataStorage/ModelData/GPUPicking/GPUPicking.d.ts +65 -8
- package/fcs-core-viewer@types/DataStorage/ModelData/Shapes/TopoMesh.d.ts +1 -0
- package/fcs-core-viewer@types/Loader/GEOMLoader/GeomLoader.d.ts +2 -0
- package/fcs-core-viewer@types/StyleHandler/MainMenuStyle.d.ts +9 -0
- package/fcs-core-viewer@types/Tree/TreeView/TreeCoreUtils.d.ts +0 -3
- package/fcs-core-viewer@types/UserInterface/UIComponents/Legend/Legend.d.ts +44 -0
- package/fcs-core-viewer@types/UserInterface/UIComponents/MainMenu/MainMenu.d.ts +2 -0
- package/fcs-core-viewer@types/UserInterface/UIComponents/OptionsMenu/Operations/RunSimulation/RunSimulationOperation.d.ts +55 -0
- package/fcs-core-viewer@types/UserInterface/UIComponents/OptionsMenu/OptionsMenu.d.ts +3 -0
- package/package.json +1 -1
- package/fcs-core-viewer@types/DataStorage/MaterialData/PointMaterial.d.ts +0 -7
|
@@ -3,13 +3,6 @@ import { SceneWrapper } from '../../../CloudViewer/SceneWrapper';
|
|
|
3
3
|
export declare class BorderContainer {
|
|
4
4
|
static instance: BorderContainer;
|
|
5
5
|
sceneWrapper: SceneWrapper;
|
|
6
|
-
shapeVIDs: {};
|
|
7
|
-
index_To_Shapes: {
|
|
8
|
-
[index: number]: {
|
|
9
|
-
length: number;
|
|
10
|
-
shapeVIDs: {};
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
6
|
cntObject: THREE.Line;
|
|
14
7
|
borderMaterial: THREE.ShaderMaterial;
|
|
15
8
|
sharedPositionBuffer: ArrayBuffer;
|
|
@@ -6,13 +6,6 @@ import { SceneWrapper } from "../../../CloudViewer/SceneWrapper";
|
|
|
6
6
|
export declare class Element0DContainer {
|
|
7
7
|
static instance: Element0DContainer;
|
|
8
8
|
sceneWrapper: SceneWrapper;
|
|
9
|
-
shapeVIDs: {};
|
|
10
|
-
index_To_Shapes: {
|
|
11
|
-
[index: number]: {
|
|
12
|
-
length: number;
|
|
13
|
-
shapeVIDs: {};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
9
|
cntObject: THREE.Points;
|
|
17
10
|
element0DMaterial: THREE.ShaderMaterial;
|
|
18
11
|
sharedPositionBuffer: ArrayBuffer;
|
|
@@ -3,7 +3,6 @@ import { SceneWrapper } from '../../../CloudViewer/SceneWrapper';
|
|
|
3
3
|
export declare class Element1DContainer {
|
|
4
4
|
static instance: Element1DContainer;
|
|
5
5
|
sceneWrapper: SceneWrapper;
|
|
6
|
-
shapeVIDs: {};
|
|
7
6
|
cntObject: THREE.LineSegments;
|
|
8
7
|
Element1DMaterial: THREE.ShaderMaterial;
|
|
9
8
|
sharedPositionBuffer: ArrayBuffer;
|
|
@@ -3,13 +3,6 @@ import { SceneWrapper } from "../../../CloudViewer/SceneWrapper";
|
|
|
3
3
|
export declare class ElementContainer {
|
|
4
4
|
static instance: ElementContainer;
|
|
5
5
|
sceneWrapper: SceneWrapper;
|
|
6
|
-
shapeVIDs: {};
|
|
7
|
-
index_To_Shapes: {
|
|
8
|
-
[index: number]: {
|
|
9
|
-
length: number;
|
|
10
|
-
shapeVIDs: {};
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
6
|
cntObject: THREE.Mesh;
|
|
14
7
|
elementMaterial: THREE.ShaderMaterial;
|
|
15
8
|
sharedPositionBuffer: ArrayBuffer;
|
|
@@ -3,13 +3,6 @@ import { SceneWrapper } from "../../../CloudViewer/SceneWrapper";
|
|
|
3
3
|
export declare class MeshContainer {
|
|
4
4
|
static instance: MeshContainer;
|
|
5
5
|
sceneWrapper: SceneWrapper;
|
|
6
|
-
shapeVIDs: {};
|
|
7
|
-
index_To_Shapes: {
|
|
8
|
-
[index: number]: {
|
|
9
|
-
length: number;
|
|
10
|
-
shapeVIDs: {};
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
6
|
cntObject: THREE.Mesh;
|
|
14
7
|
faceMaterial: THREE.ShaderMaterial;
|
|
15
8
|
sharedPositionBuffer: ArrayBuffer;
|
|
@@ -3,13 +3,6 @@ import { SceneWrapper } from '../../../CloudViewer/SceneWrapper';
|
|
|
3
3
|
export declare class LineContainer {
|
|
4
4
|
static instance: LineContainer;
|
|
5
5
|
sceneWrapper: SceneWrapper;
|
|
6
|
-
shapeVIDs: {};
|
|
7
|
-
index_To_Shapes: {
|
|
8
|
-
[index: number]: {
|
|
9
|
-
length: number;
|
|
10
|
-
shapeVIDs: {};
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
6
|
cntObject: THREE.LineSegments;
|
|
14
7
|
lineMaterial: THREE.ShaderMaterial;
|
|
15
8
|
sharedPositionBuffer: ArrayBuffer;
|
|
@@ -6,13 +6,6 @@ import { SceneWrapper } from "../../../CloudViewer/SceneWrapper";
|
|
|
6
6
|
export declare class NodeContainer {
|
|
7
7
|
static instance: NodeContainer;
|
|
8
8
|
sceneWrapper: SceneWrapper;
|
|
9
|
-
shapeVIDs: {};
|
|
10
|
-
index_To_Shapes: {
|
|
11
|
-
[index: number]: {
|
|
12
|
-
length: number;
|
|
13
|
-
shapeVIDs: {};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
9
|
cntObject: THREE.Points;
|
|
17
10
|
nodeMaterial: THREE.ShaderMaterial;
|
|
18
11
|
sharedPositionBuffer: ArrayBuffer;
|
|
@@ -3,13 +3,6 @@ import { SceneWrapper } from "../../../CloudViewer/SceneWrapper";
|
|
|
3
3
|
export declare class PointContainer {
|
|
4
4
|
static instance: PointContainer;
|
|
5
5
|
sceneWrapper: SceneWrapper;
|
|
6
|
-
shapeVIDs: {};
|
|
7
|
-
index_To_Shapes: {
|
|
8
|
-
[index: number]: {
|
|
9
|
-
length: number;
|
|
10
|
-
shapeVIDs: {};
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
6
|
cntObject: THREE.Point;
|
|
14
7
|
vertexMaterial: THREE.ShaderMaterial;
|
|
15
8
|
sharedPositionBuffer: ArrayBuffer;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as THREE from "../../../three/build/three.module";
|
|
2
2
|
import { ModelData } from "../Index";
|
|
3
|
-
import { LineMaterial } from '../../../three/examples/jsm/lines/LineMaterial';
|
|
4
3
|
declare enum GPUPickingType {
|
|
5
4
|
Vertex = 0,
|
|
6
5
|
Edge = 1,
|
|
@@ -38,43 +37,101 @@ declare abstract class GPUPicking<T> {
|
|
|
38
37
|
}
|
|
39
38
|
export declare class GPUVertexPicking extends GPUPicking<GPUPickingType.Vertex> {
|
|
40
39
|
vertexMaterial: THREE.ShaderMaterial;
|
|
40
|
+
lineMaterial: THREE.ShaderMaterial;
|
|
41
|
+
faceMaterial: THREE.ShaderMaterial;
|
|
42
|
+
element0DMaterial: THREE.ShaderMaterial;
|
|
43
|
+
element1DMaterial: THREE.ShaderMaterial;
|
|
44
|
+
elementMaterial: THREE.ShaderMaterial;
|
|
45
|
+
borderMaterial: THREE.ShaderMaterial;
|
|
46
|
+
nodeMaterial: THREE.ShaderMaterial;
|
|
41
47
|
container: InstanceType<typeof ModelData.ContainerType.PointContainer>;
|
|
42
48
|
isVertexVisible: number;
|
|
49
|
+
isElement0DVisible: number;
|
|
50
|
+
isElement1DVisible: number;
|
|
51
|
+
isElementVisible: number;
|
|
52
|
+
isBorderVisible: number;
|
|
53
|
+
isNodeVisible: number;
|
|
43
54
|
constructor();
|
|
44
55
|
reset(): void;
|
|
45
56
|
getEntity(hash: string): void;
|
|
46
57
|
}
|
|
47
58
|
export declare class GPUEdgePicking extends GPUPicking<GPUPickingType.Edge> {
|
|
48
|
-
generalLineMaterial: LineMaterial;
|
|
49
59
|
vertexMaterial: THREE.ShaderMaterial;
|
|
60
|
+
lineMaterial: THREE.ShaderMaterial;
|
|
61
|
+
faceMaterial: THREE.ShaderMaterial;
|
|
62
|
+
element0DMaterial: THREE.ShaderMaterial;
|
|
63
|
+
element1DMaterial: THREE.ShaderMaterial;
|
|
64
|
+
elementMaterial: THREE.ShaderMaterial;
|
|
65
|
+
borderMaterial: THREE.ShaderMaterial;
|
|
66
|
+
nodeMaterial: THREE.ShaderMaterial;
|
|
50
67
|
container: InstanceType<typeof ModelData.ContainerType.LineContainer>;
|
|
51
|
-
|
|
68
|
+
isElement0DVisible: number;
|
|
69
|
+
isElement1DVisible: number;
|
|
70
|
+
isElementVisible: number;
|
|
71
|
+
isBorderVisible: number;
|
|
72
|
+
isNodeVisible: number;
|
|
52
73
|
constructor();
|
|
53
74
|
reset(): void;
|
|
54
75
|
getEntity(hash: string): void;
|
|
55
76
|
}
|
|
56
77
|
export declare class GPUFacePicking extends GPUPicking<GPUPickingType.Face> {
|
|
57
|
-
faceMaterial: THREE.ShaderMaterial;
|
|
58
78
|
vertexMaterial: THREE.ShaderMaterial;
|
|
79
|
+
lineMaterial: THREE.ShaderMaterial;
|
|
80
|
+
faceMaterial: THREE.ShaderMaterial;
|
|
81
|
+
element0DMaterial: THREE.ShaderMaterial;
|
|
82
|
+
element1DMaterial: THREE.ShaderMaterial;
|
|
83
|
+
elementMaterial: THREE.ShaderMaterial;
|
|
84
|
+
borderMaterial: THREE.ShaderMaterial;
|
|
85
|
+
nodeMaterial: THREE.ShaderMaterial;
|
|
59
86
|
container: InstanceType<typeof ModelData.ContainerType.MeshContainer>;
|
|
60
|
-
|
|
87
|
+
isElement0DVisible: number;
|
|
88
|
+
isElement1DVisible: number;
|
|
89
|
+
isElementVisible: number;
|
|
90
|
+
isBorderVisible: number;
|
|
91
|
+
isNodeVisible: number;
|
|
61
92
|
constructor();
|
|
62
93
|
reset(): void;
|
|
63
94
|
getEntity(hash: string): void;
|
|
64
95
|
}
|
|
65
96
|
export declare class GPUNodePicking extends GPUPicking<GPUPickingType.Node> {
|
|
97
|
+
vertexMaterial: THREE.ShaderMaterial;
|
|
98
|
+
lineMaterial: THREE.ShaderMaterial;
|
|
99
|
+
faceMaterial: THREE.ShaderMaterial;
|
|
100
|
+
element0DMaterial: THREE.ShaderMaterial;
|
|
101
|
+
element1DMaterial: THREE.ShaderMaterial;
|
|
102
|
+
elementMaterial: THREE.ShaderMaterial;
|
|
103
|
+
borderMaterial: THREE.ShaderMaterial;
|
|
66
104
|
nodeMaterial: THREE.ShaderMaterial;
|
|
67
105
|
container: InstanceType<typeof ModelData.ContainerType.NodeContainer>;
|
|
106
|
+
isVertexVisible: number;
|
|
107
|
+
isLineVisible: number;
|
|
108
|
+
isFaceVisible: number;
|
|
109
|
+
isElement0DVisible: number;
|
|
110
|
+
isElement1DVisible: number;
|
|
111
|
+
isElementVisible: number;
|
|
112
|
+
isBorderVisible: number;
|
|
68
113
|
isNodeVisible: number;
|
|
69
114
|
constructor();
|
|
70
115
|
reset(): void;
|
|
71
116
|
getEntity(hash: string): void;
|
|
72
117
|
}
|
|
73
118
|
export declare class GPUElementPicking extends GPUPicking<GPUPickingType.Element> {
|
|
74
|
-
|
|
75
|
-
|
|
119
|
+
vertexMaterial: THREE.ShaderMaterial;
|
|
120
|
+
lineMaterial: THREE.ShaderMaterial;
|
|
121
|
+
faceMaterial: THREE.ShaderMaterial;
|
|
76
122
|
element0DMaterial: THREE.ShaderMaterial;
|
|
77
|
-
|
|
123
|
+
element1DMaterial: THREE.ShaderMaterial;
|
|
124
|
+
elementMaterial: THREE.ShaderMaterial;
|
|
125
|
+
borderMaterial: THREE.ShaderMaterial;
|
|
126
|
+
nodeMaterial: THREE.ShaderMaterial;
|
|
127
|
+
isVertexVisible: number;
|
|
128
|
+
isLineVisible: number;
|
|
129
|
+
isFaceVisible: number;
|
|
130
|
+
isElement0DVisible: number;
|
|
131
|
+
isElement1DVisible: number;
|
|
132
|
+
isElementVisible: number;
|
|
133
|
+
isBorderVisible: number;
|
|
134
|
+
isNodeVisible: number;
|
|
78
135
|
constructor();
|
|
79
136
|
reset(): void;
|
|
80
137
|
getEntity(hash: string): void;
|
|
@@ -47,6 +47,7 @@ export declare class TopoMesh0D extends TopoMesh {
|
|
|
47
47
|
export declare class TopoMesh1D extends TopoMesh {
|
|
48
48
|
type: ModelData.dataTypes;
|
|
49
49
|
constructor(shapeUID: number);
|
|
50
|
+
delete(): void;
|
|
50
51
|
setColor(colorData: any[]): void;
|
|
51
52
|
highlight(): void;
|
|
52
53
|
select(): void;
|
|
@@ -22,6 +22,8 @@ export declare class GeomLoader {
|
|
|
22
22
|
vertexIndex_To_coords: {};
|
|
23
23
|
segmentVertexIndex_To_coords: {};
|
|
24
24
|
visitedSegmentVertexIndices: {};
|
|
25
|
+
lineIndexOffset: number;
|
|
26
|
+
addedVerticesCount: number;
|
|
25
27
|
linePosition: number[];
|
|
26
28
|
lineIndices: number[];
|
|
27
29
|
lineColor: number[];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LegendConfig } from "../UserInterface/UIComponents/Legend/Legend";
|
|
1
2
|
export declare class MainMenuStyle {
|
|
2
3
|
constructor();
|
|
3
4
|
/**
|
|
@@ -23,4 +24,12 @@ export declare class MainMenuStyle {
|
|
|
23
24
|
setViewerOperationButtonStyle(button: HTMLButtonElement): void;
|
|
24
25
|
setViewerButtonStyle(button: HTMLButtonElement): void;
|
|
25
26
|
setViewerDropdownStyle(dropdown: HTMLElement): void;
|
|
27
|
+
setLegendTitleStyle(title: HTMLElement, config: LegendConfig): void;
|
|
28
|
+
setLegendMinLabelStyle(minLabel: HTMLElement): void;
|
|
29
|
+
setScaleContainerStyle(scaleContainer: HTMLElement): void;
|
|
30
|
+
setValueContainerStyle(valueContainer: HTMLElement, config: LegendConfig): void;
|
|
31
|
+
setColorBoxStyle(colorBox: HTMLElement, config: LegendConfig, color: string): void;
|
|
32
|
+
setLabelStyle(label: HTMLElement, config: LegendConfig, reversedIntervals: number[], index: number): void;
|
|
33
|
+
setMinLabelContainerStyle(label: HTMLElement): void;
|
|
34
|
+
setLegendParentStyle(parent: HTMLElement, config: LegendConfig): void;
|
|
26
35
|
}
|
|
@@ -49,9 +49,6 @@ export declare class TreeCoreUtils {
|
|
|
49
49
|
readonly label_Z: HTMLElement;
|
|
50
50
|
readonly dx_local: any;
|
|
51
51
|
readonly dx_world_unit: any;
|
|
52
|
-
label_X_init: any;
|
|
53
|
-
label_Y_init: any;
|
|
54
|
-
label_Z_init: any;
|
|
55
52
|
dx_world_rel: any;
|
|
56
53
|
dx_world_total: any;
|
|
57
54
|
camToStart_world: any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { IViewerHtmlElement } from "../MainMenu/BuildingBlocks/MainMenuComponents/HtmlElementInterface";
|
|
2
|
+
export interface LegendConfig {
|
|
3
|
+
title: string;
|
|
4
|
+
minValue: number;
|
|
5
|
+
maxValue: number;
|
|
6
|
+
numberOfIntervals: number;
|
|
7
|
+
config?: {
|
|
8
|
+
type: "interpolated" | "discrete";
|
|
9
|
+
colors?: string[];
|
|
10
|
+
};
|
|
11
|
+
styles?: {
|
|
12
|
+
width?: string;
|
|
13
|
+
height?: string;
|
|
14
|
+
titleFontSize?: string;
|
|
15
|
+
colorBoxTitleFontSize?: string;
|
|
16
|
+
colorBoxTitleTop?: string;
|
|
17
|
+
legendWidth?: string;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export declare class Legend implements IViewerHtmlElement {
|
|
21
|
+
private readonly element;
|
|
22
|
+
private parent;
|
|
23
|
+
private intervals;
|
|
24
|
+
private mainStyles;
|
|
25
|
+
/**
|
|
26
|
+
* Singleton instance
|
|
27
|
+
*/
|
|
28
|
+
private static _instance;
|
|
29
|
+
constructor();
|
|
30
|
+
/**
|
|
31
|
+
* Getter for singleton instance.
|
|
32
|
+
*/
|
|
33
|
+
static getInstance(): Legend;
|
|
34
|
+
tryShow(config: LegendConfig): boolean;
|
|
35
|
+
hide(): void;
|
|
36
|
+
private generateColors;
|
|
37
|
+
private interpolateColor;
|
|
38
|
+
getHtmlElement(): HTMLElement;
|
|
39
|
+
remove(): void;
|
|
40
|
+
setHtmlParent(parent: HTMLElement): void;
|
|
41
|
+
setParent(parent: IViewerHtmlElement): void;
|
|
42
|
+
init(): void;
|
|
43
|
+
reset(): void;
|
|
44
|
+
}
|
|
@@ -2,10 +2,12 @@ import { MainMenuStyle } from '../../../StyleHandler/MainMenuStyle';
|
|
|
2
2
|
import { MeshWrapper } from '../../../Model/MeshWrapper';
|
|
3
3
|
import { ViewerCADToolbox } from './Toolboxes/CADToolbox';
|
|
4
4
|
import { ViewerCAEToolbox } from './Toolboxes/CAEToolbox';
|
|
5
|
+
import { Legend } from "../Legend/Legend";
|
|
5
6
|
export declare class MainMenu {
|
|
6
7
|
style: MainMenuStyle;
|
|
7
8
|
viewerCADToolbox: ViewerCADToolbox;
|
|
8
9
|
viewerCAEToolbox: ViewerCAEToolbox;
|
|
10
|
+
legend: Legend;
|
|
9
11
|
meshWrapper: MeshWrapper;
|
|
10
12
|
/**
|
|
11
13
|
* Singleton instance
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Operation } from "../../../MainMenu/BuildingBlocks/MainMenuComponents/Operation";
|
|
2
|
+
type RunSimulationConfig = {
|
|
3
|
+
onRunSimulation: () => void;
|
|
4
|
+
onDownloadLog: () => void;
|
|
5
|
+
onDownloadLRes: () => void;
|
|
6
|
+
};
|
|
7
|
+
export declare class RunSimulationOperation extends Operation {
|
|
8
|
+
private readonly onRunSimulation;
|
|
9
|
+
private readonly onDownloadLog;
|
|
10
|
+
private readonly onDownloadLRes;
|
|
11
|
+
private readonly buttonsContainer;
|
|
12
|
+
private headerTextContainer;
|
|
13
|
+
private cloudComputing;
|
|
14
|
+
private infoVisit;
|
|
15
|
+
private contactText;
|
|
16
|
+
private simulationSettingsContainer;
|
|
17
|
+
private simulationSettings;
|
|
18
|
+
private simulationButtons;
|
|
19
|
+
private nameInput;
|
|
20
|
+
private name;
|
|
21
|
+
private fileBrowser;
|
|
22
|
+
private elementNodesSelect;
|
|
23
|
+
private elementCPUsSelect;
|
|
24
|
+
private elementMemorySelect;
|
|
25
|
+
private chosenNodesOption;
|
|
26
|
+
private chosenCPUsOption;
|
|
27
|
+
private chosenMemoryOption;
|
|
28
|
+
private elementNodesOptions;
|
|
29
|
+
private elementCPUsOptions;
|
|
30
|
+
private elementMemoryOptions;
|
|
31
|
+
private dropdownContainer;
|
|
32
|
+
constructor(config?: RunSimulationConfig);
|
|
33
|
+
private buildHeaderText;
|
|
34
|
+
private buildContainers;
|
|
35
|
+
private addButton_FileBrowser;
|
|
36
|
+
private onChangeFileBrowser;
|
|
37
|
+
private addFields;
|
|
38
|
+
/**
|
|
39
|
+
* Add dropdown list
|
|
40
|
+
*/
|
|
41
|
+
private addDropDownLists;
|
|
42
|
+
/**
|
|
43
|
+
* Add action buttons (-> Run, Log, Results)
|
|
44
|
+
*/
|
|
45
|
+
private addActionButtons;
|
|
46
|
+
/**
|
|
47
|
+
* Initializes uiComponents on opening the operationUI
|
|
48
|
+
*/
|
|
49
|
+
init(): void;
|
|
50
|
+
/**
|
|
51
|
+
* Resets the gui elements (fields, entity buttons, dropdown buttons ... to default)
|
|
52
|
+
*/
|
|
53
|
+
reset(): void;
|
|
54
|
+
}
|
|
55
|
+
export {};
|
|
@@ -9,9 +9,11 @@ export declare class OptionsMenu {
|
|
|
9
9
|
private exportGeometry;
|
|
10
10
|
private exportMesh;
|
|
11
11
|
private solverDeck;
|
|
12
|
+
private runSimulation;
|
|
12
13
|
private exportGeometryOperation;
|
|
13
14
|
private exportMeshOperation;
|
|
14
15
|
private exportSolverDeckOperation;
|
|
16
|
+
private runSimulationOperation;
|
|
15
17
|
element: HTMLElement;
|
|
16
18
|
parent: HTMLElement;
|
|
17
19
|
private constructor();
|
|
@@ -20,5 +22,6 @@ export declare class OptionsMenu {
|
|
|
20
22
|
private buildExportGeometry;
|
|
21
23
|
private buildExportMesh;
|
|
22
24
|
private buildExportSolverDeck;
|
|
25
|
+
private buildRunSimulation;
|
|
23
26
|
reset(): void;
|
|
24
27
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as THREE from '../../three/build/three.module';
|
|
2
|
-
export declare class PointMaterial extends THREE.ShaderMaterial {
|
|
3
|
-
static instance: PointMaterial;
|
|
4
|
-
gpuPicking: boolean;
|
|
5
|
-
constructor(currentCamera: THREE.OrthographicCamera);
|
|
6
|
-
static getInstance(): PointMaterial;
|
|
7
|
-
}
|