[vtkusers] Need help for modification in vtkFeatureEdges !

Sebastien Auclair sxa at fluent.com
Mon Jun 2 15:46:07 EDT 2003


Looks like it works just great !

Provided that a SetDivision (0,0,0) is also used to avoid having 500 K used
for each vtkFeatureEdges instances.

Thanks for your help Wesley !

__________________________________
Seb


----- Original Message -----
From: "Turner, Wesley D (Research)" <turner at crd.ge.com>
To: "'Sebastien Auclair'" <sxa at fluent.com>; <vtkusers at public.kitware.com>
Sent: Monday, June 02, 2003 12:18 PM
Subject: RE: [vtkusers] Need help for modification in vtkFeatureEdges !


> Sebastien,
>
> I don't know if this helps, but I had a similar problem with a VTK filter
> and solved it much easier by just defining a vtkNullLocator.  The locator
> does nothing on an InsertUniquePoint, except to do an InsertNextPoint.
I.e.
> no merging occurs because every point is assumed to be unique.  Then given
a
> vtkFeatureEdges instantiation, f, and a vtkNullLocator instantiation n,
you
> would just do f->SetLocator(n).  I have included the code below, if it
looks
> to be of general interest, it can be checked into the repository.
>
>
>
> -----Original Message-----
> From: Sebastien Auclair [mailto:sxa at fluent.com]
> Sent: Monday, June 02, 2003 11:49 AM
> To: vtkusers at public.kitware.com
> Subject: [vtkusers] Need help for modification in vtkFeatureEdges !
>
>
> Greetings,
>
> As said last week, vtkFeatureEdges needs to be modified to eliminate the
> fact that it uses vtkMergePoints the "slow\memory costly" operation that
> isn't necessary. (Merging points !)
>
> I just need a bit of help for line 331 and the re-implementation of the
> function FeatureEdges::InsertUniquePoint(...) which is now localy
> implemented.
> I guess it just need to provide a point index ... but i am not sure how to
> do that efficiently.
>
> The vtk (.h, .cxx) files and classes were temporarly renamed to facilitate
> our compilation process...
>
> We would need this for today so if someone could help it would be "Really"
> great !!
>
> Thanks for any help !
>
> (See attachments )
> _____________________________________
> Seb
>
>
>




More information about the vtkusers mailing list