[vtkusers] Strips "triangulated" back into polys?
Amy Squillacote
amy.squillacote at kitware.com
Tue Apr 12 10:15:02 EDT 2005
Try vtkTriangleFilter.
- Amy
At 09:58 AM 4/12/2005, Jeremy Winston wrote:
>Hi Folks,
> vtkSTLWriter only likes polys;
>it ignores triangle strips:
>
> void vtkSTLWriter::WriteData()
> {
> ...
> polys = input->GetPolys();
> pts = input->GetPoints();
> if (pts == NULL || polys == NULL )
> {
> vtkErrorMacro(<<"No data to write!");
> return;
> }
> ...
>
>Is there a filter that "un-strips" a triangle
>strip back into triangles?
>
>(And the answer to the obvious question is that
>the .vtk files being converted to STL files by
>vtkSTLWriter are created by code oustide of my
>control. ;-)
>
>TIA,
>-Jeremy
>_______________________________________________
>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
More information about the vtkusers
mailing list