#include <OnlySmooth.h>
Definition at line 30 of file OnlySmooth.h.
◆ ~OnlySmooth()
ModelFitting::OnlySmooth::~OnlySmooth |
( |
| ) |
|
|
virtualdefault |
◆ insideSharpRegion()
bool ModelFitting::OnlySmooth::insideSharpRegion |
( |
double |
r | ) |
|
|
overridevirtual |
◆ nextRadiusAndAngleNo()
std::pair< double, int > ModelFitting::OnlySmooth::nextRadiusAndAngleNo |
( |
double |
prev_r | ) |
|
|
overridevirtual |
Computes the next sampling distance, and how many points around the circumference must be sampled at this distance.
- Parameters
-
prev_r | Previous sampling distance. 0 for the first call. |
- Returns
- A pair, where the first element is the distance from the center (radius), and the second is the number of sample points are to be taken: if, for instance, it were 4, then four samples must be taken at angles 0, pi/4, pi and pi*3/4
Implements ModelFitting::SharpRegionManager.
Definition at line 37 of file OnlySmooth.cpp.
References std::make_pair().
◆ updateRasterizationInfo()
void ModelFitting::OnlySmooth::updateRasterizationInfo |
( |
double |
scale, |
|
|
double |
r_max, |
|
|
Profile |
profile |
|
) |
| |
|
overridevirtual |
Allows the region manager to update whatever internal information it needs to decide on the sharp region that needs sampling.
- Parameters
-
scale | Pixel scale |
r_max | Limit the sampling region to this value |
profile | Profile to be oversampled. It can be used to adjust to the actual function. |
Implements ModelFitting::SharpRegionManager.
Definition at line 29 of file OnlySmooth.cpp.
The documentation for this class was generated from the following files: