Hugin trunk 0.1
Loading...
Searching...
No Matches
RotatePanorama.h
Go to the documentation of this file.
1// -*- c-basic-offset: 4 -*-
26#ifndef _BASICALGORITHMS_ROTATEPANORAMA_H
27#define _BASICALGORITHMS_ROTATEPANORAMA_H
28
29#include <hugin_shared.h>
31
33
34
35namespace HuginBase {
36
37
39{
40
41 public:
46
48 RotatePanorama(PanoramaData& panorama, double yaw, double pitch, double roll);
49
51 virtual ~RotatePanorama() {};
52
53
54 public:
56 static void rotatePano(PanoramaData& panorama, const Matrix3& transformMat);
57
58
59 public:
61 virtual bool modifiesPanoramaData() const
62 { return true; }
63
65 virtual bool runAlgorithm()
66 {
67 rotatePano(o_panorama, o_transformMat);
68 return true; // let's hope so.
69 }
70
71
72 protected:
74};
75
76
77} // namespace
78#endif
Model for a panorama.
virtual bool runAlgorithm()
implementation of the algorithm.
virtual bool modifiesPanoramaData() const
returns true if the algorithm changes the PanoramaData.
RotatePanorama(PanoramaData &panorama, const Matrix3 &transformMat)
general : Matrix3 is a class for handling 3x3 Matrix manipulation.
Definition Matrix3.h:38
#define IMPEX
mainly consists of wrapper around the pano tools library, to assist in ressource management and to pr...
Definition wxcms.cpp:39
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