[vtkusers] How to set bounds to polydata renderer?

David Doria daviddoria at gmail.com
Sun Dec 4 08:45:27 EST 2011


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



More information about the vtkusers mailing list