[vtkusers] How to plot polygon on the sphere
David Doria
daviddoria at gmail.com
Sat Dec 18 08:54:47 EST 2010
On Sat, Dec 18, 2010 at 1:55 AM, DONG Li <dongli at lasg.iap.ac.cn> wrote:
> Dear all,
>
> I have calculated the Delaunay triangulation and Voronoi diagram of some data points on the SPHERE. How do I plot them on the sphere? The edge should be spherical great-circle. Any idea?
>
> Best regards,
>
> DONG Li
So you have a PolyData of a sphere (A) and a PolyData of some lines
that should be "on" the sphere (B)? I think you can just display both
of them but make the edges of (B) thicker and a different color:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/LineWidth
Maybe I misunderstood your goal?
David
More information about the vtkusers
mailing list