[vtkusers] vtkCaptionActor2D with border

Patrick Brockmann Patrick.Brockmann at ipsl.jussieu.fr
Wed Sep 3 08:52:02 EDT 2003


Hi all,

*************************************************
After adding a viewport to a renderer and using
vtkCaptionActor2D with border, I have noticed
that the border is drawn with an offset.

Is there a way to change this ?
*************************************************

You can find my materials from:
http://dods.ipsl.jussieu.fr/brocksce/vtk_pb03

Edit TestCaptionActor.tcl and
uncomment line 48
#ren1 SetViewport 0.2 0.2 0.8 0.8

Will produce caption_2.png image.
Without any change the script produces caption_1.png

Hope that someone could help on this.

Patrick

-- 

mailto:Patrick.Brockmann at cea.fr
01.69.08.40.09 --> LSCE (Orme des merisiers 701, Bureau 50)
01.44.27.21.10 --> IPSL (Jussieu, Tour 26, 4eme)
http://www.ipsl.jussieu.fr/~brocksce/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: caption_2.png
Type: image/png
Size: 13067 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030903/9443f60e/attachment.png>


More information about the vtkusers mailing list