[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtkusers
Subject:    Re: [vtkusers] vtkImageViewer2 Display problems
From:       zagwin <zagwin () gmail ! com>
Date:       2015-05-29 18:24:20
Message-ID: 1432923860660-5732061.post () n5 ! nabble ! com
[Download RAW message or body]

I figured out how to solved the first problem. just need to add
"m_image->Modified();"
I am still confused about the second problem, does anybody can tell me why
or give me a suggestion where I can find the answer? Thanks


zagwin wrote
> void MainWindow::ProcessData()
> {
> 	..........
> m_image->Modified();
> .......................
> 	image_view->SetInputData(m_image);
> 	image_view->GetRenderer()->ResetCamera();
> 	image_view->Render();
> }





--
View this message in context: \
http://vtk.1045678.n5.nabble.com/vtkImageViewer2-Display-problems-tp5732050p5732061.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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic