The ITK-Wrapper is located in
"apps/itk_wrapper
" in the voreen directory. It
contains:
a Qt-project-file "itk_wrapper.pro
"
the ITK-Wrapper .cpp
- an
.h
- files "itk_wrapper
",
"baseclasses
" and
"template
"
the xml_Files
directory, containing the XML
files where the ITK filter-definitions are stored
the template
directory, with the general
template text files for the Voreen processor generation
the specialFilters
folder storing filters
that cannot be generated automatically
By default all XML files in the directory
xml_Files
are processed by the wrapper, generating
all predefined filters. Additionally It is possible to use only a specific
set of XML files. An example on the actual use of this option can be found
in the main method of itk_wrapper.cpp
. The generated
Voreen processors are copied to
"module/itk_generated/processors
" in the voreen
directory .
Apart from the processor files the wrapper generates the files
itk_generatedmodule.cpp
,
itk_generated_core.pri
and the
itk_generated_module.xml
.
In order to use the generated ITK processors the
itk_generated
module needs to be included. The
following line has to be added to the Voreen config.txt:
VRN_MODULES += itk_generated
Note:
itk_generated
module depends on
itk
module. Thus activation of the itk module in the
config.txt
is mandatory for using the itk_generated
module.