[vtkusers] vtkUnstructuredGrid::Allocate() possible documentation error

Elvis Dowson elvis.dowson at mac.com
Mon Oct 6 17:28:14 EDT 2008


Hi,
          I can't seem to locate any information about  
vtkUnstructuredGrid::Allocate() in the vtkDataSet API methods. The  
documentation in the vtkUnstructuredGrid.h source states the following:

// Description:
   // Standard vtkDataSet API methods. See vtkDataSet for more  
information.
   int GetDataObjectType() {return VTK_UNSTRUCTURED_GRID;};
   virtual void Allocate(vtkIdType numCells=1000, int extSize=1000);

The documentation can be found in the vtkUnstructuredGrid.cxx file.

// Allocate memory space for data insertion. Execute this method before
// inserting any cells into object.
void vtkUnstructuredGrid::Allocate (vtkIdType numCells, int extSize)

Best regards,

Elvis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081007/3b05c6bf/attachment.htm>


More information about the vtkusers mailing list