Class BackgroundControl¶
Defined in File Background.h
Class Documentation¶
-
class
BackgroundControl Pass parameters to a Background object
Public Functions
-
BackgroundControl(int const nxSample, int const nySample, StatisticsControl const sctrl = StatisticsControl(), Property const prop = MEANCLIP, ApproximateControl const actrl = ApproximateControl(ApproximateControl::UNKNOWN, ))¶ - Parameters
nxSample: Num. grid samples in xnySample: Num. grid samples in ysctrl: Configuration for Stats to be computedprop: statistical property to use for grid pointsactrl: configuration for approx to be computed
-
BackgroundControl(int const nxSample, int const nySample, StatisticsControl const &sctrl, std::string const &prop, ApproximateControl const actrl = ApproximateControl(ApproximateControl::UNKNOWN, ))¶ Overload constructor to handle string for statistical operator
- Parameters
nxSample: num. grid samples in xnySample: num. grid samples in ysctrl: configuration for stats to be computedprop: statistical property to use for grid pointsactrl: configuration for approx to be computed
-
BackgroundControl(Interpolate::Style const style, int const nxSample = 10, int const nySample = 10, UndersampleStyle const undersampleStyle = THROW_EXCEPTION, StatisticsControl const sctrl = StatisticsControl(), Property const prop = MEANCLIP, ApproximateControl const actrl = ApproximateControl(ApproximateControl::UNKNOWN, ))¶ -
- Parameters
style: Style of the interpolationnxSample: Num. grid samples in xnySample: Num. grid samples in yundersampleStyle: Behaviour if there are too few pointssctrl: Configuration for Stats to be computedprop: statistical property to use for grid pointsactrl: configuration for approx to be computed
-
BackgroundControl(std::string const &style, int const nxSample = 10, int const nySample = 10, std::string const &undersampleStyle = "THROW_EXCEPTION", StatisticsControl const sctrl = StatisticsControl(), std::string const &prop = "MEANCLIP", ApproximateControl const actrl = ApproximateControl(ApproximateControl::UNKNOWN, ))¶ Overload constructor to handle strings for both interp and undersample styles.
- Parameters
style: Style of the interpolationnxSample: num. grid samples in xnySample: num. grid samples in yundersampleStyle: behaviour if there are too few pointssctrl: configuration for stats to be computedprop: statistical property to use for grid pointsactrl: configuration for approx to be computed
-
BackgroundControl(BackgroundControl const&)¶
-
BackgroundControl(BackgroundControl&&)¶
-
BackgroundControl &
operator=(BackgroundControl const&)¶
-
BackgroundControl &
operator=(BackgroundControl&&)¶
-
virtual
~BackgroundControl()¶
-
void
setNxSample(int nxSample)¶
-
void
setNySample(int nySample)¶
-
void
setInterpStyle(Interpolate::Style const style)¶
-
void
setUndersampleStyle(UndersampleStyle const undersampleStyle)¶
-
int
getNxSample() const¶
-
int
getNySample() const¶
-
Interpolate::Style
getInterpStyle() const¶
-
UndersampleStyle
getUndersampleStyle() const¶
-
std::shared_ptr<StatisticsControl>
getStatisticsControl()¶
-
std::shared_ptr<StatisticsControl const>
getStatisticsControl() const¶
-
std::shared_ptr<ApproximateControl>
getApproximateControl()¶
-
std::shared_ptr<ApproximateControl const>
getApproximateControl() const¶
-