[vtkusers] measure rendering time

Steffen Oeltze Steffen.Oeltze at Student.Uni-Magdeburg.DE
Mon Dec 16 07:44:42 EST 2002


Dear VTK-users,

I have written a volume rendering application using VTK and Qt. Now, I'd 
like to
measure the time a volume needs to be rendered completely.
Qt allows to determine the system time. My idea is to compute this time 
before and
after the "vtkRenderWindow->Render()"-call and to calculate the difference.

Any comments on this idea are appreciated. My concern is that this chain of
commands couldn't be executed in the right order or another command could
be executed in between. Maybe, there is an alternative way in VTK ?

Regards,
Steffen Oeltze




More information about the vtkusers mailing list