[vtkusers] Re: dashed line????

Goodwin Lawlor goodwin.lawlor at ucd.ie
Tue Oct 4 17:24:35 EDT 2005


Renaud Isabelle wrote:
> Hi all,
>  
> Does anyone know how to draw a dashed line from a vtkPolyData as input?.
>  
> Indeed, for now, I got a spline (vtkParametricSpline) passing through my 
> control points and mappered with a solid line (vtkPolyDataMapper): I 
> would like my spline to be mappered with a dashed line instead.
>  
> Any idea?
>  
> Thanks for help

Hi Isabelle,

Have a look at vtkProperty::SetLineStipplePattern(int) ... try an int 
value of 65280 (1111111100000000)

hth

Goodwin




More information about the vtkusers mailing list