[vtkusers] generating Line mesh from points
Alex Malyushytskyy
alexmalvtk at gmail.com
Wed Jun 26 20:35:47 EDT 2013
I am not sure I understand the problem.
In the example (http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/LongLine)
a single cell is created from each 2 points.
if you want an actor per 2 points, you just need to modify the code.
Alex
On Wed, Jun 26, 2013 at 12:39 PM, Piyusha <gadepiyusha at gmail.com> wrote:
> Right. I did try that, but my problem is that I have open ended lines. Say
> I
> have 1000 start points and 1000 end points, so instead of getting 1000
> lines, I get one continuous line.
> Is there a way to get 1000 different lines?
>
> Thanks,
> Piyusha
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/generating-Line-mesh-from-points-tp5721576p5721626.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130626/11d925c6/attachment.htm>
More information about the vtkusers
mailing list