@realsee/dnalogel 3.46.1 → 3.47.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/CHANGELOG.md +4 -0
- package/dist/Sculpt/Meshes/Polygon.d.ts +6 -0
- package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +8 -0
- package/dist/Sculpt/Meshes/Polyline.d.ts +7 -0
- package/dist/Sculpt/utils/three/ColoredMesh.d.ts +6 -0
- package/dist/index.cjs.js +39 -39
- package/dist/index.js +2161 -2118
- package/dist/index.umd.js +34 -34
- package/dist/shared-utils/five/getPosition.d.ts +2 -0
- package/dist/shared-utils/three/PointSelector/index.d.ts +14 -10
- package/dist/typings/typings.d.ts +2 -0
- package/libs/Sculpt/Meshes/Polygon.d.ts +6 -0
- package/libs/Sculpt/Meshes/Polygon.js +7 -4
- package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +8 -0
- package/libs/Sculpt/Meshes/PolygonWithEdge.js +38 -24
- package/libs/Sculpt/Meshes/Polyline.d.ts +7 -0
- package/libs/Sculpt/Meshes/Polyline.js +32 -23
- package/libs/Sculpt/Objects/Line/Editor.js +6 -6
- package/libs/Sculpt/Objects/Line/index.js +16 -16
- package/libs/Sculpt/Objects/Point/Editor.js +10 -10
- package/libs/Sculpt/Objects/Polygon/Editor.js +6 -6
- package/libs/Sculpt/Objects/Polygon/index.js +43 -37
- package/libs/Sculpt/Objects/Polyline/Editor.js +3 -3
- package/libs/Sculpt/Objects/Polyline/index.js +43 -43
- package/libs/Sculpt/utils/three/ColoredMesh.d.ts +6 -0
- package/libs/Sculpt/utils/three/ColoredMesh.js +39 -31
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/five/getPosition.d.ts +2 -0
- package/libs/shared-utils/five/getPosition.js +25 -30
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/index.d.ts +14 -10
- package/libs/shared-utils/three/PointSelector/index.js +74 -57
- package/libs/typings/typings.d.ts +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,12 @@ export type PolygonStyle = ColoredMeshStyle;
|
|
|
9
9
|
export type PolygonData = PointsData;
|
|
10
10
|
export default class PolygonMesh extends ColoredMesh<THREE.BufferGeometry> {
|
|
11
11
|
name: string;
|
|
12
|
+
get style(): {
|
|
13
|
+
color: THREE.Color;
|
|
14
|
+
opacity: number;
|
|
15
|
+
occlusionVisibility: boolean;
|
|
16
|
+
occlusionMode: string;
|
|
17
|
+
};
|
|
12
18
|
get isBlank(): boolean;
|
|
13
19
|
get center(): THREE.Vector3;
|
|
14
20
|
points: THREE.Vector3[];
|
|
@@ -9,6 +9,14 @@ export type PolygonWithEdgeMeshStyle = PolygonStyle & LineStyle;
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class PolygonWithEdgeMesh extends PolygonMesh {
|
|
11
11
|
name: string;
|
|
12
|
+
get style(): {
|
|
13
|
+
lineWidth: number;
|
|
14
|
+
lineColor: THREE.Color;
|
|
15
|
+
color: THREE.Color;
|
|
16
|
+
opacity: number;
|
|
17
|
+
occlusionVisibility: boolean;
|
|
18
|
+
occlusionMode: string;
|
|
19
|
+
};
|
|
12
20
|
get lineWidth(): number;
|
|
13
21
|
get lineColor(): THREE.Color;
|
|
14
22
|
protected line: PolylineMesh;
|
|
@@ -8,6 +8,13 @@ export type PolylineStyle = LineMeshStyle;
|
|
|
8
8
|
export type PolylineData = PointsData;
|
|
9
9
|
export declare abstract class PolylineBaseMesh extends IObject3D {
|
|
10
10
|
name: string;
|
|
11
|
+
get style(): {
|
|
12
|
+
lineColor: THREE.Color;
|
|
13
|
+
lineWidth: number;
|
|
14
|
+
dashed: boolean;
|
|
15
|
+
occlusionVisibility: boolean;
|
|
16
|
+
occlusionMode: "translucence" | "depthTest";
|
|
17
|
+
};
|
|
11
18
|
get lineColor(): THREE.Color;
|
|
12
19
|
get lineWidth(): number;
|
|
13
20
|
get dashed(): boolean;
|
|
@@ -6,6 +6,12 @@ export default class ColoredMesh<TGeometry extends THREE.Geometry | THREE.Buffer
|
|
|
6
6
|
name: string;
|
|
7
7
|
meshFont: THREE.Mesh<TGeometry, THREE.MeshBasicMaterial>;
|
|
8
8
|
meshBackground: THREE.Mesh<TGeometry, THREE.MeshBasicMaterial>;
|
|
9
|
+
get style(): {
|
|
10
|
+
color: THREE.Color;
|
|
11
|
+
opacity: number;
|
|
12
|
+
occlusionVisibility: boolean;
|
|
13
|
+
occlusionMode: string;
|
|
14
|
+
};
|
|
9
15
|
get color(): THREE.Color;
|
|
10
16
|
get opacity(): number;
|
|
11
17
|
get occlusionVisibility(): boolean;
|