Skip to content

Commit cebd291

Browse files
LeviEyalfloryst
authored andcommitted
docs(vtkaxesactor): update BREAKING_CHANGES.md
1 parent 3000db2 commit cebd291

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Diff for: BREAKING_CHANGES.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
- **ResliceCursorWidget.invokeInternalInteractionEvent(methodName)**: has been removed and should be replaced by `ResliceCursorWidget.invokeInteractionEvent(methodName)`.
55
- **ResliceCursorWidget.updateCameraPoints(renderer, viewType, resetFocalPoint, keepCenterFocalDistance, computeFocalPointOffset)** has lost the `keepCenterFocalDistance` parameter (because it was ALWAYS the negate of `computeFocalPointOffset`). The new signature is `ResliceCursorWidget.updateCameraPoints(renderer, viewType, resetFocalPoint, keepCenterFocalDistance, computeFocalPointOffset)`
66

7+
- **vtkAxesActor**: `setXAxisColor`, `setYAxisColor`, `setZAxisColor` now take a single `RGBColor` (array of 3 numbers) instead of 3 numbers for each color component. The `get*AxisColor` methods now return an array of 3 numbers instead of an object with `r`, `g`, `b` properties.
8+
79
## From 28.x to 29
810

911
- **getOpenGLRenderWindow**: `getOpenGLRenderWindow` has been renamed to `getApiSpecificRenderWindow` in `vtkFullScreenRenderWindow`, `vtkGenericRenderWindow` and `vtkViewProxy` to support WebGL and WebGPU backend. ([#2816](https://github.com/Kitware/vtk-js/pull/2816))
@@ -83,9 +85,9 @@ SplineWidget's handles now scale up automatically.
8385

8486
## From 19.x to 20
8587

86-
In ShapeWidget:
87-
- `setLabelTextCallback` is replaced by `text` substate.
88-
- `setPixelScale` has been removed. It should be replaced by point handle `scale1` mixin and `scaleInPixels`.
88+
In ShapeWidget:
89+
- `setLabelTextCallback` is replaced by `text` substate.
90+
- `setPixelScale` has been removed. It should be replaced by point handle `scale1` mixin and `scaleInPixels`.
8991
- `useHandles` has been removed. It should be replaced by `setHandleVisibility`.
9092
- `resetAfterPointPlacement` is now false by default.
9193

0 commit comments

Comments
 (0)