[vtkusers] Displaying Triangles in VTK
Nicholas Kinar
n.kinar at usask.ca
Mon Jan 21 09:41:13 EST 2008
I'll try the STL file format, Mike, and then work with the vtk polydata. Thanks
for pointing me in both of the right directions.
Nicholas
Quoting Mike Jackson <imikejackson at gmail.com>:
>
> 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