[vtkusers] Draw out a cubical box on the rendering window

David E DeMarle dave.demarle at kitware.com
Fri Jul 28 16:22:38 EDT 2006


Hi Rashed,

They are only in the current cvs release of vtk.
You will have to get the docs from:
http://www.vtk.org/doc/nightly/html/annotated
and the source from:

* cvs -d :pserver:anonymous at public.kitware.com:/cvsroot/VTK login *
(respond with password *vtk*)
*cvs -d :pserver:anonymous at public.kitware.com:/cvsroot/VTK checkout VTK *

cheers,
Dave


Rashed Karim wrote:

> Hi Dave,
>
> Thanks for your reply. I acutally couldnt find vtkAreaPicker and 
> vtkFrustumExtractor in the documentation. There is a 
> vtkInteractorStyleRubberBandZoom, but this only helps zoom into the 
> rendering. Do I have to extend the class to get the functionality I am 
> looking for? I I looked for these classes in the vtk 5.0 Docs located at:
> http://www.vtk.org/doc/release/5.0/html/classes.html
>
> Thanks again,
>
> Best Regards,
> Rashed karim
>
> On 7/28/06, *David E DeMarle* <dave.demarle at kitware.com 
> <mailto:dave.demarle at kitware.com>> wrote:
>
>     Hi Rashed,
>
>     You could use a vtkPlanes to define the bounding box beyond which the
>     region can not grow. With each candidate point, test against the six
>     planes and stop if outside. Look at vtkInteractorStyleRubberBandPick,
>     vtkAreaPicker, and vtkFrustumExtractor. They will define the vtkPlanes
>     for you, then you can adapt your region growing algorithm to use it.
>
>     cheers
>     Dave DeMarle
>
>
>
>
>
> -- 
> Rashed 





More information about the vtkusers mailing list