You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The <View> component needs to create and expose a vtkWidgetManager.
A new component, <ImageCroppingWidget> needs to be created. It can grab the View component ref from the ViewContext context, which gives access to the vtkRenderer and vtkWidgetManager.
@floryst If I wanted to also control the values programmatically (rather than the green spheres on the canvas), is there a way for this as well or should I use something other than the widget? Right now I'm thinking of extracting necessary refs and attaching CropFilter
Hi,
I would like to add cropping tool to react-vtk-js in a similar fashion as the CropTool works in Glance with ImageCroppingWidget.
For more context, it is meant to be added to the volume rendering example.
Any pointers on what would be the best way to go about it with react-vtk-js?
The text was updated successfully, but these errors were encountered: