Skip to content
Snippets Groups Projects
Commit f13bf870 authored by Andrew Maclean's avatar Andrew Maclean
Browse files

Updating instructions.

parent 9cb520e8
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ There is an ongoing effort to convert the examples in the [VTK Book](http://www.
1. Follow the procedure [ForDevelopers](/Instructions/ForDevelopers) to contribute examples.
2. Download a copy of the [VTK Book](http://www.kitware.com/products/books/VTKTextbook.pdf).
3. Look at the [VTKBookFigures](/VTKBookFigures) page and look for examples that have not been converted. These examples will not have a link to source code.
4. Go to your VTK source checkout. Run the script [VTKExamples/src/Admin/getDeletedFile.sh](https://github.com/lorensen/VTKExamples/blob/master/src/Admin/getDeletedFile.sh) with the name of the figure example to be converted. This script will create a source file in the current directory and also report the URL for the original repo location of the example.
4. Go to your VTK source checkout. Run the script [VTKExamples/src/Admin/getDeletedFile.sh](https://github.com/lorensen/VTKExamples/blob/master/src/Admin/getDeletedFile.sh) with the name of the source file (e.g. walkCow.tcl) in the figure example to be converted. This script will create a source file in the current directory and also report the URL for the original repo location of the example.
5. Pick a source directory to contain the new example. Look at the Chapter heading in the book to guide where to put the new example.
6. Convert the source tcl code or old C++ code to C++ code that will compile and run with the current VTK API. Follow the [guidelines for coding C++ examples](/Instructions/Guidelines).
7. If the figure example name is short, e.g. bluntStr we suggest giving it a more descriptive name e.g. BluntStreamlines. Notice the first letter is uppercase.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment