|
|
Line 1: |
Line 1: |
| __NOTOC__
| |
| The success of the VTK Wiki Examples depends on the contributions from the VTK user community. If you wish to contribute to this resource, please follow these guidelines.
| |
|
| |
|
| ==Create an Example==
| |
| C++, Tcl, Python and Java examples are welcome.
| |
| ==Follow the Guidelines==
| |
| ==Choose a Topic==
| |
| The examples are organized by topic. Current topics include Animation, DataStructures, Filters, GeometricObjects, Images, Meshes, etc.
| |
| ==Create a Wiki Page==
| |
| # If you don't already have a account, [http://vtk.org/Wiki/index.php?title=Special:UserLogin&returnto=Special:UserLogout Create an account]
| |
| # Choose short descriptive name for the wiki page: VTK/Examples/topic/ExampleName
| |
| # The page should contain the following. Look at one of the [http://vtk.org/Wiki/index.php?title=VTK/Examples/VisualizationAlgorithms/FilledContours&action=edit existing example pages] for guidance.
| |
| <pre>
| |
| A brief description of the example and usage.
| |
| ==Example.cxx==
| |
| <source lang="cpp">
| |
| the source code for the exmaple
| |
| </source lang="cpp">
| |
| ==CMakeLists.txt==
| |
| <source lang="cmake">
| |
| A CMakeLists.txt file that will build the example
| |
| </source>
| |
| </pre>
| |
| ==Check the Nightly Dashboard==
| |
| If the example is a C++ program, the example should show up on the [http://www.cdash.org/CDash/index.php?project=VTKWikiExamples Nightly Dashboard] the morning after you edit the wiki page..
| |