[vtkusers] cleaning the memory used by a filter

Bruno bant1708 at yahoo.com.br
Tue Nov 16 13:16:47 EST 2004


Hi, all,

How can I clean the memory used by a filter whose release data flag is 
OFF?. For example (observe the comments):


     vtkImageThreshold *selectIsoValue = vtkImageThreshold::New();
     selectIsoValue->SetInput(InputData);
    ...... other processing

     selectIsoValue->ReleaseDataFlagOff(); // I don't want to turn it on
     selectIsoValue->Update();
 
    ...... other processing

     selectIsoValue->Delete(); // I thought that this command would 
clean the memory, but it doesn't.

thanks,

Bruno.
    



More information about the vtkusers mailing list