[vtkusers] How to clear vtkImageViewer2 window?

finsher zhuyinghua01 at gmail.com
Thu Dec 16 20:37:28 EST 2010


After i SetInput(NULL) with vtkImageViewer2 and reset the camera the
vtkImageViewer2 window also display the image !
any suggestion?


Lars Friedrich Lars wrote:
> 
> Hello,
> 
> as far as I can remember this thread
> 
> http://vtk.1045678.n5.nabble.com/QVTK-issue-with-vtkImageViewer2-td1235984.html#a1235985
> 
> answers the question more or less.
> 
> HTH,
> lars
> 
> -------- Original-Nachricht --------
>> Datum: Thu, 16 Dec 2010 00:57:39 -0800 (PST)
>> Von: finsher <zhuyinghua01 at gmail.com>
>> An: vtkusers at vtk.org
>> Betreff: [vtkusers] How to clear vtkImageViewer2 window?
> 
>> 
>> Hi, folks,
>> i want to clear the window and change the images, how to do that?
>> i try to  GetRender()->Clear(), and set the vtkImageViewer2's Input data
>> to
>> NULL,
>> but the window still has images.
>> has any suggestion?
>> 
>> Thanks.
>> Finsher.
>> -- 
>> View this message in context:
>> http://vtk.1045678.n5.nabble.com/How-to-clear-vtkImageViewer2-window-tp3307592p3307592.html
>> Sent from the VTK - Users mailing list archive at Nabble.com.
>> _______________________________________________
>> Powered by www.kitware.com
>> 
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>> 
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>> 
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
> 
> -- 
> Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
> Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 
> 

-- 
View this message in context: http://vtk.1045678.n5.nabble.com/How-to-clear-vtkImageViewer2-window-tp3307592p3308857.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list