MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #32331 All Revisions ] Back to Issue ]
Summary 0032331: VIS - Exception when trying to display some surfaces using iVtk with VTK 9
Revision 2021-07-07 09:47 by kgv
Description Visualization of some surfaces (such as Sphere, Torus, Cone with apex) leads to an exception, when trying to display it via iVtk. This problem appeared after upgrade to VTK 9, cause vtkPolyData and vtkCellData were strongly reworked.

Problem is located in IVtkTools_SubPolyDataFilter::RequestData(), and is caused by incorrect memory allocation in anOutput->Allocate(anInput, anIdList->GetNumberOfIds()) with an exception in anOutput->CopyCells (anInput, anIdList) when trying to insert a cell to unallocated array.

It seems this is a REGRESSION in VTK itself caused by incorrect rounding math.
One of similar references:
https://gitlab.kitware.com/vtk/vtk/-/issues/18184 [^]
Revision 2021-04-26 14:09 by anv
Description Visualization of some surfaces (such as Sphere, Torus, Cone with apex) leads to an exception, when trying to display it via iVtk. This problem appeared after upgrade to VTK 9, cause vtkPolyData and vtkCellData were strongly reworked.

Problem is located in IVtkTools_SubPolyDataFilter::RequestData, and is caused by incorrect memory allocation in anOutput->Allocate(anInput, anIdList->GetNumberOfIds()) with an exception in anOutput->CopyCells (anInput, anIdList) when trying to insert a cell to unallocated array.


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker