[vtkusers] Problem vtkTriangleFilter not working with vtk-5.3.x

Dominik Szczerba dominik at itis.ethz.ch
Wed Nov 5 14:54:53 EST 2008


I would inspect the output from vtkGeometryFilter. At least check the 
number of cells, perhaps it is empty.

Dominik

Elvis Dowson wrote:
> Hi,
>        I'm using vtk-5.3.x and I have a problem trying to get 
> vtkTriangleFilter to work.
> 
> vtkGeometryFilter geom
>   geom DebugOn
>   geom SetInputConnection [surface1 GetOutputPort]
> 
> vtkTriangleFilter triangles
>    triangles DebugOn
>    triangles SetInput [geom GetOutput]
>    triangles Update
> 
> Gives the following output:
> 
> Debug: In 
> /Users/elvis/Tool/vtk-5.x/src/VTK/Graphics/vtkTriangleFilter.cxx, line 233
> vtkTriangleFilter (0x6131b70): Converted 0input cells to 0 output cells
> 
> The Geometry filter is doing its job I think, since it doesn't complain 
> in Debug mode and there is data in the pipeline upto the Geometry 
> filter, but the triangle filter is failing completely.
> 
> What could the reason for this be? Why is the triangle filter not working? 
> 
> Best regards,
> 
> Elvis Dowson
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

-- 
Dominik Szczerba, PhD
Computational Physics Group
IT'IS Foundation for Research
http://www.itis.ethz.ch



More information about the vtkusers mailing list