OpenStructure
Loading...
Searching...
No Matches
polar.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#ifndef IMG_ALG_POLAR_HH
21#define IMG_ALG_POLAR_HH
22
23#include <ost/base.hh>
24#include <ost/img/algorithm.hh>
25
26
27/*
28 author: Andreas Schenk
29*/
30
31
32namespace ost { namespace img { namespace alg {
33
34class DLLEXPORT Polar: public ModOPAlgorithm
35{
36public:
38 Polar(Real sampling);
39 // algorithm interface
41private:
42 Real sampling_;
43};
44
45class DLLEXPORT EllipticPolar: public ModOPAlgorithm
46{
47public:
48 EllipticPolar(Real ratio=1,Real angle=0,Real sampling=1);
49 // algorithm interface
51private:
52 Real ratio_;
53 Real angle_;
54 Real sampling_;
55};
56
57class DLLEXPORT Cartesian: public ModOPAlgorithm
58{
59public:
61 // algorithm interface
63private:
64};
65
66}}} // ns
67
68#endif // IPLT_ALG_POLAR_HH
read-only ImageHandle implementation
Manage shared instances of images.
out-of-place modification algorithm
ImageHandle Visit(const ConstImageHandle &i)
EllipticPolar(Real ratio=1, Real angle=0, Real sampling=1)
ImageHandle Visit(const ConstImageHandle &i)
ImageHandle Visit(const ConstImageHandle &i)
Polar(Real sampling)
float Real
Definition base.hh:44
Definition base.dox:1