[Imstk-developers] Line mesh connectivity

Milef, Nicholas Boris milefn at rpi.edu
Fri Oct 27 10:17:08 EDT 2017


Right now, the LineMeshRenderDelegate behaves differently than the LineMesh geometry class implies. You can build a line mesh without connectivity information, and it still displays a valid line mesh. Meanwhile, the connectivity information seems to have no effect on the visual mesh itself.
________________________________
From: Alexis Girault [alexis.girault at kitware.com]
Sent: Thursday, October 26, 2017 9:23 AM
To: Sreekanth Arikatla
Cc: Milef, Nicholas Boris; imstk-developers at imstk.org
Subject: Re: [Imstk-developers] Line mesh connectivity


LineSource is a filter that uses two points to create a PolyLine. PolyLine is a 1D cell. If the filter does not do enough and you need to create a PolyLine that goes through multiple points, you might have to create your own filter (just a callback really) to update a PolyLine when you add points

On Thu, Oct 26, 2017, 09:19 Sreekanth Arikatla <sreekanth.arikatla at kitware.com<mailto:sreekanth.arikatla at kitware.com>> wrote:
vtkLineSource is being used inside the render delegate but I believe the right one is vtkPolyLine which is meant for a line passing through a bunch of points in the given order like in this example<https://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/PolyLine>.

On Wed, Oct 25, 2017 at 5:23 PM, Milef, Nicholas Boris <milefn at rpi.edu<mailto:milefn at rpi.edu>> wrote:
Is the line mesh connectivity used for anything? I'm looking in the line mesh render delegate for VTK, and the connectivity info doesn't appear to be used anywhere.

_______________________________________________
Imstk-developers mailing list
Imstk-developers at imstk.org<mailto:Imstk-developers at imstk.org>
http://public.kitware.com/mailman/listinfo/imstk-developers




--
Sreekanth Arikatla, Ph.D.,
Senior R&D Engineer,
Kitware, Inc.<http://www.kitware.com>, Carrboro, NC.

_______________________________________________
Imstk-developers mailing list
Imstk-developers at imstk.org<mailto:Imstk-developers at imstk.org>
http://public.kitware.com/mailman/listinfo/imstk-developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/imstk-developers/attachments/20171027/d38d7dbd/attachment.html>


More information about the Imstk-developers mailing list