lsst.afw
14.0-25-g0e8fc950e+3
include
lsst
afw
geom
SeparableXYTransform.h
Go to the documentation of this file.
1
// -*- lsst-c++ -*-
2
3
/*
4
* LSST Data Management System
5
* Copyright 2015 LSST Corporation.
6
*
7
* This product includes software developed by the
8
* LSST Project (http://www.lsst.org/).
9
*
10
* This program is free software: you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation, either version 3 of the License, or
13
* (at your option) any later version.
14
*
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU General Public License for more details.
19
*
20
* You should have received a copy of the LSST License Statement and
21
* the GNU General Public License along with this program. If not,
22
* see <http://www.lsstcorp.org/LegalNotices/>.
23
*/
24
25
/*
26
* Class representing a 2D transform for which the pixel
27
* distortions in the x- and y-directions are separable.
28
*/
29
30
#ifndef LSST_AFW_GEOM_SEPARABLEXYTRANSFORM_H
31
#define LSST_AFW_GEOM_SEPARABLEXYTRANSFORM_H
32
33
#include "
lsst/afw/geom/XYTransform.h
"
34
35
namespace
lsst
{
36
namespace
afw {
37
namespace
geom {
38
39
class
Functor;
40
52
class
SeparableXYTransform
:
public
XYTransform
{
53
public
:
59
SeparableXYTransform
(
Functor
const
& xfunctor,
Functor
const
& yfunctor);
60
61
virtual
~SeparableXYTransform
() {}
62
63
virtual
std::shared_ptr<XYTransform>
clone
()
const
;
64
72
virtual
Point2D
forwardTransform
(
Point2D
const
& point)
const
;
73
80
virtual
Point2D
reverseTransform
(
Point2D
const
& point)
const
;
81
83
Functor
const
&
getXfunctor
()
const
;
84
86
Functor
const
&
getYfunctor
()
const
;
87
88
private
:
89
std::shared_ptr<Functor>
_xfunctor;
90
std::shared_ptr<Functor>
_yfunctor;
91
};
92
93
}
// namespace geom
94
}
// namespace af
95
}
// namespace lsst
96
97
#endif // LSST_AFW_GEOM_SEPARABLEXYTRANSFORM_H
std::shared_ptr
lsst::afw::geom::SeparableXYTransform::getYfunctor
Functor const & getYfunctor() const
lsst::afw::geom::SeparableXYTransform::clone
virtual std::shared_ptr< XYTransform > clone() const
returns a deep copy
lsst::afw::geom::Point< double, 2 >
lsst::afw::geom::SeparableXYTransform::getXfunctor
Functor const & getXfunctor() const
lsst
A base class for image defects.
lsst::afw::geom::SeparableXYTransform::SeparableXYTransform
SeparableXYTransform(Functor const &xfunctor, Functor const &yfunctor)
lsst::afw::geom::SeparableXYTransform
A 2D transform for which the pixel distortions in the in the x- and y-directions are separable...
Definition:
SeparableXYTransform.h:52
lsst::afw::geom::SeparableXYTransform::~SeparableXYTransform
virtual ~SeparableXYTransform()
Definition:
SeparableXYTransform.h:61
lsst::afw::geom::XYTransform
Virtual base class for 2D transforms.
Definition:
XYTransform.h:49
lsst::afw::geom::SeparableXYTransform::reverseTransform
virtual Point2D reverseTransform(Point2D const &point) const
lsst::afw::geom::Functor
Abstract base class for function objects.
Definition:
Functor.h:50
XYTransform.h
lsst::afw::geom::SeparableXYTransform::forwardTransform
virtual Point2D forwardTransform(Point2D const &point) const
Generated on Tue Dec 5 2017 09:06:26 for lsst.afw by
1.8.13