[vtkusers] int instead of vtkIdType

David Doria daviddoria at gmail.com
Sun Feb 15 17:03:03 EST 2009


It seems that vtkIdType is the expected type for indices. ie
void GetTupleValue (vtkIdType i, unsigned char *tuple)

I usually do

unsigned char *tuple;

for(int i = 0; i < something; i++
   GetTupleValue (i, tuple);

Is this a bad idea?

Thanks,

David



More information about the vtkusers mailing list