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 
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 
77 
78  std::string ConvertSecondsToDHMS( const double totalSeconds, const unsigned int precision = 0 );
79 
80  std::string GetCurrentDateAndTime( void );
81 
82 private:
83 
85 
86 };
87 
88 // end class TRANSFORMIX
89 
90 } // namespace transformix
91 
92 #endif // end #ifndef __transformixlib_h
transformix::TRANSFORMIX::ParameterMapListType
std::vector< itk::ParameterFileParser::ParameterMapType > ParameterMapListType
Definition: transformixlib.h:47
ELASTIXLIB_API
#define ELASTIXLIB_API
Definition: elxMacro.h:301
transformix::TRANSFORMIX::TRANSFORMIX
TRANSFORMIX()
itk::ParameterFileParser::ParameterMapType
std::map< std::string, ParameterValuesType > ParameterMapType
Definition: itkParameterFileParser.h:99
transformix::TRANSFORMIX::ConvertSecondsToDHMS
std::string ConvertSecondsToDHMS(const double totalSeconds, const unsigned int precision=0)
transformix::TRANSFORMIX::~TRANSFORMIX
virtual ~TRANSFORMIX()
transformix::TRANSFORMIX::ParameterValuesType
itk::ParameterFileParser::ParameterValuesType ParameterValuesType
Definition: transformixlib.h:45
transformix::TRANSFORMIX::GetResultImage
ImagePointer GetResultImage(void)
itk::ParameterFileParser::ParameterValuesType
std::vector< std::string > ParameterValuesType
Definition: itkParameterFileParser.h:93
transformix::TRANSFORMIX::m_ResultImage
ImagePointer m_ResultImage
Definition: transformixlib.h:84
transformix::TRANSFORMIX::ImagePointer
Image::Pointer ImagePointer
Definition: transformixlib.h:42
transformix
Definition: transformixlib.h:34
itkParameterFileParser.h
transformix::TRANSFORMIX::Image
itk::DataObject Image
Definition: transformixlib.h:41
transformix::TRANSFORMIX::TransformImage
int TransformImage(ImagePointer inputImage, ParameterMapType &parameterMap, std::string outputPath, bool performLogging, bool performCout)
transformix::TRANSFORMIX::ParameterMapType
itk::ParameterFileParser::ParameterMapType ParameterMapType
Definition: transformixlib.h:46
transformix::TRANSFORMIX::TransformImage
int TransformImage(ImagePointer inputImage, std::vector< ParameterMapType > &parameterMaps, std::string outputPath, bool performLogging, bool performCout)
transformix::TRANSFORMIX
Definition: transformixlib.h:37
transformix::TRANSFORMIX::GetCurrentDateAndTime
std::string GetCurrentDateAndTime(void)
elxMacro.h


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.20 elastix logo