I am not seeing an option to select a region of interest for my data. I am unsure as to whether that is as expected.
It works when trying the example: itkwidgets/SelectRegionOfInterest.ipynb at master · InsightSoftwareConsortium/itkwidgets · GitHub
Below is a snippet of my code:
view = itkwidgets.view(geometries=None, background=[0.0, 0.0, 0.0]) sphere_src = vtk.vtkSphereSource() sphere_src.SetRadius(radius) glyphs = vtk.vtkGlyph3D() glyphs.ScalingOff() glyphs.SetSourceConnection(sphere_src.GetOutputPort()) glyphs.SetInputData(data) ... glyphs.Update() view.geometries = glyphs.GetOutput()