[vtkusers] How to correctly represent a polygon
Paulo José Correia Bernardes
pbernardes at uaum.uminho.pt
Wed Feb 15 17:48:28 EST 2012
Hi,
Im a very inexperienced VTK-user and Im facing a small problem.
Im trying to represent an arbitrary polygon using VTKPolygon. First, I read
the 3D points from a .xyz file (each line is a 3D point). The points are
stored in an instance of vtkPoints and afterwards the polygon is constructed
using VTKPolygon.
However, the resulting polygon has some strange rendering effects, as you
can see in the attached jpg-file.
Can someone please explain me what Im probably doing wrong and the correct
steps I should take?
Thank you very much!
Yours,
Paulo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120215/d55b18a3/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VTK_Polygon.jpg
Type: image/jpeg
Size: 145652 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120215/d55b18a3/attachment.jpg>
More information about the vtkusers
mailing list