[vtkusers] Retrieve poligonal data after delaunay triangulation

Samuel Marcos godofredoiii at gmail.com
Thu May 10 02:49:24 EDT 2007


Hi again. Still not able to cas the vtk array of triangles to a c++ regular
int array. Also I would like to ask if anyone knows how to use the transform
filter to change the projection plane in delaunay2D. What I would like to do
is make two delaunay2D triangulations with different projection planes over
a single set of 3D points. Many thanks

On 5/7/07, Godofredo <godofredoiii at gmail.com> wrote:
>
>
> 1st of all, many thanks. I'm using C++ so the example cells.tcl gives me
> an
> idea but doesn't help me as much as I need. Let me explain a little
> further.
> What I want to do is to make two delaunay 2D triangulations in two
> different
> porjection planes to a set of 3D points which are collected from a 3d
> scanner. The triangulation is part of a bigger application which at the
> end
> is going save data as a vrml file but not just after the triangulation.
> Thats why I would like to obtain data from the vtk part of code as arrays
> of
> points and triangles if it was possible.
>
>
> Luca Pallozzi Lavorante wrote:
> >
> > Godofredo,
> > the vtkVRMLExporter class will generate a VRML file for you. Its input
> is
> > a
> > vtkRenderWindow instance, as it exports the entire scene.
> > Have a look at the example Rendering/Testing/Tcl/cells.tcl, as well as
> the
> > vtkVRMLExporter online documentation.
> >
> >    Luca
> >
> >
> > On 5/4/07, Godofredo <godofredoiii at gmail.com> wrote:
> >>
> >>
> >> Hi. I'm making a Delaunay2D triangulation over a set of 3D point cloud.
> >> I've
> >> followed some examples and managed to do it. What I would like to do
> now
> >> is
> >> to obtain the triangles and vertex of the triangulation as arrays. I'm
> >> new
> >> with vtks so there's a lot of knowledge I'm missing. Is there a way to
> >> obtain triangles and vertex as a vrml fashion for example? I mean,
> points
> >> coordinates and triangle vertex index to that points? Hope I've
> explained
> >> myself. Thanks in advance.
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Retrieve-poligonal-data-after-delaunay-triangulation-tf3691278.html#a10320141
> >> Sent from the VTK - Users mailing list archive at Nabble.com.
> >>
> >> _______________________________________________
> >> 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
> >>
> >
> > _______________________________________________
> > 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
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Retrieve-poligonal-data-after-delaunay-triangulation-tf3691278.html#a10353077
> Sent from the VTK - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070510/398060db/attachment.htm>


More information about the vtkusers mailing list