[vtkusers] calling destructors
sebastien.jourdain at kitware.com
Thu Aug 25 09:00:29 EDT 2011
If this->imageData is a smart pointer, the delete will happen
automatically once it get out of scope.
But if you really want to delete the object at that point, you can do
something like that as well.
this->imageData = NULL;
On Thu, Aug 25, 2011 at 7:28 AM, Jothy <jothybasu at gmail.com> wrote:
> Hi all,
> This is c++ question rather than a vtk one, sorry for that.
> If I use
> Should I call
> this-imageData->Delete() in the destructor of the class?
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> Please keep messages on-topic and check the VTK FAQ at:
> Follow this link to subscribe/unsubscribe:
More information about the vtkusers