vease 1.58.0 → 1.58.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.
|
@@ -30,6 +30,14 @@ async function addClippingPlane(window) {
|
|
|
30
30
|
await window.getByTestId("addPlaneButton").click();
|
|
31
31
|
await waitForActionSettled(window);
|
|
32
32
|
}
|
|
33
|
+
async function removeClippingPlanes(window) {
|
|
34
|
+
await window.getByTestId("removeClippingPlanesButton").click();
|
|
35
|
+
await waitForActionSettled(window);
|
|
36
|
+
}
|
|
37
|
+
async function resetClippingPlanes(window) {
|
|
38
|
+
await window.getByTestId("resetClippingPlanesButton").click();
|
|
39
|
+
await waitForActionSettled(window);
|
|
40
|
+
}
|
|
33
41
|
async function toggleTargetAllVisible(window) {
|
|
34
42
|
await window.getByTestId("targetAllVisibleSwitch").getByRole("checkbox").click();
|
|
35
43
|
await waitForActionSettled(window);
|
|
@@ -61,4 +69,4 @@ async function setSliceIndex(window, index, sliceIndex = 0) {
|
|
|
61
69
|
await waitForActionSettled(window);
|
|
62
70
|
}
|
|
63
71
|
//#endregion
|
|
64
|
-
export { addClippingPlane, addSlice, invertPlaneNormal, selectClippingDatasets, setPlaneNormal, setPlaneOrigin, setSliceAxis, setSliceIndex, toggleClippingPlanes, toggleSlice, toggleTargetAllVisible };
|
|
72
|
+
export { addClippingPlane, addSlice, invertPlaneNormal, removeClippingPlanes, resetClippingPlanes, selectClippingDatasets, setPlaneNormal, setPlaneOrigin, setSliceAxis, setSliceIndex, toggleClippingPlanes, toggleSlice, toggleTargetAllVisible };
|
package/package.json
CHANGED
|
@@ -38,6 +38,16 @@ async function addClippingPlane(window: Page): Promise<void> {
|
|
|
38
38
|
await waitForActionSettled(window);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
+
async function removeClippingPlanes(window: Page): Promise<void> {
|
|
42
|
+
await window.getByTestId("removeClippingPlanesButton").click();
|
|
43
|
+
await waitForActionSettled(window);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
async function resetClippingPlanes(window: Page): Promise<void> {
|
|
47
|
+
await window.getByTestId("resetClippingPlanesButton").click();
|
|
48
|
+
await waitForActionSettled(window);
|
|
49
|
+
}
|
|
50
|
+
|
|
41
51
|
async function toggleTargetAllVisible(window: Page): Promise<void> {
|
|
42
52
|
await window.getByTestId("targetAllVisibleSwitch").getByRole("checkbox").click();
|
|
43
53
|
await waitForActionSettled(window);
|
|
@@ -85,6 +95,8 @@ export {
|
|
|
85
95
|
setPlaneOrigin,
|
|
86
96
|
setPlaneNormal,
|
|
87
97
|
addClippingPlane,
|
|
98
|
+
removeClippingPlanes,
|
|
99
|
+
resetClippingPlanes,
|
|
88
100
|
toggleTargetAllVisible,
|
|
89
101
|
selectClippingDatasets,
|
|
90
102
|
toggleSlice,
|