[vtkusers] growing RAM memory
chasank
chasank at gmail.com
Sat May 21 13:37:00 EDT 2011
Use vtkSmartPointer to handle the memory in best way, it's simple usage is
like that;
vtkSmartPointer < vtkClass > vtkObj = vtkSmartPointer < vtkClass > :: New();
vtkSmartPointer, checks if an object is out of scope, it releases memory
resource taken for that object automatically.
--
View this message in context: http://vtk.1045678.n5.nabble.com/growing-RAM-memory-tp4346305p4415310.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list