[vtkusers] create a polyData from selected cell

tasnim hanene-jeder at hotmail.fr
Fri May 18 11:57:25 EDT 2012


David Doria-2-3 wrote
> 
> On Fri, May 18, 2012 at 11:32 AM, tasnim <hanene-jeder@> wrote:
>> I get the same error showing me that my new data set hasn't triangles:
>> vtkLoopSubdivisionFilter (00A48070): vtkLoopSubdivisionFilter only
>> operates
>> on triangles, but this data set has no triangles to operate on.
> 
> We cannot help you if you do not post code. We (most likely) will not
> help you if you do not post short, compilable code. The conversation
> goes much better/faster if we can copy/paste/compile and see the
> error, try to fix it/determine what's wrong, and send it back to you.
> 
> David
> 
my "main" function works normally and gives me the sphere visualization.But,
when I pick on the sphere, directly, the error message is displayed. So I
deduced that the error comes from the last added code, in which I added
triangleFilter and subdivisionFilter. my program code is long, but i have to
put it as it is, in order that you can compile it and see the message error:
http://vtk.1045678.n5.nabble.com/file/n5712001/main_code.txt main_code.txt 

--
View this message in context: http://vtk.1045678.n5.nabble.com/create-a-vtkPolyData-from-selected-cell-tp5711827p5712001.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list