Orfeo Toolbox  3.16
itkMetaGroupConverter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkMetaGroupConverter.h,v $
5  Language: C++
6  Date: $Date: 2009-04-07 14:34:05 $
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 =========================================================================*/
17 #ifndef __itkMetaGroupConverter_h
18 #define __itkMetaGroupConverter_h
19 
20 #include "itkGroupSpatialObject.h"
21 #include "metaGroup.h"
22 
23 namespace itk
24 {
25 
26 template <unsigned int NDimensions = 3>
28 {
29 
30 public:
31 
34 
35  typedef itk::GroupSpatialObject<NDimensions> SpatialObjectType;
37 
39 
40  SpatialObjectPointer ReadMeta(const char* name);
41 
42  bool WriteMeta(SpatialObjectType* spatialObject,const char* name);
43 
44  SpatialObjectPointer MetaGroupToGroupSpatialObject(MetaGroup * group);
45  MetaGroup* GroupSpatialObjectToMetaGroup(SpatialObjectType * spatialObject);
46 
47 };
48 
49 } // end namespace itk
50 
51 #ifndef ITK_MANUAL_INSTANTIATION
52  #include "itkMetaGroupConverter.txx"
53 #endif
54 
55 
56 #endif

Generated at Sat Feb 2 2013 23:52:44 for Orfeo Toolbox with doxygen 1.8.1.1