Hardware clipping planes in VTK
David Gobbi
dgobbi at irus.rri.on.ca
Tue Jun 29 14:53:51 EDT 1999
I have added hardware clipping planes to VTK, and would
like to get some feedback before contributing the change
to Kitware.
All of the changes are limited to vtkPolyDataMapper, which has
the following new methods:
void vtkPolyDataMapper::SetClippingPlanes(vtkImplicitFunctionCollection)
vtkImplicitFunctionCollection vtkPolyDataMapper::GetClippingPlanes()
These allow you to specify up to 6 clipping planes which are
handled by OpenGL. This is equivalent to piping vtkPolyData
through a set of vtkClipPolyData filters. When you are moving
the clipping planes around, doing the clipping in hardware
makes the rendering go several times faster.
- David
--David Gobbi, MSc dgobbi at irus.rri.on.ca
Advanced Imaging Research Group
Robarts Research Institute, University of Western Ontario
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list