@realsee/dnalogel 3.49.9 → 3.49.11
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/CHANGELOG.md +6 -0
- package/dist/Sculpt/Meshes/Line.d.ts +5 -7
- package/dist/Sculpt/Meshes/Point.d.ts +8 -2
- package/dist/Sculpt/Objects/Base/index.d.ts +1 -0
- package/dist/Sculpt/typings/style.d.ts +6 -0
- package/dist/index.cjs.js +57 -57
- package/dist/index.js +2420 -2385
- package/dist/index.umd.js +51 -51
- package/dist/shared-utils/three/PointSelector/index.d.ts +1 -1
- package/libs/Sculpt/Meshes/Line.d.ts +5 -7
- package/libs/Sculpt/Meshes/Line.js +75 -67
- package/libs/Sculpt/Meshes/LineWithDots.js +5 -5
- package/libs/Sculpt/Meshes/Point.d.ts +8 -2
- package/libs/Sculpt/Meshes/Point.js +77 -44
- package/libs/Sculpt/Objects/Base/index.d.ts +1 -0
- package/libs/Sculpt/Objects/Base/index.js +5 -2
- package/libs/Sculpt/Objects/Line/index.js +2 -0
- package/libs/Sculpt/Objects/Point/index.js +46 -43
- package/libs/Sculpt/index.js +1 -1
- package/libs/Sculpt/typings/style.d.ts +6 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/index.d.ts +1 -1
- package/libs/shared-utils/three/PointSelector/index.js +12 -15
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as THREE from 'three';
|
|
2
|
-
import { type Color, type OcclusionStyle, type LineStyle } from '../typings/style';
|
|
2
|
+
import { type Color, type OcclusionStyle, type LineStyle, type lengthConfig, type DisplayInfoConfig } from '../typings/style';
|
|
3
3
|
import { LineMaterial, THREE_Line2 } from '../../shared-utils/five/FiveLine';
|
|
4
4
|
import { LineGeometry } from 'three/examples/jsm/lines/LineGeometry';
|
|
5
5
|
import { type AnyPositions } from '../../shared-utils/positionToVector3';
|
|
@@ -9,9 +9,7 @@ import type { PointsData } from '../utils/data';
|
|
|
9
9
|
import { LightTag } from '../../shared-utils/tag';
|
|
10
10
|
export type LineMeshStyle = LineStyle & {
|
|
11
11
|
dashed?: boolean;
|
|
12
|
-
} & OcclusionStyle &
|
|
13
|
-
lengthEnable?: boolean;
|
|
14
|
-
};
|
|
12
|
+
} & OcclusionStyle & Partial<lengthConfig> & Partial<DisplayInfoConfig>;
|
|
15
13
|
export type LineData = PointsData;
|
|
16
14
|
export declare class LineMaterial2 extends LineMaterial {
|
|
17
15
|
get three_color(): Color;
|
|
@@ -32,7 +30,7 @@ export declare class THREE_Line3 extends THREE_Line2 {
|
|
|
32
30
|
export declare class LineMesh extends IObject3D {
|
|
33
31
|
name: string;
|
|
34
32
|
points: THREE.Vector3[];
|
|
35
|
-
|
|
33
|
+
doms: LightTag[];
|
|
36
34
|
get style(): LineMeshStyle;
|
|
37
35
|
get opacity(): number;
|
|
38
36
|
get lineWidth(): number;
|
|
@@ -46,7 +44,7 @@ export declare class LineMesh extends IObject3D {
|
|
|
46
44
|
private backLine;
|
|
47
45
|
private opacityBeforeHighlight;
|
|
48
46
|
private paramsStyle;
|
|
49
|
-
private
|
|
47
|
+
private lastRenderDomItem;
|
|
50
48
|
constructor(params?: Partial<LineMeshStyle & LineData>);
|
|
51
49
|
updateMatrixWorld(force?: boolean): void;
|
|
52
50
|
setPoints(points: AnyPositions): void;
|
|
@@ -54,5 +52,5 @@ export declare class LineMesh extends IObject3D {
|
|
|
54
52
|
setStyle(params: Partial<LineMeshStyle>): void;
|
|
55
53
|
highlight(): void;
|
|
56
54
|
unhighlight(): void;
|
|
57
|
-
private
|
|
55
|
+
private updateDomItems;
|
|
58
56
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as THREE from 'three';
|
|
2
|
-
import { type ColorStyle, type OcclusionStyle } from '../typings/style';
|
|
2
|
+
import { type ColorStyle, type DisplayInfoConfig, type OcclusionStyle } from '../typings/style';
|
|
3
3
|
import { IObject3D } from '../../shared-utils/three/IObject3D';
|
|
4
4
|
import type { PointData } from '../utils/data';
|
|
5
5
|
export type { PointData } from '../utils/data';
|
|
6
6
|
export declare const circleImageURL: string;
|
|
7
7
|
export type PointStyle = ColorStyle & {
|
|
8
8
|
size: number;
|
|
9
|
-
} & OcclusionStyle
|
|
9
|
+
} & OcclusionStyle & Partial<DisplayInfoConfig>;
|
|
10
10
|
export declare class PointMesh extends IObject3D {
|
|
11
11
|
name: string;
|
|
12
12
|
get color(): THREE.Color;
|
|
@@ -15,8 +15,14 @@ export declare class PointMesh extends IObject3D {
|
|
|
15
15
|
private highlighted;
|
|
16
16
|
private fontMesh;
|
|
17
17
|
private backgroundMesh;
|
|
18
|
+
private lastRenderDomItem;
|
|
19
|
+
private paramsStyle;
|
|
20
|
+
private dom;
|
|
21
|
+
private get five();
|
|
18
22
|
constructor(params?: Partial<PointStyle & PointData>);
|
|
19
23
|
setStyle(params: Partial<PointStyle>): void;
|
|
20
24
|
highlight(): void;
|
|
21
25
|
unhighlight(): void;
|
|
26
|
+
updateMatrixWorld(force?: boolean): void;
|
|
27
|
+
private updateDom;
|
|
22
28
|
}
|
|
@@ -57,4 +57,10 @@ export type OcclusionStyle = {
|
|
|
57
57
|
*/
|
|
58
58
|
occlusionMode: 'translucence' | 'depthTest';
|
|
59
59
|
};
|
|
60
|
+
export type lengthConfig = {
|
|
61
|
+
lengthEnable: boolean;
|
|
62
|
+
};
|
|
63
|
+
export type DisplayInfoConfig = {
|
|
64
|
+
tip: string;
|
|
65
|
+
};
|
|
60
66
|
export type LineStyle = LineColorStyle & LineWidthStyle & OpacityStyle;
|