View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008208VTK(No Category)public2008-12-02 08:552016-08-12 09:55
ReporterFSI 
Assigned ToKitware Robot 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0008208: vtkPolyDataReader produces wrong InsertLocation for vtkCellArray
DescriptionHallo,

I am using vtkPolyData to manipulate Data, where for example I replace certain Cells and/or insert Cells at the end of the List. The manipulations work fine when I generate a grid from scratch.
A problem occurs when I want to read a Grid from a file and do the manipulations afterwards.

VTK-5.2.0

vtkPolyDataReader(), for example in line:
228: idArray = polys->WritePointer(ncells, size);

WritePointer initializes the InsertLocation to 0.
After the Data has been read the InsertLocation should be set to the end of the vtkCellArray.

I never used vtkUnstructureGrid before, but looking at the source code of the vtkUnstructuredGridReader all the signs are that the same problem will occur.

A python script with a testGrid is attached to demonstrate the issue of the InsertLocation in conjunction with the vtkPolyDataReader.
TagsNo tags attached.
Project
Type
Attached Files? file icon FailurePolyDataReader.py [^] (852 bytes) 2008-12-02 08:55
? file icon testGrid.vtk [^] (1,119 bytes) 2008-12-02 08:55

 Relationships

  Notes
(0037043)
Kitware Robot (administrator)
2016-08-12 09:55

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2008-12-02 08:55 FSI New Issue
2008-12-02 08:55 FSI File Added: FailurePolyDataReader.py
2008-12-02 08:55 FSI File Added: testGrid.vtk
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:55 Kitware Robot Note Added: 0037043
2016-08-12 09:55 Kitware Robot Status expired => closed
2016-08-12 09:55 Kitware Robot Resolution open => moved
2016-08-12 09:55 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team