[vtkusers] how can I visualize a circular nut with VTK ?

luciangoron luciangoron at gmail.com
Thu May 14 08:58:25 EDT 2009


http://www.nabble.com/file/p23540071/e.g.jpg e.g.jpg 

as in the image I uploaded...

I tried to do it with help of the vtkDiskSource class.. but I could not set
the center, or set the number o sides (to be smooth as a circle)

I also tried using vtkRegularPolygonSource class.. by visualizing two
circles (big one + small one) with the same center
the big one (with bigger radius) to be at 100% Opacity ( SetOpacity(1.0) )
the small one (with smaller radius) to be at 0% Opacity ( SetOpacity(0.0) )
but the Renderer show the Opacity of the big circle... as it actually should
be !

If anybody has a solution, please answer me...

Thank you in advance !
-- 
View this message in context: http://www.nabble.com/how-can-I-visualize-a-circular-nut-with-VTK---tp23540071p23540071.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list