Using macro to define Poly-line structuring elements

Change-Id: I2dbfcf4794d93059edf0ca1bc8702f3b7c71b6a9
adding cmake option for building examples

Change-Id: Ib0408ba7917d2b759e5f09480e6fbc2a826a073f
converted language specific add test macros into functions

Change-Id: I5b8b243f8f5cb89f746b609ee161a0ecb69e96a3
Only adding language specific example if build examples is enabled

Change-Id: I846abf1624ef6b7792deb5c643637a4483f20b16
Moving CXX example tests to CMakeLists

Previously the CXX examples tests were written in C++, not the
itkTestDriver is used with testing parameters written with CMake.

Change-Id: I07bddb4d31c1b061fad58f251193ec613c51c04e
Enable Examples in SimpleITK superbuild for testing

In the SimpleITK superbuild sub-project, examples are enabled when
testing is enabled. This is so that they are tested.

Change-Id: Ic7981e9326ef917c76b9e3ed2ac98dfcd15412c1
Merge topic 'SIMPLEITK-410_UseOptionBUILD_EXAMPLES'

4df55813 Enable Examples in SimpleITK superbuild for testing
1686a706 Moving CXX example tests to CMakeLists
57739dcc Only adding language specific example if build examples is enabled
360b0503 converted language specific add test macros into functions
69bedc0e adding cmake option for building examples
Updating Swig super build to 2.0.11

Change-Id: If152d1bbdaf3a5a21f24362bb19a8de737e14cd1
DOC: Fix documentation formula for accessing buffer

Change-Id: I38d45693ebf18f12f4d040a889b067e45fa29cc7
BUG: Patch Swig's container class for C++11 from Swig upstream

From upstream swig 92128eef445f75f674894e3f5d4e1fc2a181895:

C++11 support for new versions of erase and insert in the STL containers.

The erase and insert methods in the containers use const_iterator
instead
of iterator in C++11.  There are times when the methods wrapped must
match
the parameters exactly. Specifically when full type information for
template types is missing or SWIG fails to look up the type correctly,
for example:

  %include <std_vector.i>
  typedef float Real;
  %template(RealVector) std::vector<Real>;

SWIG does not find std::vector<Real>::iterator because %template using
typedefs does not always work and so SWIG doesn't know if the type is
copyable and so uses SwigValueWrapper<iterator> which does
not support conversion to another type (const_iterator). This resulted
in compilation errors when using the C++11 version of the containers.
BUG: move SWIG template instantiations to before other filters

Filters like the CastImageFilter were missing the ProcessObject base methods.

Remove redundant explicit wrapped headers in interface specification,
and re-ordered into more logical groups.

Change-Id: I710c2de6f66ac82ebbee442fed39734c2ce05ab4
BUG: Add dependency for SWIG on all header files in Code directory

Change-Id: Ibd112366380da9d0bded46b030ba5ac1a05f14b0
ENH: Adding global warning option to ProcessObject base class

Change-Id: I207f86700edf5dd1de414cf706a57ff7491964c2
Adding basic test for ProcessObject GlobalWarningDisplay methods

Change-Id: I6a65218d35de62db04a0fbbefe9c2614b97ad618
Adding example of image buffer access for CSharp

Contributed by: Dan Mueller <dan.muel@gmail.com>

Change-Id: I7fdcd1f9c46d5ca2e5fa0dc8690351f84f7cf813
ENH: Adding process object command callbacks

Adding generic Command class which has execute method to be called on
callbacks.

Added referencing between ProcessObject and Command to allow automatic
decoupling for stack based construction and cleanup.

Adding Event's as enums.

Adding override-able infrastructure in ProcessObject to allow for
derived classes to customize behavior.

Adding Progress as an active measurement, to be accessed during
command call-backs.

Change-Id: I44c8213f005308c10b09579286c5128657f9c4d2
ENH: Adding C++ example to report progress

It's a test too

Change-Id: I2ce44e22438af1c7eba4e2bf1a9abdc9ef842dce
BUG: fixing reuse of output file name in example tests

Change-Id: Ie3cc8d580ea2efe6017a66e776a7c108dbb512e8
BUG: compile Java example, fix Java Gaussian Example

The list accumulate variable was only local scope, and so there were
no Java example being built. By setting to the parent scope the list
of java file to compile is accumulated.

Change-Id: Ie1e5ea8f8d361dd63c2dbc605cd591988156f3cd
ENH: adding ProcessObject::PreUpdate to manually written filters

Change-Id: I977f4b211e03bce77216593cbba7e2852028e92b