[vtkusers] vtkImplicitSelectionLoop and vtkImplicitBoolean problem

David.Pont at ForestResearch.co.nz David.Pont at ForestResearch.co.nz
Mon May 23 17:15:25 EDT 2005


"Katherine Kerekes" <kerekes at fastmail.fm> wrote on 24/05/2005 01:20:55:

> I am trying to clip a block of data (using vtkClipper inside out
> on).  I am using a vtkImplicitBoolean function that consists of a
> vtkPlane and a vtkImplicitSelectionLoop where the plane origin is
> one of the points in the vtkImplicitSelectionLoop and the plane
> normal is the same normal as the loop normal.  I set the
> OperationType to Intersection.  So I thought that the intersection
> should be one slice of the loop.  But when I visualize this clipper
> shows the selection loop running through the entire dataset (not
> just one slice of the loop).  Any ideas what I am doing wrong?
>
> Thanks,
> Kate Kerekes_______________________________________________
> 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

Katherine,
   it sounds like the clipper is doing exactly what it should do, the loop
is infinite in length, you can use a plane to cap one end then it is still
infinite in length in the other direction. I suppose if you used another
plane you could cap the other end to define a region, which you could think
of as a 'slice' of finite thickness.
If you really want a slice (zero thickness) you should use vtkCutter.
  regards, Dave P




More information about the vtkusers mailing list