[vtkusers] How to set bounds to polydata renderer?

sergio campos camposs968 at gmail.com
Sun Dec 4 09:10:04 EST 2011


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

On Sun, Dec 4, 2011 at 2:45 PM, David Doria <daviddoria at gmail.com> wrote:

> On Sun, Dec 4, 2011 at 7:49 AM, sergio campos <camposs968 at gmail.com>
> wrote:
> > Hello
> >
> > How to set bounds to renderer polydata? I have polydata with these bounds
> > [xmin xmax ymin ymax zmin zmax] how to set a new bounds to renderer it?
> It
> > just that I want to extract a subset or subvolumen to display it. It
> > something like axes[x...zmax] in matlab.
>
> Did you try vtkRenderer::ResetCamera    (double bounds[6])      ?
>
>
> http://www.vtk.org/doc/nightly/html/classvtkRenderer.html#a3a376771a56c5e56a934d89653e9c218
>
> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111204/3672b2e4/attachment.htm>


More information about the vtkusers mailing list