[vtk-developers] RenderWindow sizes for testing (was: is someone working on the bigmac failures?)

Bill Lorensen bill.lorensen at gmail.com
Wed Jul 5 12:20:38 EDT 2017


Yes.That works for me.

But please try this:

Take an existing test, like:
Imaging/Core/Testing/Python/TestHSIToRGB.py
add
viewer.SetSize(320,320)

ctest -V -R TestHSVToRGB.py
you should see this error:
1989: Image differencing failed to produce an image because images are
different size:
1989: Valid image: 320, 320, 0
1989: Test image: 319, 319, 0


On Wed, Jul 5, 2017 at 11:48 AM, Utkarsh Ayachit
<utkarsh.ayachit at kitware.com> wrote:
>> Unless I'm smoking something...
>>
>
> I want what you have ;)! Attached is a modified test. It works with
> vtkpython no matter the value of  BORDER_SIZE. What am I missing? Also, I
> get exactly the size I request (300, 300) and not 1 pixel less.
>
> Utkarsh



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtk-developers mailing list