[vtkusers] Adding fps-info to renderer

Martin Baumann mailsgetlost at web.de
Mon Nov 20 17:11:55 EST 2006


Hi,

how can I do this? vtkRenderer::GetLastRenderTimeInSeconds() returns a 
double value where
a vtkTextActor only accepts strings. If I convert the double value to a 
string, it is not automatically
actualized in time.
Hmmm...

Regards, Martin


Dominik Szczerba schrieb:

>I dont know if there is any dedicated one for this, but you can easilly time 
>up your Rendering yourself and display it with a text actor.
>Dominik
>
>On Friday 17 November 2006 21:07, Martin Baumann wrote:
>  
>
>>Hi,
>>
>>how can show the frame per second rate information in the render window?
>>Do I have to do this manually or is there a function that does this job 
>>already?
>>
>>Regards, Martin
>>_______________________________________________
>>This is the private VTK discussion list. 
>>Please keep messages on-topic. Check the FAQ at: 
>>    
>>
>http://www.vtk.org/Wiki/VTK_FAQ
>  
>
>>Follow this link to subscribe/unsubscribe:
>>http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>    
>>
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
>  
>



More information about the vtkusers mailing list