[vtkusers] Display slices at the same depth with vtkImageViewer2
Carl Trapani
carl at skytopsoftware.com
Thu Oct 9 09:01:53 EDT 2008
Hi France,
I'm a beginner with VTK, but I also need to animate objects in my
project. I'm not at that point yet, but I have noticed the following two
classes:
vtkAnimationCue
http://www.vtk.org/doc/release/5.2/html/a00060.html
vtkAnimationScene
http://www.vtk.org/doc/release/5.2/html/a00062.html
There are no examples referenced in the documentation, but perhaps a
search of the list will generate some leads? I (and probably others)
would love to see any examples that you might get working posted to the
list.
Hope that helps,
Carl
France Laliberte wrote:
> Hi all,
>
> In the documentation for vtkImageViewer2 it is written "Each call to
> SetSlice() changes the image data (slice) displayed AND changes the
> depth of the displayed slice in the 3D scene."
>
> Is there a way to change the image data (slice) BUT NOT THE DEPTH? I
> would like to display every slice of my image volume at the same
> depth. I have an isosurface model in my scene and I would like each
> slice of my image volume to be displayed at the same depth in
> relation to this volume (I am displaying each slice one after the
> other, like a video
> instead than an image volume).
>
> I have tried using vtkImageActor alone without vtkImageViewer2 and
> also inserting vtkImageClip but the slices are always displayed at
> different depths.
>
> Any help would be appreciated.
>
> France
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
--
Carl Trapani (carl at skytopsoftware.com)
Skytop Software (http://www.skytopsoftware.com)
32 Washington St., Suite 222
Camden ME 04843
(207) 975-1685
More information about the vtkusers
mailing list