26#include "wx/msw/wrapwin.h"
104 tool->ImagesUnderMouseChangedEvent();
153 tool->MouseButtonEvent(e);
161 tool->MouseWheelEvent(e);
179 tool->BeforeDrawImagesEvent();
195 tool->AfterDrawImagesEvent();
200 tool->ReallyAfterDrawImagesEvent();
226 result &=
tool->BeforeDrawImageEvent(image);
243 tool->BeforeDrawImageEvent(image);
276 tool->ImagesUnderMouseChangedEvent();
430 std::set<Tool *> *set)
440 std::vector<std::set<Tool *> > *vector)
443 for (
unsigned int image = 0; image < vector->size(); image++)
445 (*vector)[image].erase(
tool);
450 std::vector<std::set<Tool *> > *vector,
453 if (vector->size() > index)
455 (*vector)[index].erase(
tool);
474 std::vector<std::set<Tool *> > *vector,
477 if (vector->size() < index + 1)
481 vector->resize(index + 1, std::set<Tool*>());
489 (*vector)[index].insert(
tool);
572 const double px =
ax * (
d -
pz) /
d;
573 const double py =
ay * (
d -
pz) /
d;
610 if (yaw < 0) yaw += 2 *
M_PI;
611 if (yaw > 2 *
M_PI) yaw -= 2 *
M_PI;
614 pitch =
M_PI - pitch;
759 double width, height;
The OpenGL preview frame.
void SetStatusMessage(wxString message)
unsigned int getWidth() const
unsigned int getHeight() const
get panorama height
UIntSet getActiveImages() const
get active images
std::size_t getNrOfImages() const
number of images.
bool isInside(vigra::Point2D p, bool ignoreMasks=false) const
check if a coordinate is inside the source image
static const double scale
general : Vector3 is a class for handling 3D Vectors manipulation.
double x
x,y,z coordinates, 0 at the initialisation
Vector3 Cross(const Vector3 &v) const
cross product
Vector3 GetNormalized() const
return a normalized vector
HuginBase::SrcPanoImage * GetSrcImage(unsigned int image_nr)
vigra::Rect2D GetVisibleArea()
virtual HuginBase::PanoramaOptions * GetOptions()
virtual HuginBase::SrcPanoImage * GetSrcImage(unsigned int image_nr)
ViewState * getViewState()
std::set< unsigned int > UIntSet
TDiff2D< double > FDiff2D
bool set_contains(const _Container &c, const typename _Container::key_type &key)
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.