Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3445 commits
Select commit Hold shift + click to select a range
eb93167
also print image sum() in list_image_info
Feb 13, 2012
11f9ab0
also print data min,max and sum() in list_projdata_info when given th…
Feb 14, 2012
f5ef3ed
more options for list_projdata_info
Feb 14, 2012
3bf220f
new utilitiy stir_write_pgm
Feb 14, 2012
484bea1
new utility stir_write_pgm
Feb 14, 2012
c011fcd
- added section on projection matrix from file
Feb 20, 2012
1fa1249
The command line processing of create_tail_mask_from_ACFs only worked…
Feb 20, 2012
feb359d
changed version number to 2.2
Feb 20, 2012
947efa2
- updated for release of version 2.2
Feb 20, 2012
a53f7ac
remove PARALLEL from list of defined variables and set gcc to 4.6
Feb 20, 2012
b715391
make sure doxygen does see some definition of STIR_isnan and STIR_fin…
Feb 20, 2012
0a46e1d
changed date
Feb 20, 2012
1e9f124
changed status of 2.2 from beta to release candidate
Feb 20, 2012
fd135a0
minor changes, e.g. mentioning user's guide improvements
Feb 20, 2012
916ae9e
explictly allocate memory as opposed to relying on gcc extension (?) …
Mar 3, 2012
308e7d4
add dependencies on other STIR libraries as recon_buildblock currentl…
Mar 3, 2012
0db505a
add dependency on numerics_buildblock (needed by the filters)
Mar 3, 2012
1474d20
minor fixes to strings written to stdout
Mar 3, 2012
335a92d
add dependency on modelling_buildblock (currently needed for Parametr…
Mar 3, 2012
442c65e
declare ecat_model function in case it isn't in ecat_model.h
Mar 8, 2012
d844f6f
- moved CMAKE_LEGACY_CYGWIN_WIN32 to the very top, otherwise the warn…
Mar 23, 2012
38a6558
- moved part of check on system getopt to main CMAkeLists.txt as stir…
Mar 23, 2012
aeab1f0
moved FourierRebinning.cxx to global distro
Apr 4, 2012
2cc20fb
- now assume that if an LOR isn't found in the file, it's empty (befo…
Apr 28, 2012
ef5227f
- work-around bug in swig to get shared_ptr to work
May 25, 2012
c557132
edit to comment on how to compile registries
May 25, 2012
ec8dc4b
minor change to constructor to use BasicCoordinate explicitly as oppo…
Jun 1, 2012
d178d1f
corrected case scatter_parameter 4|5|9|10
Jun 4, 2012
2c0e788
no longer have "using std::vector; using std::ios;" etc in .h files
Jun 5, 2012
5adef93
minor change to constructor to use base-type as opposed to private ty…
Jun 5, 2012
1fa9fca
overloading IterativeReconstruction::get_objective_function() with a…
Jun 6, 2012
603e99f
added get/set pair for (sub)sensitivity_filename(s)
Jun 6, 2012
c2a9604
added new option SWIG_PYTHON, and CMakeLists.txt inswig subdir
Jun 6, 2012
c786f24
sorted out a few problems with shared_ptr, added 2D coordinates, some…
Jun 6, 2012
f26617b
added a few more libraries etc, but this file is now obsolete
Jun 6, 2012
fcea124
some minor simplifications, and added license header
Jun 6, 2012
4dd979c
added some extra comments to avoid confusion, and use -march=native i…
Jun 11, 2012
5d9b172
adjusted location of registries to swig directory in CMakeFiles build
Jun 23, 2012
d8813f5
- corrected Python 'slot' statements for get/setitem to more modern v…
Jun 23, 2012
28c43e5
added at() functions (checking out-of-range conditions) and empty()
Jun 23, 2012
d97cfcd
- use at() functions in get/setitem (checking out-of-range conditions…
Jun 23, 2012
80bfb2d
fixed html error (unclosed ul)
Jun 23, 2012
351e07c
added tests on at() and empty()
Jun 23, 2012
ca240bb
add checks if files are read ok. if not, abort with error message (as…
Jun 24, 2012
bd2298d
- added basic Python iterator-support, __len__, __nonzero__, __bool__…
Jun 24, 2012
802641e
preliminary commit with basic info
Jul 31, 2012
3f8e5eb
- BasicCoordinate: add constructor-from-tuple, str, repr, nonzero and…
Sep 18, 2012
c06f401
swig python: use new $parentclasssymname if it exists for BasicCoordi…
Oct 28, 2012
536606c
added install target
Oct 29, 2012
7b7000e
first checkin
Nov 1, 2012
cde022c
make library depend on buildblock and IO
Nov 3, 2012
aa3040b
add extra dependencies of libraries such that shared libraries are wo…
Nov 3, 2012
a5d79b1
added stirextra.py to install target
Nov 3, 2012
db67799
add extra dependencies of libraries such that shared libraries are wo…
Nov 3, 2012
1965c2e
correct --builting option to -builtin
Nov 3, 2012
2b48bf9
uncomment line that actualy runs simset
Nov 3, 2012
63e5c3c
set templ_dir to full path of local working directory to prevent prob…
Nov 3, 2012
f1241cc
first check-in
Nov 3, 2012
31a1e6c
in stir.i, a few more %newobj, index accessing for Octave and some cl…
Nov 5, 2012
1df3387
added lines for wrapping to Octave
Nov 17, 2012
bf77e31
- add "flat" iterator for Array's in Python, using some code from SWIG
Nov 19, 2012
d6836fe
- use "flat" iterator for Arrays
Nov 19, 2012
87b6be1
moved option to build swig_python to swig/CMakeLists.txt
Nov 30, 2012
1908d42
- moved option to build swig_python here (from main CMakeLists.txt)
Nov 30, 2012
3b704d7
clarifications for scatter and attenuation
Jan 2, 2013
95d65ca
enabled support for auto_ptr
Jan 2, 2013
4087427
call error() if interfile-reading failed (e.g. because it wasn't an i…
Jan 2, 2013
624eaa5
corrected syntax error in previous update
Jan 2, 2013
9c68d9a
clarified usage and other messages
Jan 2, 2013
1cab687
clarified in doxygen that we're calling error() if read_from_file fails
Jan 2, 2013
2e69299
corrected bracket in doxygen
Jan 2, 2013
49e4809
added 1 argument version that writes to stream, i.e. like info()
Jan 2, 2013
fff2b15
include "fake" normalisation data (filled with 1) in test of POSMAPOSL
Jan 2, 2013
699d88f
if projection data and norm are incompatible, include parameter_info …
Jan 2, 2013
07bb885
added 1 argument version that writes to stream, i.e. like info()
Jan 4, 2013
78c83e1
corrected boost::format examples in doxygen
Jan 4, 2013
219356b
removed a few lines in interfile.cxx creating local variables min_rin…
Jan 4, 2013
dcf2174
- removed _scanner_sptr member of MultipleProjData, added a few set_*…
Jan 4, 2013
161de77
small mods to test_modelling to use Interfile format for the dynamic …
Jan 4, 2013
e157108
support time frame definitions in Interfile headers (todo: current co…
Jan 4, 2013
4b678e8
updated, e.g. with dynamic proj data
Jan 4, 2013
bb487ad
let print-make-vars also print $(AR) and $(ARFLAGS)
Jan 5, 2013
9e64caa
set FAST_CFLAG to -Ofast if gcc supports it, and use xiar for Intel C…
Jan 5, 2013
9773b41
updated (compilers, FORE, parametric etc)
Jan 5, 2013
3005de4
incorporated a few terms for motion compensation into the glossary (H…
Jan 5, 2013
09387a7
a few more updates, also adding the STIR 2.0 paper
Jan 13, 2013
c808a68
changes to RunTests to avoid problems with 64bit Visual Studio (conve…
Feb 15, 2013
ff44855
change to introduce counters instead of directly working with iterato…
Feb 15, 2013
bfdf196
removed ECAT6 test as it is no longer supported
Mar 6, 2013
136bdca
removed ecat6 tests
Mar 6, 2013
7520fe5
updated version number
Mar 6, 2013
d3452a8
updated version number and some extra clarifications
Mar 6, 2013
c5e1c46
updated release info
Mar 6, 2013
b987819
inserted comment that this Makefile is for development only
Mar 6, 2013
28d69cd
added listmode_buildblock as depend library for recon_buildblock
Mar 6, 2013
2b9ac85
addition of more convenience functions to use STIR from python
Mar 6, 2013
9e599cc
addition of some documentation and examples to use STIR from python
Mar 6, 2013
7b39942
removed examples directory from the main CMakeLists.txt, and provide …
Mar 7, 2013
baf9837
- updated for release of version 2.3beta
Mar 7, 2013
72c4df7
updated version to 2.3beta
Mar 7, 2013
1f5ad03
corrected closing tt tag
Mar 7, 2013
760d58c
update version to 2.3
Mar 7, 2013
a018178
fixed typos in documentation
May 4, 2013
8af1d8d
updated dates and version number for release 2.3
May 4, 2013
3f6e935
- updated for release of version 2.3
May 4, 2013
b691b7d
added input files for python examples
May 5, 2013
fb6cbac
- removed some "using std::cerr" etc from .h or .inl files to avoid c…
May 17, 2013
a0a24d1
- use CMake FOLDER properties to group projects in Visual Studio (and…
May 19, 2013
32ed5ef
added std:: to cout and endl
May 22, 2013
eafc742
added newline after printing an "unknown" event
Jun 2, 2013
0c9f63e
corrected error()/warning() calls using __LINE__ (where using %s as o…
Jun 10, 2013
4513d55
check-in of Charalampos Tsoumpas' (KCL) contributions to STIR
Jun 24, 2013
c7f921f
corrected name of spatial_transformation_buildblock
Jun 24, 2013
12fc655
check-in of CMake files for Charalampos Tsoumpas' additions
Jun 24, 2013
f9d761c
minor clean-up of PoissonLogLikelihoodWithLinearKineticModelAndDynami…
Jun 24, 2013
7a3f3e7
changed version number to 2.4a
Jun 24, 2013
0e65d26
- updated for release of version 2.4a
Jun 24, 2013
80ede73
relaxed test on OSSPS to avoid failure on cygwin (and others?)
Jun 25, 2013
02c26f5
updated version and content of README.txt in recon_test_pack
Jun 25, 2013
bfcf2ff
added 2.4 release
Jun 25, 2013
803cefd
- added motion stuff in contrib/README.txt
Jun 25, 2013
c2f2ef6
updates of user's guide for version 2.4
Jun 27, 2013
aec6d31
merged Harry's motion related documentation
Jun 27, 2013
43f4489
added "-t tolerance" option to compare_projdata
Jun 28, 2013
54b160c
fixed compilation problem in Debug mode for PoissonLogLikelihoodWithL…
Jul 4, 2013
8f70744
fixed documentation for coordinate system for motion vectors (and min…
Jul 4, 2013
5ff66d9
minor changes for swig compatibility
Jul 14, 2013
6df2219
updates to swig files
Jul 16, 2013
5c8de42
added a few tests for python numpy capabilities
Jul 19, 2013
29ee197
inserted using std::cout in a few utilities to compensate for its rem…
Jul 20, 2013
6c33fde
small updates to test scrips
Jul 20, 2013
92147b8
InputStreamWithRecords: corrected BUG in memory allocation (introduce…
Jul 20, 2013
5170222
changed version numbers and updated release notes
Jul 20, 2013
2c9b537
removed contrib/Motion_files_KCL/Documentation/Software_Description.t…
Jul 20, 2013
202ee83
fixes for MPI
Jul 23, 2013
d2f6538
added spatial_transformation as doxygengroup
Jul 24, 2013
004d8f0
minor corrections to STIR-UsersGuide
Jul 24, 2013
49deb62
minor changes to test_Array
Jul 24, 2013
cb299c5
update copyright
Jul 29, 2013
4499fc5
revised IO-tests in test_Array.
Jul 30, 2013
6a2c66d
changes to test-macros for CMake to allow linking without the registr…
Jul 30, 2013
334d5f5
updated release_2.3.htm to add memory allocation bug in list mode pro…
Jul 30, 2013
e821111
changes related to reading file signature
Jul 31, 2013
a3c0a5a
updated Doxyfile
Jul 31, 2013
f442a0d
test_Array update, now also succeeds on gcc 4.8.1 (which give larger …
Jul 31, 2013
0e48ba0
update to RunTests to accept std::string as opposed to const char *c…
Jul 31, 2013
a4c530d
interfile parsing of image header: removed warning about setting orig…
Jul 31, 2013
124906f
added run_scatter_tests.sh to the recon_test_pack (comparing with res…
Jul 31, 2013
0e2455c
modifications to the scatter estimation code
Jul 31, 2013
ff28c62
list_lm_events: reset output-format to decimal after printing a gatin…
Jul 31, 2013
9e6bffd
added Siemens mMR details (and add 1080 as a "name" for the Biograph 16)
Jul 31, 2013
9f08be1
fixed possible race-condition in OPENMP version of FBP2D
Jul 31, 2013
89bf28c
minor change in test_Array
Jul 31, 2013
9bd46a4
added latest features/bug-fixes to release_2.4
Jul 31, 2013
cacfd05
moved a few tests in test/CMakeLists.txt back to compilation "with re…
Jul 31, 2013
0d0514e
final changes to release_2.4.htm
Aug 7, 2013
50305bd
added thanks to Irene in release notes
Aug 9, 2013
860fff5
commit of changes related to SPECT (authors: Berta Marti Fuster, Carl…
Nov 3, 2013
c1a64f5
some clean-up of SPECTUB code (moved to SPECTUB namespace, some doxyg…
Nov 3, 2013
66446d9
minor fix for std::auto_ptr to get it to compile with CLang 5.0
Nov 4, 2013
29d223c
small fixes to interfile_keyword_functions.* (guard against multiple …
Nov 4, 2013
c344096
various fixes for ITK IO and added tests. It works now (aside from or…
Nov 6, 2013
743c783
added 2 sample parameter files (for SPECT and for ITK image output)
Nov 6, 2013
8f81f8b
added interpolation matrix to user's guide (somehow got forgotten bef…
Nov 14, 2013
c907aec
modified ProjDataInfoCylindrical::get_tantheta slightly to allow s>R …
Nov 14, 2013
769665a
in main CMakeLists.txt, no longer add local subdirectory. Leave that …
Nov 14, 2013
93d4e65
added more examples of shapes to sample generate_image.par
Nov 14, 2013
ca7cbbd
corrected doxygen in EllipsoidalCylinder
Nov 14, 2013
af06a74
addition of samples/PET_simulation
Nov 16, 2013
e69230e
removed unused typedefs in BSplines_coef.inl to avoid compiler warnings
Dec 24, 2013
509aa7a
fix small memory leak in ProjMatrixByBinSPECTUB (delete Rrad)
Dec 24, 2013
e6480c5
corrected BUG in writing usage message of conv_SimSET_projdata_to_STIR
Dec 27, 2013
eef61ae
in run_eat_tests.sh, remove all output of a previous run as otherwise…
Dec 30, 2013
f825c00
add optional bool to KeyParser::parse to silence warnings
Dec 30, 2013
2a91b09
when not using c++11, disable 2 constructors in LORCoordinates which …
Dec 30, 2013
7794480
corrected spelling mistake in test/CMakeLists.txt (test_ITKDefaultOut…
Dec 31, 2013
87b4594
moved ITK before ECAT6 in InputFileFormatRegistry such that it's trie…
Dec 31, 2013
9803400
first version of release_3.0.htm
Dec 31, 2013
67f30d2
Major update related to IO keeping more information such as modality,…
Dec 31, 2013
102c0fe
CMake changes for tests
Jan 2, 2014
5a1d98b
corrected ECAT7 code in TimeFrameDefinitions.cxx
Jan 2, 2014
3186d37
attempt at removing warning in IRfilters.inl, but it didn't work, so …
Jan 2, 2014
6f9995b
read in data sinogram by sinogram as opposed to one big chunck.
Jan 2, 2014
23e5fb7
minor updates to release notes for 3.0
Jan 2, 2014
94d76d7
in conv_gipl_to_interfile, handle upper boundaries of arrays in a saf…
Jan 2, 2014
460d698
add 3rd argument to BSplines templates to specify type of internal co…
Jan 2, 2014
ef80a5e
small fixes to SPECT Interfile IO
Jan 3, 2014
44c375c
fix keeping ExamInfo in fwdtest
Jan 3, 2014
6ff5e19
CMake changes for tests
Jan 3, 2014
e2ba7b5
Minor fixes to reduce number of warnings by MSVC
Jan 3, 2014
96b4120
Changed reporting of timings in SPECTUB proj matrix
Jan 3, 2014
97b6df3
Let list_projdata_info write a bit more info suitable for SPECT Data
Jan 3, 2014
b6bc71a
changes to Interfile IO
Jan 3, 2014
bd8e070
BUG FIX: ECAT966ListmodeInputFileFormat never worked before
Jan 4, 2014
379e678
Updates to CListModeData (WARNING: NOT BACKWARDS COMPATIBLE) and BUG …
Jan 4, 2014
f654965
updated copyright
Jan 4, 2014
36f2202
removed unused variables in interfile.cxx
Jan 4, 2014
3378b00
BUG fix in MPI code
Jan 4, 2014
3e3b46a
fixes in MPI code (and test) for POSMAPOSL and PSOSSPS
Jan 4, 2014
e94b5b5
updates to recon_test_pack to be able to run MPI executables (and bum…
Jan 4, 2014
d58ef0c
added parameters in doxygen of ITKOutputFileFormat
Jan 4, 2014
f8bd76f
updated User's Guide
Jan 5, 2014
5f37853
STIR MPI programs now exit immediatelly when only 1 processor is avai…
Jan 5, 2014
91ada13
report azimuthal angle extent as absolute value
Jan 5, 2014
67c8fbf
corrected azimuthal angle increment and start for SPECT UB
Jan 5, 2014
03ca577
Modify CMake files such that STIR MPI tests work properly
Jan 6, 2014
de8b67e
SPECT Interfile IO: fix z-spacing
Jan 6, 2014
fd11fe4
SPECTUB matrix: corrected 3D PSF (author: Carles Falcon)
Jan 6, 2014
488c1e0
small modifications to the example PET_simulation scripts
Jan 9, 2014
94038f2
minor update of parameter file parsing of the SPECT UB projection matrix
Jan 11, 2014
c0b5198
more SPECT into the User's Guide
Jan 11, 2014
363c614
minor edits to STIR-UsersGuide
Jan 11, 2014
5795e79
tiny fixes in PoissonLogLikelihoodWithLinearModelForMeanAndProjData.cxx
Jan 12, 2014
8280e3c
added extra set/get pairs to ProjMatrixByBinUsingRayTracing
Jan 12, 2014
9d064d4
make the ray-tracing projection matrix the default projector in most …
Jan 12, 2014
f232f6d
CMake files: make BUILD_SWIG_OCTAVE an advanced option (to hide it fo…
Jan 13, 2014
e7d5a4e
documentation Makefile: add "doc_as_html" target and clean-up
Jan 13, 2014
864abc0
documentation Makefile: fixed copyright
Jan 13, 2014
cdd86c9
PoissonLogLikelihoodWithLinearModelForMean: change default of use_sub…
Jan 13, 2014
62eb45d
updates to documentation
Jan 13, 2014
828a185
removed obsolete project files for Visual Studio. Use CMake instead
Jan 13, 2014
10b0e0c
- updated for release of version 3.0alpha
Jan 13, 2014
93b5bee
added recon_test_pack tests for SPECT reconstruction (KT with Berta M…
Jan 13, 2014
e0d9d23
final updates to documentation before release of 3.0alpha
Jan 13, 2014
e022925
disable some warnings for Visual Studio in OutputFileFormat.cxx
Jan 27, 2014
b178e40
Handle multi-file DICOMs via ITK IO
Jan 27, 2014
2628ff0
modified get_directory_name in utilities.cxx to return "." if the dir…
Jan 27, 2014
1b77f1c
removed spurious text in comments (copy-paste mistake) in conv_GATE_r…
Jan 27, 2014
6e38f38
minor code-cleanup (mostly due to removing "using std::*" statements …
Jan 27, 2014
20f77f3
corrected script in PET_simulation
Jan 30, 2014
28e98f1
small update to contrib documentation
Feb 13, 2014
742cf06
remove CVS keywords
Feb 14, 2014
b235f5e
added .gitignore and removed some obsolete files
KrisThielemans Feb 15, 2014
18d5e1f
removed .cvsignore and a few more obsolete files
KrisThielemans Feb 15, 2014
abf1be8
fixed SSRB command line processing
KrisThielemans Feb 17, 2014
7d56772
updates to git configuration files
KrisThielemans Feb 18, 2014
b1d8d1d
fixed error in auto-removing of CVS keyword
KrisThielemans Feb 21, 2014
db9421e
updated values for Siemens mMR a bit (arc-corrected bin-size and buck…
KrisThielemans Mar 1, 2014
a5639b1
relaxed check on reproducibility in recon_test_pack/run_scatter_tests.sh
KrisThielemans Mar 2, 2014
7f0395a
minor bug fixes instructed in 3.0 alpha
KrisThielemans Mar 2, 2014
5b0467e
updates to release notes for release 3.0 alpha
KrisThielemans Mar 2, 2014
f4ee3a6
minor updates to extract_segments
KrisThielemans Mar 3, 2014
bf5befd
Let git ignore a few output files
KrisThielemans Mar 4, 2014
4aec607
added forwarad_project and back_project utilities
KrisThielemans Mar 4, 2014
5bf7acd
minor fixes to PET_simulation
KrisThielemans Mar 8, 2014
fcb2d5e
moved files and sub-directories from src to more logical destinations
KrisThielemans Mar 17, 2014
d789302
minor changes for Visual Studio 2013 compatibility (still lots of con…
KrisThielemans Mar 17, 2014
2e3da74
final updates for 3.0 beta
KrisThielemans Mar 18, 2014
f33d139
added documentation/STIR_FBP3DRP.pdf as no easy way to convert rtf to…
KrisThielemans Mar 18, 2014
ce28c2a
merged the nGPOSMAPOSL and RLMCIR code
nkarakatsanis Mar 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*.v -text -diff
*.s -text -diff
*.scn -text -diff
*.sh eol=lf
*.jpg -text -diff
*.png -text -diff
*.gif -text -diff
*.pdf -text -diff
*.eps -text -diff
66 changes: 66 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Compiled Python
__pycache__/
*.py[cod]


# Executables
*.exe
*.out
*.app

# CMake temporary output

CMakeCache.txt
CMakeFiles
cmake_install.cmake
install_manifest.txt

## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc

## Intermediate documents:
*.dvi

## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.run.xml


# Common editor backups
~$*
*~
*.bak

# Ignore Visual Studio User-specific files
*.suo
*.user
*.sln.docstates


33 changes: 33 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This file is part of STIR.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# This file is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# See STIR/LICENSE.txt for details

# cmake file for building STIR. See the STIR User's Guide and http://www.cmake.org.

# avoid warning about WIN32 no longer defined in CYGWIN
set(CMAKE_LEGACY_CYGWIN_WIN32 0)

PROJECT(STIR)

SET_PROPERTY(GLOBAL PROPERTY USE_FOLDERS ON)
# require 2.8.3 to get FOLDER properties support (without that, we only need cmake 2.6)
cmake_minimum_required(VERSION 2.8.3)

# add project source to cmake path such that it can use our find_package modules and .cmake files
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/src/cmake)

#### enable support for ctest
ENABLE_TESTING()

ADD_SUBDIRECTORY(src)
ADD_SUBDIRECTORY(scripts)
94 changes: 94 additions & 0 deletions GPL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.

59 Temple Place - Suite 330, Boston, MA 02111-1307, USA



Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

Preamble
The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too.

When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.

To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.

For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.

We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.

Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.

Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.

The precise terms and conditions for copying, distribution and modification follow.

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.

1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.

You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.

2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:

� a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.

� b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.

� c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)

These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.

Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.

In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.

3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:

� a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,

� b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,

� c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)

The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.

If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.

4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.

5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.

6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.

7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.

If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.

It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.

This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.

8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.

9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.

10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.

NO WARRANTY

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES


Loading