[Paraview] How can I tell that Allocate succeeded?

John R. Cary cary at txcorp.com
Sat Aug 23 16:11:10 EDT 2008


For a paraview plugin:

After

  vtkUnstructuredGrid* ugridPtr = vtkUnstructuredGrid::New();
  ...
  ugridPtr->Allocate(ncells);

is there a way to tell whether the allocation succeeded?


Thx...John Cary


More information about the ParaView mailing list