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

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