[vtkusers] Pen Styles for vtkPolyDataSource

Karthik Krishnan karthik.krishnan at kitware.com
Mon Jul 28 17:30:23 EDT 2008


Check out the vtkInteractorStyleRubberbandZoom::OnMouseMove().. and 
TestRubberBandZoom-image

It achieves the stipple pattern and the highlight inside with clever 
little bitwise operations.

John Eke wrote:
> Hi,
>
> I was wondering, after drawing a polygon with vtkPolyDataSource, how 
> can one modify its pen style? for example to use dashed lines? I am 
> trying to implement region of interest selection by drawing a circle 
> relative to the mouse position when you drag. But I need to make the 
> lines dashed. Any ideas?
>
> Thanks
>
> ----- Original Message ----
> From: Dean Inglis <dean.inglis at sympatico.ca>
> To: vtkusers at vtk.org
> Sent: Monday, July 28, 2008 4:36:30 PM
> Subject: [vtkusers] vtkCutter/vtkClipPolyData problem
>
> vtkClipPolyData problem – part 2
>
>  
>
> see previous post: this is just so I can post
>
> the second image mentioned in the first part.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
>   

-- 
Karthik Krishnan
R & D Engineer,
Kitware Inc,
Ph: +1 518 3713971 x119
Fax: +1 518 3714573




More information about the vtkusers mailing list