[vtkusers] speed up vtkTransform::SetMatrix by not calling internally Modified twice ??

Arnaud Gelas arnaudgelas at gmail.com
Mon Apr 28 11:10:38 EDT 2014


How about that?

	http://review.source.kitware.com/15294

On Apr 28, 2014, at 4:34 PM, Arnaud Gelas <arnaudgelas at gmail.com> wrote:

> Hi all,
> 
> I have a large scene, and it happens that if I set the matrix directory to one vtkTransform, I can see 2 updates of the rendered scene…
> 
> It happens cause in vtkTransform::SetMatrix(), the matrix is first set to the identity with one call to Modified, then it sets the matrix and there is another call to Modified.
> 
> What would be the preferred way to proceed to make it with a single call to Modified?
> 
> Thanks,
> Arnaud



More information about the vtkusers mailing list