39 Module(
"SplineFill", c), _filled(0) {
45 Module(
"SplineFill"), _filled(0) {
50 Module(
"SplineFill", h), _filled(0) {
64 inline int Filled()
const {
return (_filled); }
69 QString formHistory() {
71 return (QString(
"SplineFill(Cubic,Filled[" + cfilled +
"])"));
76 for (
int i = 0 ; i < v.dim() ; i++) {
78 spline.AddData(i, v[i]);
85 for (
int j = 0 ; j < v.dim() ; j++) {
Definition HiCalTypes.h:30
void clear()
Definition HiCalTypes.h:65
void add(const QString &event)
Definition HiCalTypes.h:55
Module manages HiRISE calibration vectors from various sources.
Definition Module.h:39
HiVector _data
Data vector.
Definition Module.h:151
HiHistory _history
Hierarchial component history.
Definition Module.h:152
@ CubicNatural
Cubic Spline interpolation with natural boundary conditions.
Definition NumericalApproximation.h:734
@ NearestEndpoint
Evaluate() returns the y-value of the nearest endpoint if a is outside of the domain.
Definition NumericalApproximation.h:817
Compute a low pass filter from a Module class content.
Definition SplineFill.h:32
SplineFill()
Definition SplineFill.h:36
SplineFill(const HiVector &v, const HiHistory &h)
Definition SplineFill.h:49
void Process(const HiVector &v)
Default processing behavior makes a reference copy of data array.
Definition SplineFill.h:58
SplineFill(const HiVector &v)
Definition SplineFill.h:44
virtual ~SplineFill()
Destructor.
Definition SplineFill.h:56
SplineFill(const Module &c)
Definition SplineFill.h:38
int Filled() const
Definition SplineFill.h:64
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition IString.cpp:211
bool IsSpecial(const double d)
Returns if the input pixel is special.
Definition SpecialPixel.h:197
TNT::Array1D< double > HiVector
1-D Buffer
Definition HiCalTypes.h:27