Skip to content

Commit

Permalink
docs(vtkaxesactor): update BREAKING_CHANGES.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LeviEyal authored and floryst committed Mar 25, 2024
1 parent 3000db2 commit cebd291
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions BREAKING_CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
- **ResliceCursorWidget.invokeInternalInteractionEvent(methodName)**: has been removed and should be replaced by `ResliceCursorWidget.invokeInteractionEvent(methodName)`.
- **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)`

- **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.

## From 28.x to 29

- **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))
Expand Down Expand Up @@ -83,9 +85,9 @@ SplineWidget's handles now scale up automatically.

## From 19.x to 20

In ShapeWidget:
- `setLabelTextCallback` is replaced by `text` substate.
- `setPixelScale` has been removed. It should be replaced by point handle `scale1` mixin and `scaleInPixels`.
In ShapeWidget:
- `setLabelTextCallback` is replaced by `text` substate.
- `setPixelScale` has been removed. It should be replaced by point handle `scale1` mixin and `scaleInPixels`.
- `useHandles` has been removed. It should be replaced by `setHandleVisibility`.
- `resetAfterPointPlacement` is now false by default.

Expand Down

0 comments on commit cebd291

Please sign in to comment.