OpenStructure
build-2.9.0-doc
stage
include
ost
img
data_types.hh
Go to the documentation of this file.
1
//------------------------------------------------------------------------------
2
// This file is part of the OpenStructure project <www.openstructure.org>
3
//
4
// Copyright (C) 2008-2020 by the OpenStructure authors
5
// Copyright (C) 2003-2010 by the IPLT authors
6
//
7
// This library is free software; you can redistribute it and/or modify it under
8
// the terms of the GNU Lesser General Public License as published by the Free
9
// Software Foundation; either version 3.0 of the License, or (at your option)
10
// any later version.
11
// This library is distributed in the hope that it will be useful, but WITHOUT
12
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13
// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
14
// details.
15
//
16
// You should have received a copy of the GNU Lesser General Public License
17
// along with this library; if not, write to the Free Software Foundation, Inc.,
18
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
//------------------------------------------------------------------------------
20
21
/*
22
abstract base class for generic data
23
24
Author: Ansgar Philippsen
25
*/
26
27
#ifndef IMG_DATA_TYPES_H
28
#define IMG_DATA_TYPES_H
29
30
#include <
ost/base.hh
>
31
32
33
namespace
ost
{
namespace
img {
34
35
36
37
enum
DataType
{
REAL
=0,
38
COMPLEX
,
39
WORD
,
40
DEFAULTTYPE
41
};
42
enum
DataDomain
{
SPATIAL
=0,
43
FREQUENCY
,
44
HALF_FREQUENCY
,
45
DEFAULTDOMAIN
46
};
47
48
#ifdef IGNORE
49
#undef IGNORE
50
#endif
51
enum
DivZeroMethod
{
SET_ZERO
=0,
52
DIV_EPS
=1,
53
INTERPOLATE
54
};
55
56
enum
DomainToColorMode
{
MODULUS
,
57
PHASECOLOR
58
};
59
60
}}
// namespace img
61
62
#endif
base.hh
ost::img::DomainToColorMode
DomainToColorMode
Definition:
data_types.hh:56
ost::img::MODULUS
@ MODULUS
Definition:
data_types.hh:56
ost::img::PHASECOLOR
@ PHASECOLOR
Definition:
data_types.hh:57
ost::img::DivZeroMethod
DivZeroMethod
data domain
Definition:
data_types.hh:51
ost::img::SET_ZERO
@ SET_ZERO
Definition:
data_types.hh:51
ost::img::INTERPOLATE
@ INTERPOLATE
Definition:
data_types.hh:53
ost::img::DIV_EPS
@ DIV_EPS
Definition:
data_types.hh:52
ost::img::DataDomain
DataDomain
underlying data type
Definition:
data_types.hh:42
ost::img::DEFAULTDOMAIN
@ DEFAULTDOMAIN
Definition:
data_types.hh:45
ost::img::FREQUENCY
@ FREQUENCY
Definition:
data_types.hh:43
ost::img::SPATIAL
@ SPATIAL
Definition:
data_types.hh:42
ost::img::HALF_FREQUENCY
@ HALF_FREQUENCY
Definition:
data_types.hh:44
ost::img::DataType
DataType
Definition:
data_types.hh:37
ost::img::REAL
@ REAL
Definition:
data_types.hh:37
ost::img::WORD
@ WORD
Definition:
data_types.hh:39
ost::img::COMPLEX
@ COMPLEX
Definition:
data_types.hh:38
ost::img::DEFAULTTYPE
@ DEFAULTTYPE
Definition:
data_types.hh:40
ost
Definition:
base.dox:1
Generated by
1.9.1