[vtk-developers] Wiki Examples - commited a fix

Bill Lorensen bill.lorensen at gmail.com
Mon Dec 21 15:02:01 EST 2009


David,

The wiki page name should be:

http://www.cmake.org/Wiki/VTK/Examples/Checkerboard
and the heading should be
Visually Compare Two Images

I'll make the changes to show the way...

Bill

On Mon, Dec 21, 2009 at 2:57 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
> On Mon, Dec 21, 2009 at 12:31 PM, Dean Inglis <dean.inglis at camris.ca> wrote:
>> Hi All,
>>
>> Im new to wiki, but I did figure how to upload a fix to the list
>> of broken examples (visually compare two images with vtkimagecheckerboard)
>> and then place the link from broken examples to Working with images.
>> The only thing I couldnt figure out was how to remove the line
>> above the code for Checkerboard.cxx that says the example is broken..
>> a little help?  BTW, I think the recent examples initiative is excellent!
>>
>> thanks,
>> Dean
>
> Dean,
>
> First of all, thanks for contributing! This type of effort is what
> will make this examples section really thrive! In the future, the
> users list (rather than the developers list) is probably a better
> place for this conversation.
>
> So it looks like what I was missing was the SetNumberOfDivisions call?
> It seems like there should be some default that would have happened
> without that call rather than segfaulting?
>
> Also, I believe we need to leave the Update() calls after the readers:
> jPEGReader1->SetFileName ( inputFilename1.c_str() );
> jPEGReader1->Update();
>
> to ensure the data is actually read before it is used.
>
> To edit the description text (where it says "this is currently
> broken...") - use the "Edit" tab at the top of the page. I went ahead
> and did it for this one:
> http://www.cmake.org/Wiki/VTK/Examples/Visually_Compare_Two_Images
>
> Thanks again - and keep up the good work!
>
> David
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>



More information about the vtk-developers mailing list