go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
transformixlib.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright UMC Utrecht and contributors
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef transformixlib_h
19#define transformixlib_h
20
24#include <itkDataObject.h>
26#include "elxMacro.h"
27
28/********************************************************************************
29 * *
30 * Class definition *
31 * *
32 ********************************************************************************/
33namespace transformix
34{
35
37{
38public:
39 // typedefs for images
40 using Image = itk::DataObject;
41 using ImagePointer = Image::Pointer;
42 using ConstImagePointer = Image::ConstPointer;
43
44 // typedefs for parameter map
47 using ParameterMapListType = std::vector<itk::ParameterFileParser::ParameterMapType>;
48
51 virtual ~TRANSFORMIX();
52
58 int
60 ParameterMapType & parameterMap,
61 std::string outputPath,
62 bool performLogging,
63 bool performCout);
64
70 int
72 std::vector<ParameterMapType> & parameterMaps,
73 const std::string & outputPath,
74 bool performLogging,
75 bool performCout);
76
80
84
85private:
87};
88
89// end class TRANSFORMIX
90
91} // namespace transformix
92
93#endif // end #ifndef transformixlib_h
std::map< std::string, ParameterValuesType > ParameterMapType
std::vector< std::string > ParameterValuesType
std::vector< itk::ParameterFileParser::ParameterMapType > ParameterMapListType
Image::Pointer ImagePointer
int TransformImage(ImagePointer inputImage, std::vector< ParameterMapType > &parameterMaps, const std::string &outputPath, bool performLogging, bool performCout)
int TransformImage(ImagePointer inputImage, ParameterMapType &parameterMap, std::string outputPath, bool performLogging, bool performCout)
ImagePointer GetResultImage()
Image::ConstPointer ConstImagePointer
ConstImagePointer GetResultImage() const
itk::ParameterFileParser::ParameterValuesType ParameterValuesType
itk::ParameterFileParser::ParameterMapType ParameterMapType
#define ELASTIXLIB_API
Definition: elxMacro.h:198


Generated on 2023-01-13 for elastix by doxygen 1.9.6 elastix logo