<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Sonam</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Use the AddObserver method for 'StartEvent' and
'EndEvent'. From the user's guide ...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>proc myCallback {} {</FONT></DIV>
<DIV><FONT face=Arial size=2> puts "starting to render"</FONT></DIV>
<DIV><FONT face=Arial size=2>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>vtkRenderer ren1</FONT></DIV>
<DIV><FONT face=Arial size=2>ren1 AddObserver StartEvent myCallback</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>HTH</FONT></DIV>
<DIV><FONT face=Arial size=2>Malcolm</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=sscomp2004@yahoo.com.au href="mailto:sscomp2004@yahoo.com.au">s
comp</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=vtkusers@vtk.org
href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, October 28, 2004 12:12
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [vtkusers] Where time calls in
vtk (tcl) script?</DIV>
<DIV><BR></DIV>
<DIV>Where should I put calls to time, in a tcl script to find how long a
filter takes to process data?</DIV>
<DIV> </DIV>
<DIV>simply puting directly before and after doesnt work (both time are same
when actual time is around 15 minutes.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV> </DIV>
<DIV>Sonam</DIV>
<P><BR>
<HR SIZE=1>
Find local movie times and trailers on <A
href="http://au.rd.yahoo.com/mail/tagline/*http://au.movies.yahoo.com"
target=_blank><B>Yahoo! Movies.</B></A><BR>
<P>
<HR>
<P></P>_______________________________________________<BR>This is the private
VTK discussion list. <BR>Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq><BR>Follow this link to
subscribe/unsubscribe:<BR>http://www.vtk.org/mailman/listinfo/vtkusers<BR></BLOCKQUOTE></BODY></HTML>