[vtkusers] How to draw dash dot lines and circle?

John Biddiscombe biddisco at cscs.ch
Thu Apr 20 07:50:12 EDT 2006


vtkProperty2D

   // Description:
   // Set/Get the stippling pattern of a Line, as a 16-bit binary pattern
   // (1 = pixel on, 0 = pixel off).
   // This is only implemented for OpenGL. The default is 0xFFFF.
   vtkSetMacro(LineStipplePattern,int);
   vtkGetMacro(LineStipplePattern,int);


hp.shen wrote:
> Hi, all
> 
>  
> 
> I have to questions.
> 
> 1)    How to draw dash/dash-dot lines in VTK
> 
> 2)    With vtkQuadric I  drawed a circle , and it’s a solid line circle. 
> While what I want is a dash line circle. So, is it possible to draw a 
> dash line circle in VTK?
> 
>        Or is there other ways to draw a circle?
> 
>  
> 
> Many thanks in advance.
> 
>  
> 
>        peace
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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


-- 
John Biddiscombe,                            email:biddisco @ cscs.ch
http://www.cscs.ch/about/BJohn.php
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82




More information about the vtkusers mailing list