[vtkusers] Fill vtkPolyData with externally triangulated data.
David Doria
daviddoria at gmail.com
Fri Jan 6 08:24:03 EST 2012
On Fri, Jan 6, 2012 at 12:27 AM, rakesh patil <prakeshofficial at gmail.com> wrote:
> Hi,
>
> I have externally triangulated data in the following form:
>
> x, y, z
> ...
> ...
> ...
>
> idx1, idx2, idx3
> ...
> ...
> ...
>
> where (x,y,z) specify's points. and idx1, idx2, idx3 are indices of
> triangles. Using these data, how can I fill a vtkPolyData, so that contours
> can be generated and displayed?
>
> Thanks in advance
>
> Ragards
> Rakesh Patil
This should get you started:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Triangle
David
More information about the vtkusers
mailing list