Skip to content

Commit

Permalink
docs(breakingchanges): add breaking changes docuentation between 23 a…
Browse files Browse the repository at this point in the history
…nd 24
  • Loading branch information
finetjul committed May 18, 2022
1 parent 24ce962 commit b5b1c22
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion BREAKING_CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## From 23.x to 24

All old-style widgets except OrientationMarkerWidget and PiecewiseGaussianWidget have been removed.
- All old-style widgets except OrientationMarkerWidget and PiecewiseGaussianWidget have been removed.

| **Old-style/deprecated widget** | **New-style widget** |
|-----------------------------------|---------------------------------|
Expand All @@ -15,6 +15,16 @@ All old-style widgets except OrientationMarkerWidget and PiecewiseGaussianWidget
| ResliceCursor | ResliceCursorWidget |

- In SVGLandmarkRepresentation: `model.showCircle` is replaced by `model.circleProps.visible`
- In vtk.js subclasses, prefix with '_' the following "protected" model variables:
- vtk*: model.openglRenderWindow -> model._openglRenderWindow
- vtk*: model.openglRenderer -> model._openglRenderer
- vtkInteractorObserver, vtkOrientationMarkerWidget : model.interactor -> model._interactor
- vtkAbstractWidget, vtkViewNode: model.parent -> model._parent
- vtkProp: model.parentProp -> model._parentProp
- vtkRenderWindowInteractor: model.view -> model._view
- vtkRenderer: model.renderWindow -> model._renderWindow
- vtkHardwareSelector: model.renderer -> model._renderer
- vtkAbstractWidget: model.widgetManager -> model._widgetManager

## From 22.x to 23

Expand Down

0 comments on commit b5b1c22

Please sign in to comment.