OpenStructure
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
stage
include
ost
img
image_state
image_state_def.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-2011 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
typedefs for all 'official' image states
23
24
Author: Ansgar Philippsen
25
*/
26
27
#ifndef IMG_IMAGE_STATE_DEF_H
28
#define IMG_IMAGE_STATE_DEF_H
29
30
#include <
ost/base.hh
>
31
32
#include "
image_state_impl.hh
"
33
#include "
image_state_spatial_domain.hh
"
34
#include "
image_state_frequency_domain.hh
"
35
#include "
image_state_half_frequency_domain.hh
"
36
37
namespace
ost {
namespace
img {
namespace
image_state {
38
39
typedef
ImageStateImpl<Real, SpatialDomain>
RealSpatialImageState
;
40
typedef
ImageStateImpl<Real, FrequencyDomain>
RealFrequencyImageState
;
41
typedef
ImageStateImpl<Complex, SpatialDomain>
ComplexSpatialImageState
;
42
typedef
ImageStateImpl<Complex, FrequencyDomain>
ComplexFrequencyImageState
;
43
typedef
ImageStateImpl<Complex, HalfFrequencyDomain>
ComplexHalfFrequencyImageState
;
44
typedef
ImageStateImpl<Word, SpatialDomain>
WordSpatialImageState
;
45
46
47
}
// namespace image_state
48
49
#if defined(OST_MODULE_OST_IMG)
50
# if defined(_MSC_VER)
51
# define OST_DECL_IMAGE_STATE(c, v, d)
52
# else
53
# define OST_DECL_IMAGE_STATE(c, v, d) extern template c TEMPLATE_EXPORT image_state::ImageStateImpl<v, image_state::d>;
54
# endif
55
#else
56
# define OST_DECL_IMAGE_STATE(c, v, d) extern template c DLLIMPORT image_state::ImageStateImpl<v, image_state::d>;
57
#endif
58
59
OST_DECL_IMAGE_STATE
(
class
,
Real
, SpatialDomain)
60
OST_DECL_IMAGE_STATE
(class,
Real
, FrequencyDomain)
61
OST_DECL_IMAGE_STATE
(class,
Complex
, SpatialDomain)
62
OST_DECL_IMAGE_STATE
(class, Complex, FrequencyDomain)
63
OST_DECL_IMAGE_STATE
(class, Complex, HalfFrequencyDomain)
64
OST_DECL_IMAGE_STATE
(class,
Word
, SpatialDomain)
65
66
#undef OST_DECL_IMAGE_STATE
67
68
}}
// namespaces
69
70
#endif
Generated on Mon Nov 5 2012 13:31:02 for OpenStructure by
1.8.1.1