View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012628VTK(No Category)public2011-10-04 12:452016-07-06 12:20
ReporterKarl R. 
Assigned ToDave DeMarle 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version5.6.1 
Target VersionFixed in Version 
Summary0012628: PolyData::Reset() does not reset cell-ids
DescriptionI'm triangulating Pointclouds of a Surfacescanner near realtime. 3D-Video perhaps.
I allocate memory for Points and Polydata once and call Reset() for each new Cloud.
In the method responsible for the display exist following lines of code:

    poly->Reset(); //make Object look empty without deleting memory
    poly->DeleteCells(); // <-- !!

Commenting the marked line out results in an Error:
    vtkIntArray cannot allocate 150000000 Objects of size 4Bytes.

The Problem:
    int MaxId of the Cells isn't reseted as one would expect.

    Call DeleteCells() manually.

I think its a bug. Excuse me if the form of this Post does not conform.

TagsNo tags attached.
Attached Files


Dave DeMarle (administrator)
2013-06-25 10:54

Karl would you be ale to see if the issue still exists in 5.10 and 6.0?
Dave DeMarle (administrator)
2013-07-22 12:46

Please feel free to reopen if you find this is not working in 6.0.0
Dave DeMarle (administrator)
2016-07-06 12:17

fix by commit 1e31faf4
Dave DeMarle (administrator)
2016-07-06 12:20

Fixed by Sujin in 1e31faf4

 Issue History
Date Modified Username Field Change
2011-10-04 12:45 Karl R. New Issue
2013-06-25 10:54 Dave DeMarle Note Added: 0031040
2013-07-22 12:46 Dave DeMarle Note Added: 0031156
2013-07-22 12:46 Dave DeMarle Status backlog => expired
2013-07-22 12:46 Dave DeMarle Resolution open => fixed
2013-07-22 12:46 Dave DeMarle Assigned To => Dave DeMarle
2014-10-04 20:32 Berk Geveci Status expired => backlog
2014-10-04 20:32 Berk Geveci Resolution fixed => reopened
2016-07-06 12:17 Dave DeMarle Note Added: 0036196
2016-07-06 12:17 Dave DeMarle Status backlog => closed
2016-07-06 12:17 Dave DeMarle Resolution reopened => fixed
2016-07-06 12:20 Dave DeMarle Note Added: 0036197

Copyright © 2000 - 2018 MantisBT Team