MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0008208 | VTK | (No Category) | public | 2008-12-02 08:55 | 2016-08-12 09:55 |
| Reporter | FSI | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | feature | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Project | |||||
| Type | |||||
| Summary | 0008208: vtkPolyDataReader produces wrong InsertLocation for vtkCellArray | ||||
| Description | Hallo, 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. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://www.vtk.org/Bug/file/6885/FailurePolyDataReader.py https://www.vtk.org/Bug/file/6886/testGrid.vtk | ||||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||