[vtkusers] How to get a render window size?

James Zhou henryjoye at gmail.com
Tue Nov 6 00:14:21 EST 2007


Thanks a lot! I got it as you pointed out!

2007/11/6, Shriram Iyer <shriram.uc at gmail.com>:
>
> int *size = renWin->GetSize();
> width = size[0];
> height = size[1];
>
> Shriram
>
> On 11/5/07, James Zhou < henryjoye at gmail.com> wrote:
>
> > Hi all,
> >
> > I need to get the current render window size: height and width. Could
> > you tell me how to get it?
> >
> > Thanks!
> >
> > James
> >
> >
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20071106/d391f841/attachment.htm>


More information about the vtkusers mailing list