[vtkusers] RemoveAllClippingPlanes gone?

Julian Humphries julian at essaustin.com
Sun Mar 11 20:32:17 EST 2001


At 08:06 PM 3/11/01 -0500, you wrote:
>On Sun, 11 Mar 2001, Julian Humphries wrote:
>
> >
> > just fine.  The interface allows multiple calls so I need a way to remove
> > all added clipping planes.  It looks like RemoveAllClippingPlanes() would
> > do the job, but the version of vtk I am using (PC binaries, released
> > version 3.1) with Python bindings doesn't have this method (apparently).
> > A call to:
> >
> > self.mymapper.RemoveAllClippingPlanes() returns an attribute error.
>
>This method is certainly wrapped in the current VTK, I'm not sure why
>it would be missing in 3.1.  You could try using
>   mapper.SetClippingPlanes(None)
>or
>   mapper.GetClippingPlanes().RemoveAllItems()

The later method works like a charm.  Thanks.

Julian Humphries





More information about the vtkusers mailing list