[vtkusers] Where time calls in vtk (tcl) script?
Malcolm Drummond
malcolm at geovision.co.za
Thu Oct 28 07:15:02 EDT 2004
Hi Sonam
Use the AddObserver method for 'StartEvent' and 'EndEvent'. From the user's guide ...
proc myCallback {} {
puts "starting to render"
}
vtkRenderer ren1
ren1 AddObserver StartEvent myCallback
HTH
Malcolm
----- Original Message -----
From: s comp
To: vtkusers at vtk.org
Sent: Thursday, October 28, 2004 12:12 PM
Subject: [vtkusers] Where time calls in vtk (tcl) script?
Where should I put calls to time, in a tcl script to find how long a filter takes to process data?
simply puting directly before and after doesnt work (both time are same when actual time is around 15 minutes.
Thanks,
Sonam
------------------------------------------------------------------------------
Find local movie times and trailers on Yahoo! Movies.
------------------------------------------------------------------------------
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
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/20041028/8ed25a4d/attachment.htm>
More information about the vtkusers
mailing list