int *size = renWin->GetSize();<br>width = size[0];<br>height = size[1];<br><br>Shriram<br><br><div><span class="gmail_quote">On 11/5/07, <b class="gmail_sendername">James Zhou</b> <<a href="mailto:henryjoye@gmail.com">
henryjoye@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all,<br><br>I need to get the current render window size: height and width. Could you tell me how to get it?
<br><br>Thanks!<br><span class="sg"><br>James<br><br>
</span><br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br><br></blockquote></div><br>