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>
25 #include "itkParameterFileParser.h"
26 #include "elxMacro.h"
27 
28 /********************************************************************************
29  * *
30  * Class definition *
31  * *
32  ********************************************************************************/
33 namespace transformix
34 {
35 
37 {
38 public:
39 
40  //typedefs for images
41  typedef itk::DataObject Image;
42  typedef Image::Pointer ImagePointer;
43 
44  //typedefs for parameter map
47  typedef std::vector< itk::ParameterFileParser::ParameterMapType > ParameterMapListType;
48 
50  TRANSFORMIX();
51  virtual ~TRANSFORMIX();
52 
58  int TransformImage( ImagePointer inputImage,
59  ParameterMapType & parameterMap,
60  std::string outputPath,
61  bool performLogging,
62  bool performCout );
63 
69  int TransformImage( ImagePointer inputImage,
70  std::vector< ParameterMapType > & parameterMaps,
71  std::string outputPath,
72  bool performLogging,
73  bool performCout );
74 
76  ImagePointer GetResultImage( void );
77 
78  std::string ConvertSecondsToDHMS( const double totalSeconds, const unsigned int precision = 0 );
79 
80  std::string GetCurrentDateAndTime( void );
81 
82 private:
83 
84  ImagePointer m_ResultImage;
85 
86 };
87 
88 // end class TRANSFORMIX
89 
90 } // namespace transformix
91 
92 #endif // end #ifndef __transformixlib_h
std::map< std::string, ParameterValuesType > ParameterMapType
std::vector< itk::ParameterFileParser::ParameterMapType > ParameterMapListType
itk::ParameterFileParser::ParameterValuesType ParameterValuesType
std::string GetCurrentDateAndTime(void)
Definition: elastix.h:89
Image::Pointer ImagePointer
std::string ConvertSecondsToDHMS(const double totalSeconds, const unsigned int precision=0)
Definition: elastix.h:51
std::vector< std::string > ParameterValuesType
itk::ParameterFileParser::ParameterMapType ParameterMapType
#define ELASTIXLIB_API
Definition: elxMacro.h:301


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.13 elastix logo