[vtkusers] sagittal and coronal views using vtkImageViewer

David Gobbi david.gobbi at gmail.com
Mon Mar 31 16:37:43 EDT 2014


Hi Sam,

The vtkImageViewer is just a simple 2D image viewer, and it cannot
do reformats.  You would have to reformat the image into sagittal or
coronal slices beforehand with vtkImageReslice.  An example of how
to do this is VTK/Examples/ImageProcessingCxx/ImageSlicing.cxx.

  David





On Mon, Mar 31, 2014 at 2:26 PM, Sam Raby <rabysam28 at gmail.com> wrote:
> Hello,
>
> I was wondering whether there is an example of using vtkImageViewer to
> visualize sagittal and coronal views? I can do this using vtkImageActor, but
> I do not know how to do this using vtkImageViewer.
>
> Any hint is appreciated.
> -S


More information about the vtkusers mailing list