[vtk-developers] Wiki Examples - commited a fix

Bill Lorensen bill.lorensen at gmail.com
Mon Dec 21 15:24:53 EST 2009


David,

We should map into the current VTK/Examples naming conventions. That
structure has been around for a long time. The actual location is not
as important as the categories.

Bill

On Mon, Dec 21, 2009 at 3:13 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
> On Mon, Dec 21, 2009 at 3:05 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>> David,
>>
>> Actually, we need to create a reasonable number of example categories.
>> These will be used to organize the examples in the repository. I'll
>> leave this example name as is until we come up with a good
>> categorization.
>>
>> Bill
>>
>> On Mon, Dec 21, 2009 at 3:02 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>>> 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
>>>>
>
> Yea, I thought we would need to agree on some categories - that's why
> I haven't been diving in to the renaming yet. It's going to be a tough
> balance of being descriptive enough while not having hundreds of
> folders.
>
> Another thing - do we keep the structure of
> VTK/Examples/Mesh/Cxx/Something.cxx
> and
> VTK/Examples/Mesh/Python/Something.py
> ?
>
> To me it seems a bit cleaner if it is separated by language:
> VTK/Examples/Cxx/Mesh/Something.cxx
> VTK/Examples/Python/Mesh/Something.py
>
> And will we allow subfolders? i.e.(these are not necessarily
> reasonable, but just to illustrate)
> VTK/Examples/Cxx/Mesh/Operations/Subdivision.cxx
> VTK/Examples/Cxx/Mesh/Operations/Decimation.cxx
> VTK/Examples/Cxx/Mesh/Interaction/PointPicking.cxx
> VTK/Examples/Cxx/Mesh/Interaction/CellPicking.cxx
>
> Thoughts?
>
> Thanks,
>
> 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