[vtkusers] vtkFeatureEdges +memory problem =  problem  found, no solution yet !
    Will Schroeder 
    will.schroeder at kitware.com
       
    Wed May 28 10:54:01 EDT 2003
    
    
  
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) 
    
    
More information about the vtkusers
mailing list