Difference between revisions of "VTK/Examples"

From KitwarePublic
< VTK
Jump to navigationJump to search
(Replaced content with "Category:VTK/Examples = '''Please try the new [https://lorensen.github.io/VTKExamples/site VTKExamples website].''' =")
Line 1: Line 1:
 
[[Category:VTK/Examples]]
 
[[Category:VTK/Examples]]
 
= '''Please try the new [https://lorensen.github.io/VTKExamples/site VTKExamples website].''' =
 
= '''Please try the new [https://lorensen.github.io/VTKExamples/site VTKExamples website].''' =
 
==About the Examples==
 
 
The VTK source distribution includes a sizeable number of [https://gitlab.kitware.com/vtk/vtk/blob/master/Examples/ examples]. The goal of the VTK examples is to illustrate specific VTK concepts in a consistent and simple format. Some have been there since the inception of the toolkit. These examples have been subject to peer review and revision over the years. However, these examples only cover a small part of the capabilities of VTK.
 
 
Hundreds of tests are distributed with the toolkit source. The tests reside in ''Kit''/Testing directories (for example, Rendering/Testing) in the source distribution. However, these tests are meant to exercise the toolkit rather than illustrate how to use it. For the most part, the tests are not good educational resources.
 
 
We are now using the [http://www.vtk.org/Wiki/VTK VTK Wiki] to provide examples that will help both new and experienced VTK users. The wiki can be used to find examples that answer questions like, "How do I extract normals from a filter's output?", "How do I generate models from segmented data?", and "How do I compute the area of a triangle?", just to name a few.
 
 
Over time we hope that the examples will answer many of the users' questions. Some questions won't have a solution in the current example repertoire. For those questions, we encourage the user to create a simple example that illustrates either a dilemma or a new solution.
 
 
__TOC__
 
 
==Examples are available for the following programming languages:==
 
 
* [https://lorensen.github.io/VTKExamples/site/Cxx/ C++]
 
* [https://lorensen.github.io/VTKExamples/site/Python/ Python]
 
* [https://lorensen.github.io/VTKExamples/site/Java/ Java]
 
* [https://lorensen.github.io/VTKExamples/site/CSharp/ C#]
 
* [[VTK/Examples/Tcl |Tcl]]
 
* [[VTK/Examples/Python/Web/vtk-js |JavaScript]]
 
 
The above examples demonstrate how to ''use'' VTK functionalities. There are also examples specifically to demonstrate how to write code as a VTK filter using VTK techniques. This is helpful so that your custom code can be called in a fashion that other people are already familiar with. It is also necessary if you plan to contribute your classes to VTK.
 
* [https://lorensen.github.io/VTKExamples/site/Instructions/ForDevelopers/ |Developers]]
 
 
For those of you using Python, this link: [[VTK/PythonDevelopment|Setting up a Python Development Environment using Eclipse/Pydev]] may be helpful in getting you started.
 
 
== Information about the Wiki Examples ==
 
*[https://lorensen.github.io/VTKExamples/site/Instructions/ForUsers Users]: If you just want to use the VTKExamples, this is the place for you. You will learn how to search for examples, build a few examples and build all of the examples.
 
*[https://lorensen.github.io/VTKExamples/site/Instructions/ForDevelopers/ Developers]: If you want to contribute examples, this section explains everything you need to know. You will learn how to add a new example and the guidelines for writing an example.
 
*[https://lorensen.github.io/VTKExamples/site/Instructions/ForAdministrators/ Administrators]: This section is for a VTKExample Administrators or people want to learn more about the process. You will learn how the VTKExamples repository is organized, how the website is synced to the repository and how to add new topics, tests and regression baselines.
 
 
==[https://lorensen.github.io/VTKExamples/site/#how-can-i-help How can I help?]==
 

Revision as of 11:04, 25 September 2017

Please try the new VTKExamples website.