[vtkusers] hardware cutting planes

David Gobbi david.gobbi at gmail.com
Tue Apr 24 17:40:50 EDT 2012


Yes, and like most things related to the hardware, they are controlled
via the mappers.  Every mapper (including vtkDataSetMapper and
vtkPolyDataMapper) has a method called SetClippingPlanes() that can
take a collection of up to six planes.

 - David


On Tue, Apr 24, 2012 at 1:46 PM, Larry Kellogg <lkellogg19 at hotmail.com> wrote:
> Hi Everyone,
>
> Does anybody know if VTK supports hardware cutting planes, and if so, how do
> you use them?
>
> Right now I'm using vtkClipPolyData to simulate a cuttingplane, but this is
> too slow on large models.  I know video cards and openGL support several
> cutting planes in hardware, so you can move them around your scene in real
> time, without any lag whatsoever.  These hardware cutting planes don't have
> all the features that vtkClipPolyData has like capping geometry or
> intersection lines, but I just need a simple fast cutting plane.  Does VTK
> support hardware cutting planes?
>
> Thanks,
>
> Larry



More information about the vtkusers mailing list