[vtkusers] vtkFeatureEdges AND vtkPointLocator ...

Sebastien Auclair sxa at fluent.com
Wed May 28 13:58:05 EDT 2003


Why does vtkFeatureEdges needs to merge points in the first place.
In our case, the dataset we display don't have duplicated points.
Is there a way to go around this merging stuff ?

What appends if i use SetLocator( vtkPointLocator* locator) set with
Divisions  == 1x1x1 ?

Thanks !
______________________________
Seb

----- Original Message -----
From: "Will Schroeder" <will.schroeder at kitware.com>
To: "Sebastien Auclair" <sxa at fluent.com>; <vtkusers at public.kitware.com>
Sent: Wednesday, May 28, 2003 10:54 AM
Subject: Re: [vtkusers] vtkFeatureEdges +memory problem = problem found, no
solution yet !


> Off the top of my head I think what you can do is create your own
> vtkPointLocator and assign it to the vtkFeatureEdges instance with
> SetLocator. Create the locator with Divisions set to (5,5,5) or whatever
> rather than the default (50,50,50). This will cut memory use at the cost
of
> extra time to merge points.
> Will
>
> At 10:41 AM 5/28/2003 -0400, Sebastien Auclair wrote:
> >Will need a VTK GURU for this one !
> >When using vtkFeatureEdges, we indirectly use vtkPointLocator.
> >This class initiates a list of 125000 vtkIdListPtr !!! (This takes 500 K
.)
> >
> >See line 1343 ::=   this->HashTable = new
> >vtkIdListPtr[this->NumberOfBuckets];
> >In function vtkPointLocator::InitPointInsertion()
> >
> >But i was wrong on one thing, this gets to be released when the
> >vtkFeatureEdges is Deleted... But still, vtkFeatureEdges instances takes
too
> >much space.
> >We need to generate thousands of vtkFeatureEdges instances.... if they
take
> >500 K each ,... you know !
>
>
> William J. Schroeder, Ph.D.
> Kitware, Inc.
> 469 Clifton Corporate Parkway
> Clifton Park, NY 12065
> will.schroeder at kitware.com
> 1-518-371-3971 x102 (phone)
> 1-518-371-3971 (fax)
>
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list