[vtkusers] vtkViewport bug in v.3.1?

Poty Virginie poty at lil.univ-littoral.fr
Fri Nov 10 03:23:15 EST 2000


Hello,
may be this point has already been discussed but I did not find anything
about it in the
mailing archive, so here it is. It seems that there is a bug in the
vtkViewport class when
one
try to draw in a viewport whose left border is close to the middle of
the window. The
program
below works well for left border values in the range [0.0,0.36] but
makes a
segmentation fault
for values beyond 0.37. Compile it and try with the following line
commands:
   viewport 0.36 0.0 1.0 1.0
   viewport 0.37 0.0 1.0 1.0
Our system is Linux Mandrake 7.1 with g++ compiler.
Let us remarq that it works well with the Tcl api!
Is there anybody who could help me?

Virginie.

--
---------------------------------------------------------
\  Virginie Marion-Poty.  LIL. B.P. 719                 /
\                         62228 CALAIS Cedex.  FRANCE.  /
\                         Tel : (33) 03.21.46.56.74     /
\                         Fax : (33) 03.21.46.55.71     /
\                         from abroad : no 1st 0 !      /
\       email : poty at lil.univ-littoral.fr               /
--------------------------------------------------------







More information about the vtkusers mailing list