[vtkusers] mesh subdivision

NsPx nspx.roronoa at gmail.com
Tue Aug 28 11:29:30 EDT 2012


Le 28/08/2012 17:27, Dženan Zukić a écrit :
> NsPx, decimation is quite the opposite of mesh subdivision. Decimation 
> reduces complexity (simplifies the mesh), while subdivision increases 
> number of vertices, edges and faces.
>
> On Tue, Aug 28, 2012 at 3:07 PM, David Doria <daviddoria at gmail.com 
> <mailto:daviddoria at gmail.com>> wrote:
>
>     On Tue, Aug 28, 2012 at 9:02 AM, NsPx <nspx.roronoa at gmail.com
>     <mailto:nspx.roronoa at gmail.com>> wrote:
>
>         Hi all,
>
>         I would like to decimate a mesh using a criterion (let's say
>         "edge length <=1").
>
>         By searching through the documentation, I find the only way is
>         to use vtkStreamingTesselator coupled with
>         vtkEdgeSubdivisionCriterion but I don't really understant how
>         to use it.
>
>         Mainly, I can't pass a vtkPolyData, I have to use it cell
>         (triangle) by cell ? How can I use the callabacks ?
>         Can someone provide some example ?
>
>         Thanks by advance.
>
>
>     There are a few subdivision techniques available:
>     http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/Subdivision
>
>     Will any of those suit your needs?
>
>     To your second question (very separate from the first, no?) - you
>     can find an example of using a callback here:
>     http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/KeypressObserver
>
>     David
>
>     _______________________________________________
>     Powered by www.kitware.com <http://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
>
>
Sorry for my mistake, I'm talking about subdivision of course !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120828/bca4b648/attachment.htm>


More information about the vtkusers mailing list