[vtkusers] compute the bounding box of a cylinder

N Smethurst nick.smethurst at free.fr
Fri May 30 08:51:23 EDT 2003


Hey there

Maybe you can call GetBounds() on the cylinder source poly data output, and 
then use vtkClipPolyData with a vtkPlanes implicit function created with 
the bounds from GetBounds() (remembering to call SetInsideOut(1) on the 
clip object).

Le Vendredi 30 Mai 2003 14:29, Steffen Oeltze a écrit :
> Dear VTK-users,
>
> is there a method already implemented in VTK which is able to compute
> the bounding box of an cylinder and to return the points of an
> underlying grid which are inside this bounding box ?
>
> Any help is appreciated,
> Steffen
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> <http://public.kitware.com/cgi-bin/vtkfaq> Follow this link to
> subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list