[vtkusers] error message in subdividing a cell

Darshan Pai darshanpai at gmail.com
Wed May 23 12:55:15 EDT 2012


you can use vtkTriangleFilter to triangulate the polydata and then play
with the subdivision

On Wed, May 23, 2012 at 12:49 PM, tasnim <hanene-jeder at hotmail.fr> wrote:

> Hi everybody,
> i create a program which creates a spheresource, then i select a cell,
> create a vtkPolyData from it, and try to subdivide it with the
> vtkLoopsubdivisionFilter.But, when I pick a cell, a message error appears:
>
>  *Warning: In C:\vtk-download\vtk
> source\Graphics\vtkLoopSubdivisionFilter.cxx, line 363
> vtkLoopSubdivisionFilter (019BAE58): vtkLoopSubdivisionFilter only operates
> on triangles, but this data set has no triangles to operate on. ERROR: In
> C:\vtk-download\vtk source\Filtering\vtkExecutive.cxx, line 756
> vtkStreamingDemandDrivenPipeline (019BB448): Algorithm
> vtkLoopSubdivisionFilter(019BAE58) returned failure for request:
> vtkInformation (019CD1B8) Debug: Off Modified Time: 3532 Reference Count: 1
> Registered Events: (none) Request: REQUEST_DATA FORWARD_DIRECTION: 0
> ALGORITHM_AFTER_FORWARD: 1 FROM_OUTPUT_PORT: 0*
>  This message shows that my new polyData didn't contain triangles.
> Any Help please, and thanks
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/error-message-in-subdividing-a-cell-tp5713334.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120523/933c3e6a/attachment.htm>


More information about the vtkusers mailing list