[vtkusers] Displaying Triangles in VTK
Mike Jackson
imikejackson at gmail.com
Sun Jan 20 19:30:29 EST 2008
On Jan 20, 2008, at 4:54 PM, Nicholas Kinar wrote:
> Hello!
>
> I'm working with a dataset that is comprised of few thousand
> triangles. I have
> generated the points for each of the vertices {{X0, Y0, Z0}, {X1,
> Y1, Z1}, {X2,
> Y2, Z2}}, and I would like to efficiently render all of the
> triangles using VTK.
> Has anyone done this, and is it possible to obtain code for a
> simple example?
>
> Thank you!
>
> Nicholas
>
Probably not the most efficient, but if you can write an ASCII STL
file then that would be quick. Other wise you can look up the VTK
file format and write a vtk polydata file.
--
Mike Jackson Senior Research Engineer
Innovative Management & Technology Services
More information about the vtkusers
mailing list