[vtkusers] Re: draw a circle
Zhang, Kewu (GE Healthcare, consultant)
kewu.zhang at ge.com
Tue Nov 14 15:35:59 EST 2006
tks.
virtual void vtkRegularPolygonSource::GeneratePolylineOn ( )
[virtual]
"Control whether a polyline is produced. By default, GeneratePolyline is
enabled"
Also, the normal problem still exist
Did I miss something?
Appreciate!
-----Original Message-----
From: vtkusers-bounces+kewu.zhang=ge.com at vtk.org
[mailto:vtkusers-bounces+kewu.zhang=ge.com at vtk.org] On Behalf Of Goodwin
Lawlor
Sent: Tuesday, November 14, 2006 3:07 PM
To: vtkusers at public.kitware.com
Subject: [vtkusers] Re: draw a circle
Zhang, Kewu (GE Healthcare, consultant) wrote:
> hi, guys.
>
> When I try to draw a circle, I used vtkDiskSource, by setting the
> inner redius and out radius, i can get a circle. but the bad thing is:
> the circle is 3 dimensional, if I do the flip operation (view the
> circle from the other side), I only can see a black circle, since the
> normal problem.
> then I tried the vtkregularPolygonSource to draw, I got a disk with
> the same normal problem addressed above.
>
> does anyone have a better solution?
When you're using vtkRegularPolygonSource make sure that you set the
GeneratePolylineOn flag on.
hth
Goodwin
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ Follow this link to
subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list