Hugin trunk
0.1
Loading...
Searching...
No Matches
hugin_base
algorithms
nona
CenterHorizontally.h
Go to the documentation of this file.
1
// -*- c-basic-offset: 4 -*-
26
#ifndef _CENTERHORIZONTALLY_H
27
#define _CENTERHORIZONTALLY_H
28
29
#include <
hugin_shared.h
>
30
#include <
algorithms/PanoramaAlgorithm.h
>
31
32
33
34
namespace
HuginBase
{
35
36
37
class
IMPEX
CenterHorizontally
:
public
PanoramaAlgorithm
38
{
39
40
public
:
42
explicit
CenterHorizontally
(
PanoramaData
&
panorama
)
43
:
PanoramaAlgorithm
(
panorama
)
44
{};
45
47
virtual
~CenterHorizontally
()
48
{};
49
50
51
public
:
53
virtual
bool
modifiesPanoramaData
()
const
54
{
return
true
; }
55
57
virtual
bool
runAlgorithm
()
58
{
59
centerHorizontically(o_panorama);
60
return
true
;
// let's hope so.
61
}
62
63
64
public
:
66
static
void
centerHorizontically(
PanoramaData
&
panorama
);
67
68
};
69
70
71
}
// namespace
72
#endif
PanoramaAlgorithm.h
HuginBase::CenterHorizontally
Definition
CenterHorizontally.h:38
HuginBase::CenterHorizontally::CenterHorizontally
CenterHorizontally(PanoramaData &panorama)
Definition
CenterHorizontally.h:42
HuginBase::CenterHorizontally::~CenterHorizontally
virtual ~CenterHorizontally()
Definition
CenterHorizontally.h:47
HuginBase::CenterHorizontally::runAlgorithm
virtual bool runAlgorithm()
implementation of the algorithm.
Definition
CenterHorizontally.h:57
HuginBase::CenterHorizontally::modifiesPanoramaData
virtual bool modifiesPanoramaData() const
returns true if the algorithm changes the PanoramaData.
Definition
CenterHorizontally.h:53
HuginBase::PanoramaAlgorithm
Definition
PanoramaAlgorithm.h:47
HuginBase::PanoramaData
Model for a panorama.
Definition
PanoramaData.h:82
hugin_shared.h
IMPEX
#define IMPEX
Definition
hugin_shared.h:39
HuginBase
mainly consists of wrapper around the pano tools library, to assist in ressource management and to pr...
Definition
wxcms.cpp:39
threshold
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.
Definition
threshold.h:41
Generated on Sun Sep 13 2026 02:49:55 for Hugin trunk by
1.9.8