[vtkusers] create a vtkpolyData from selected cells!!
David Doria
daviddoria at gmail.com
Sun Aug 26 18:59:57 EDT 2012
On Sat, Aug 25, 2012 at 6:27 AM, tasnim <hanene-jeder at hotmail.fr> wrote:
> Good morning,
> I created a program which allows me to pick a cell from a mesh and retrieve
> its PointsNeighbors. After retrieving them, i tried to create a PolyData
> from it ( in order to apply the subdivision filter on it ), but when i build
> the program, i got this message:
> *ERROR: In C:\vtk-download\vtk source\Filtering\vtkExecutive.cxx, line 756
> vtkStreamingDemandDrivenPipeline (00992A68): Algorithm
> vtkExtractSelection(00291DC0) returned failure for request: vtkInformation
> (009A50C8) Debug: Off Modified Time: 2999 Reference Count: 1 Registered
> Events: (none) Request: REQUEST_DATA_OBJECT FORWARD_DIRECTION: 0
> ALGORITHM_AFTER_FORWARD: 1 FROM_OUTPUT_PORT: 0*
That code is not compilable. Please see this guideline for posting a
minimal, compilable, self-contained example:
http://www.vtk.org/Wiki/VTK/MinimalExample
David
More information about the vtkusers
mailing list