[vtkusers] vtkImageActor - changing display extent pb

Lisa Avila lisa.avila at kitware.com
Mon Sep 29 09:37:56 EDT 2003


Hi Dean,

Hmm, this does work (as long as your display extent has a length of 1 in 
one of the directions) It should produce an image that you are viewing from 
an edge in all but the sagittal view (given that your camera looks down the 
Z axis) Maybe something was wrong with your interaction?

Lisa



At 06:49 PM 9/27/2003, dean.inglis at camris.ca wrote:
>I am developing a simple ortho
>slice viewer app that makes use of
>1 render window, 1 renderer,
>1 vtkImageActor, i which a radio
>button group GUI element should toggle
>the views of a 3D MRI data set between
>saggital, axial, coronal views.  I only
>seem to get the saggital views (data is
>512x512x64 slices) regardless of how
>I set the display extent.  I have checked
>and see that SetDisplayExtent is being
>correctly called and acknowledged but
>the renderer simply displays an 'empty'
>scene.  Resetting the display extent back
>to a saggital view produces the corresponding
>correct image.  Are there a few other
>diagnostic checks I could make to figure this
>out?  I tried changing from vtkInteractorStyle image
>to trackball to see if I was just viewing on edge
>but that is not the case: there really is nothing
>there.
>
>Dean
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers






More information about the vtkusers mailing list