<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
By clearing the window, do you mean removing all the actors? If so, you
could do something like <br>
<br>
ren->RemoveAllViewProps(); <br>
ren->Render();<br>
<br>
Alberto<br>
<br>
<br>
On 05/05/10 05:55, njuzg wrote:
<blockquote cite="mid:28456698.post@talk.nabble.com" type="cite">
<pre wrap="">
Hi, all:
I am trying to create a VTK+QT application, something just like the example
in the VTK example/GUI/Qt/Qsimpleview folder. I tried to create a command
new in that example which can clean the window in order to reopen a new
file. Does anyone know how to implement it?
Any help will be appreciated!
Guang
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<p>Alberto Gómez</p>
<p>
<i>Division of Imaging Sciences <br>
The Rayne Institute<br>
4th Floor, Lambeth Wing<br>
St Thomas' Hospital<br>
London SE1 7EH
</i></p>
<p>phone: +44 (0) 20 718 88364<br>
email: <a href="mailto:alberto.gomez@kcl.ac.uk">alberto.gomez@kcl.ac.uk</a>
</p>
</div>
</body>
</html>