Fw: [vtkusers] how to speed up vtkPolyData->GetCell(index) ?

sebastien MARAUX maraux at ondim.fr
Mon Dec 23 10:28:53 EST 2002


allright, this is a _good_ advice.

Seems that I have things to learn
about vtkPolyData finally ;)

I usually look carefully at methods list, 
but didn't think about vtkCellArray, as
it is mentionned in detailed desc. section.

I thought you was asking me to read the whole
vtkPolyData page, and didn't catch
that your tip was more "specific".

My apologizes.

Thank you.

Seb

> ----- Original Message ----- 
> From: "Jeremy Winston" <winston at cat.rpi.edu>
> To: "sebastien MARAUX" <maraux at ondim.fr>
> Cc: "vtkusers" <vtkusers at public.kitware.com>
> Sent: Monday, December 23, 2002 3:27 PM
> Subject: Re: [vtkusers] how to speed up vtkPolyData-GetCell(index) ?


> sebastien MARAUX wrote:
> > [...]
> > Any Idea, other than reading vtkPolyData, that I most
> > know from A o Z?
> 
> The InitTraversal() and GetNextCell() methods are O(1),
> whereas the GetCell() method is at least O(N).
> 
> Why are you averse to reading vtkPolyData?
> 
> -Jeremy
> 





More information about the vtkusers mailing list