Hugintrunk
0.1
|
#include <CalculateOptimalScale.h>
Public Member Functions | |
SetWidthOptimal (PanoramaData &panorama) | |
virtual | ~SetWidthOptimal () |
virtual bool | modifiesPanoramaData () const |
returns true if the algorithm changes the PanoramaData. More... | |
virtual bool | runAlgorithm () |
implementation of the algorithm. More... | |
Public Member Functions inherited from HuginBase::CalculateOptimalScale | |
CalculateOptimalScale (PanoramaData &panorama) | |
virtual | ~CalculateOptimalScale () |
virtual double | getResultOptimalScale () |
virtual unsigned | getResultOptimalWidth () |
Public Member Functions inherited from HuginBase::PanoramaAlgorithm | |
virtual | ~PanoramaAlgorithm () |
virtual bool | hasRunSuccessfully () |
virtual void | run () |
runs the algorithm. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from HuginBase::CalculateOptimalScale | |
static double | calcOptimalScale (PanoramaData &panorama) |
static double | calcOptimalPanoScale (const SrcPanoImage &src, const PanoramaOptions &dest) |
function to calculate the scaling factor so that the distances in the input image and panorama image are similar at the panorama center More... | |
Protected Member Functions inherited from HuginBase::PanoramaAlgorithm | |
PanoramaAlgorithm (PanoramaData &panorama) | |
Protected Attributes inherited from HuginBase::CalculateOptimalScale | |
double | o_optimalScale |
Protected Attributes inherited from HuginBase::PanoramaAlgorithm | |
PanoramaData & | o_panorama |
bool | o_successful |
Definition at line 96 of file CalculateOptimalScale.h.
|
inlineexplicit |
Definition at line 100 of file CalculateOptimalScale.h.
|
inlinevirtual |
Definition at line 105 of file CalculateOptimalScale.h.
|
inlinevirtual |
returns true if the algorithm changes the PanoramaData.
Reimplemented from HuginBase::CalculateOptimalScale.
Definition at line 111 of file CalculateOptimalScale.h.
|
inlinevirtual |
implementation of the algorithm.
You should override with your algorithm's implementiation.
Reimplemented from HuginBase::CalculateOptimalScale.
Definition at line 115 of file CalculateOptimalScale.h.
References HuginBase::PanoramaData::getOptions(), HuginBase::CalculateOptimalScale::getResultOptimalWidth(), HuginBase::PanoramaAlgorithm::o_panorama, HuginBase::CalculateOptimalScale::runAlgorithm(), HuginBase::PanoramaData::setOptions(), and HuginBase::PanoramaOptions::setWidth().