[vtk-developers] new vtkTextActor class and slight mapperchanges

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Wed Jun 5 11:27:03 EDT 2002


> It would be better if both behave in the same way, for consistency, don't
> you think so ? I mean, that's a bit painful now.
>
> What do you think ?

Ummm. Yes. I made vtkTextActor use display coordinates by default because
there are more TextMapper/Actor2D pairs in vtk code than there were
ScaledTextActors (only vtkCaptionActor2D used it in vtk itself) - thus it'd
be a bit less painful to change them to the new textactor.

vtkScaledTextActor used to initialize itself with NormalizedViewport coords,
so one or the other had to give :(

Berk has removed the warning from vtkScaledTextActor, so everyone can just
use it and forget about any changes. We don't have to remove it if everyone
likes it!

JB
(He says, wishing he'd just left everything alone and could go back to
hiding under a rock...)




More information about the vtk-developers mailing list