[vtk-developers] duplication between vtkTextActor3D::UpdateImageActor and vtkFreeTypeUtilities::PrepareImageData

Charl Botha c.p.botha at tudelft.nl
Mon Jun 2 17:41:44 EDT 2008


Dear VTK developers,

Almost all the code between these two methods is being duplicated, and
to boot, vtkTextActor3D is calling PrepareImageData via RenderString.
I now also have a reproducible extent bug seemingly due to this
duplication (PrepareImageData sets the ImageData wholeextent to
something else than originally set by UpdateImageActor, thus causing
an outside whole extent error).

I'd like to try nuking most of the UpdateImageActor body in favour of
just calling FU::RenderString and letting it do its work.  Does anyone
have any comments on this?

Thanks,
Charl



More information about the vtk-developers mailing list