[vtkusers] How to set bounds to polydata renderer?

David Doria daviddoria at gmail.com
Sun Dec 4 09:17:44 EST 2011


On Sun, Dec 4, 2011 at 9:10 AM, sergio campos <camposs968 at gmail.com> wrote:
> Thanks but it only move cam to setted bounds, if Imove the screen the bounds
> are the same. There would be something like crop in 3D.
> any suggestions?
>
> sergio

You could try
http://www.vtk.org/doc/nightly/html/classvtkExtractPolyDataGeometry.html

with the implicit function:
http://www.vtk.org/doc/nightly/html/classvtkBox.html

This example shows how to pass a vtkFrustum, but the idea should be the same:

http://www.vtk.org/Wiki/VTK/Examples/Cxx/Picking/HighlightSelection

David



More information about the vtkusers mailing list