Kitware / react-vtk-js

Declarative library exposing vtk.js visualization pipeline as React components
https://kitware.github.io/react-vtk-js/
77 stars 24 forks source link

Get Slice bounds for a vti file #88

Closed Asilbec closed 1 year ago

Asilbec commented 1 year ago

Is it possible to get the bounds for a slice representation? For example the kSlice max value might be 200 but the iSlice max value could be 100. What is the best way to get the bounds for these slices?

floryst commented 1 year ago

You can access that information via imageData.getExtent().