Orfeo Toolbox
3.16
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
OTB
Utilities
ITK
Code
SpatialObject
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
20
#include "
itkEllipseSpatialObject.h
"
21
#include "metaEllipse.h"
22
23
namespace
itk
24
{
25
26
template
<
unsigned
int
NDimensions = 3>
27
class
ITK_EXPORT
MetaEllipseConverter
28
{
29
30
public
:
31
32
MetaEllipseConverter
();
33
~MetaEllipseConverter
() {};
34
35
typedef
itk::EllipseSpatialObject<NDimensions>
SpatialObjectType;
36
typedef
typename
SpatialObjectType::TransformType
TransformType
;
37
38
typedef
typename
SpatialObjectType::Pointer
SpatialObjectPointer
;
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
53
#include "
itkMetaEllipseConverter.txx
"
54
#endif
55
56
57
#endif
Generated at Sat May 18 2013 23:53:38 for
Orfeo Toolbox
with
doxygen 1.8.3.1