[vtkusers] Actors disappear from render

David Cole DLRdave at aol.com
Tue Oct 24 15:26:41 EDT 2017


Is this the 32-bit modified counter overflow problem?

What version of VTK?


David

> On Oct 24, 2017, at 11:01 AM, Jay <jayavardhanravi at outlook.com> wrote:
> 
> The actors from the render window disappear after rendering for few hours.
> The actors disappear randomly. Memory consumption remains the same. 
> 
> The sample pseudo program:
> 
> vtkSmartPointer<CAnimateCallBack> object =
> vtkSmartPointer<CAnimateCallBack>::New();
> niCallBack->cvar= &cAvar;
> cAvar->renderInteractor->AddObserver(vtkCommand::TimerEvent, className);
> cAvar->renderInteractor->CreateRepeatingTimer(1);
> cAvar->renderInteractor->Start();
> 
> // observer class - implemented the /virtual void Execute(vtkObject *caller,
> unsigned long eventId, void * vtkNotUsed(callData))/ method
> 
> virtual void Execute(vtkObject *caller, unsigned long eventId, void *
> vtkNotUsed(callData))
> {
> UpdateActors(); // Modified() method not called on each actor
> cAvar->renderWindow->Render();
> }
> 
> This process updates the render for few hours and later doesn't reneder few
> parts
> 
> Any suggestions or ideas to solve this would be helpful.
> 
> 
> 
> 
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> 
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers



More information about the vtkusers mailing list