Template Class Approximate¶
Defined in File Approximate.h
Class Documentation¶
-
template<typename
PixelT>
classApproximate¶ Approximate values for a MaskedImage
Public Types
-
typedef float
OutPixelT¶ The pixel type of returned images.
Public Functions
-
Approximate(Approximate const&)¶
-
Approximate(Approximate&&)¶
-
Approximate &
operator=(Approximate const&)¶
-
Approximate &
operator=(Approximate&&)¶
-
virtual
~Approximate()¶ dtor
Protected Functions
-
Approximate(std::vector<double> const &x, std::vector<double> const &y, lsst::geom::Box2I const &bbox, ApproximateControl const &ctrl)¶ - Parameters
x: the x-values of pointsy: the y-values of pointsbbox: Range where approximation should be validctrl: desired approximation algorithm
Base class ctor
Protected Attributes
-
std::vector<double> const
_xVec¶ the x-values of points
-
std::vector<double> const
_yVec¶ the y-values of points
-
ApproximateControl const
_ctrl¶ desired approximation algorithm
Friends
-
std::shared_ptr<Approximate<PixelT>>
makeApproximate(std::vector<double> const &x, std::vector<double> const &y, image::MaskedImage<PixelT> const &im, lsst::geom::Box2I const &bbox, ApproximateControl const &ctrl)¶ Construct a new Approximate object, inferring the type from the type of the given MaskedImage.
- Parameters
x: the x-values of pointsy: the y-values of pointsim: The values at (x, y)bbox: Range where approximation should be validctrl: desired approximation algorithm
-
typedef float