[vtkusers] bug in vtkXMLWriterC_SetCellsWithTypes ?

fred fredmfp at gmail.com
Fri Feb 16 20:15:38 EST 2007


Hi,

In vtkXMLWriterC.h, vtkXMLWriterC_SetCellsWithTypes is declared as

void vtkXMLWriterC_SetCellsWithTypes(vtkXMLWriterC* self,
                                     int* cellTypes, vtkIdType ncells,
                                     vtkIdType* cells, vtkIdType cellsSize);

I think the last argument should be read vtkIdType* cellsSize instead of
vtkIdType cellsSize, because if cells could have different type, they 
should have
different size.

Could someone confirm ? And fix, please ?

Thanks in advance.

Cheers,

-- 
/F




More information about the vtkusers mailing list