Orfeo Toolbox  3.16
itkBrains2HeaderFactory.cxx
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkBrains2HeaderFactory.cxx,v $
5  Language: C++
6  Date: $Date: 2007-12-03 13:13:07 $
7  Version: $Revision: 1.4 $
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
20 
21 namespace itk
22 {
25 {
26  if( TypeID == Brains2IPLHeaderInfo().GetHeaderBeginTag() )
27  {
28  return new Brains2IPLHeaderInfo;
29  }
30  else if( TypeID == Brains2MaskHeaderInfo().GetHeaderBeginTag() )
31  {
32  return new Brains2MaskHeaderInfo;
33  }
34 #if 0 //_itkROIHeaderInfo_h
35  else if( TypeID == ROIHeaderInfo().GetHeaderBeginTag() )
36  {
37  return new ROIHeaderInfo;
38  }
39 #endif
40 #if 0
41  else if( TypeID == Brains2TalairachParametersHeaderInfo().GetHeaderBeginTag() )
42  {
43  return new Brains2TalairachParametersHeaderInfo;
44  }
45  assert(0==1);
46 #endif
47  return NULL;
48 }
49 
52 {
54 }
55 
57 {
58  //Do nothing
59 }
61 {
62  //Do nothing
63 }
64 } // end namespace itk

Generated at Sat May 18 2013 23:31:53 for Orfeo Toolbox with doxygen 1.8.3.1