[vtkusers] How to refresh the screnn

David Doria daviddoria at gmail.com
Thu Oct 13 11:40:04 EDT 2011


On Thu, Oct 13, 2011 at 11:27 AM, Wenlong Wang <scc.wwl at gmail.com> wrote:
> Dear all,
>
> I'm trying to move a  polydata object with the moving of a MFC slider.
> However, as I move it, the screen doesn't refreshed. So it looks like the
> object has a 'trail'.
>
> Does anyone have idea about how to make it?
>
> Many thanks in advance.
>
> Bests
> Long

Are you calling renderWindow->Render() when the slider is moved?

David



More information about the vtkusers mailing list