<div>¿ Hi, there's something wrong in the order or the combination of this three lines ? </div><div><br></div><div>when they are executed my program crash, if I comment vtkPanel.GetRenderer().GetRenderWindow().Render() the program runs but the render shows wrongly content(outdated), this lines are executed many times when the program changes the actors of the vtkPanel, their mean is to refresh the view to see the changes.</div>
<div><br></div><div>¿Is there a better way to refresh the vtkPanel when a new actor is added or deleted?</div><div><br></div><div>vtkPanel.Render();</div><div>vtkPanel.GetRenderer().ResetCamera(); //!!!</div><div>vtkPanel.GetRenderer().GetRenderWindow().Render(); //!!!</div>
<div><br></div><div>Thanks.</div>