[vtkusers] Re: vtkImagePlaneWidgets texture update

Dean Inglis dean.inglis at camris.ca
Tue Feb 22 10:21:53 EST 2005


Hi Stefan, 

One solution is to force the renderer 
with the face on view ipw to reset 
its camera position (ResetCamera) 
using a callback tied to the 3D ipw's in the 
one main renderer.  This should force the 
face on view ipw to be centered in the renderer's
viewport after every chnage in spatial position.
The other solution is to not use 3 more ipw's:
use an vtkImageActor for each of the individual slice 
face on views 
(see Hybrid/Testing/Cxx/TestImagePlaneWidget.cxx).

Dean





More information about the vtkusers mailing list