[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtkusers
Subject:    Re: [vtkusers] [vtk-developers]  vtkPolyData,NvTriStripper problem
From:       "Moreland, Kenneth" <kmorel () sandia ! gov>
Date:       2008-07-28 14:49:20
Message-ID: C4B33890.4AA4%kmorel () sandia ! gov
[Download RAW message or body]

I don't think there is enough information here to say for sure what is
wrong.  You may be writing the indices wrong to vtkCellArray.  You may be
passing the vtkCellArray to vtkPolyData::SetPolys instead of
vtkPolyData::SetStrips.

I recommend looking through the code of vtkStripper, which does the exact
same thing as the filter you are trying to write except that it provides its
own triangle stripping algorithm.

-Ken


On 7/28/08 1:38 AM, "hagbard23" <philipp.huebner@freenet.de> wrote:

>
>
> Hello together...
>
> ive got a problem and i hope to find a solution here.
>
> I tried to write a vtk Filter wrapping around NvTriStripper....so i took the
> indeces of the in-polydata, stripped it and set it to the output poly while
> i pass the points....in my understanding this is all to do for telling the
> out polydata about its mesh connectivity...bnut it dont works. There r alot
> of ugly broken triangles.....what have i forget?
>
> thx
> --
> View this message in context:
> http://www.nabble.com/vtkPolyData%2CNvTriStripper-problem-tp18685516p18685516.
> html
> Sent from the VTK - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> vtk-developers mailing list
> vtk-developers@vtk.org
> http://www.vtk.org/mailman/listinfo/vtk-developers


_______________________________________________
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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic