[Insight-users] using reader as global variable

john smith mkitkinsightuser at gmail.com
Sun May 29 06:11:43 EDT 2011


Hello to all,

I am using a function in which I am loading a 3D image volume using a
reader,as it seems bellow:

void MainWindow::push_button_File()
{
      ReaderType::Pointer reader = ReaderType::New();
{

how could use this reader as a global variable in order to use the same 3D
volume in an other function?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110529/c674aea9/attachment.htm>


More information about the Insight-users mailing list