[vtk-developers] Text problems with vtkWindowToImageFilter::SetMagnification
Prabhu Ramachandran
prabhu at aero.iitm.ernet.in
Mon Jan 20 11:47:59 EST 2003
Hi Ken,
>>>>> "KM" == Ken Martin <ken.martin at kitware.com> writes:
KM> Hello Prabhu, I do not believe that RenderLargeImage supports
KM> any 2D actors and I don't have any plans to add that
KM> functionality. However, vtkWindowToImage does support them
OK. Its ok if the vtkLargeImage does not work with 2d actors.
KM> (and there is at least a minimal test to verify this using a
KM> scalar bar actor). If WindowToImage is failing to properly
KM> draw an Actor2D then there is a bug. I would be surprised if
KM> it was failing with just a TextMapper since the ScalarBar uses
KM> them and I know I have tested them a fair amount. Now the
KM> cursor3D class is a whole different story. I've never tried
KM> that with the WindowToImage filter so I wouldn't lay a bet on
KM> it working. Can you verify the problem with a TextMapper using
KM> WindowToImage and send the script I'll try to fix it.
Well, its the vtkCubeAxesActor2D that I mentioned. Not the Cursor3D
class. vtkCubeAxesActor2D does not work with WindowToImage. I
haven't looked at the code to know why. TextMappers work but the
positioning is gone because the zooming affects the positioning. I
sent Sebastien a Tcl example off-list. I've attached it at the end of
this mail. It produces one image using vtkRenderLargeImage and one
using vtkWindowToImageFilter.
cheers,
prabhu
p.s. Its likely that RoadRunner is blocking mails from my IP (the
whole class actually) and you will only receive this mail via the
list. I send mail from home and not from the university (where this
is not a problem). I'm afraid I cant help it because my ISP just
changed our IP's and I guess there were spammers using these class of
IP's earlier. :(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RenderLargeImage.tcl
Type: application/octet-stream
Size: 2264 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20030120/54ead1b0/attachment-0001.obj>
More information about the vtk-developers
mailing list