Hugin trunk 0.1
Loading...
Searching...
No Matches
PreviewCropTool.h
Go to the documentation of this file.
1// -*- c-basic-offset: 4 -*-
2
23#ifndef _PREVIEWCROPTOOL_H
24#define _PREVIEWCROPTOOL_H
25
26#include "Tool.h"
27
32{
33public:
35 void Activate();
37 void MouseMoveEvent(double x, double y, wxMouseEvent & e);
39private:
41 double top, bottom, left, right;
44 // region of intrest while displayed during change by dragging.
45 vigra::Rect2D new_roi;
46};
47
48#endif
Panorama image options.
Allow the user to change the cropping region by dragging it in the fast preview.
vigra::Rect2D new_roi
HuginBase::PanoramaOptions start_drag_options
HuginBase::PanoramaOptions opts
void MouseMoveEvent(double x, double y, wxMouseEvent &e)
Notify when the mouse pointer has moved over the panorama preview.
void MouseButtonEvent(wxMouseEvent &e)
Notify of a mouse button press on the panorama preview.
void ReallyAfterDrawImagesEvent()
Draw (using OpenGL) the overlays, e.g. crop highlights, guides.
void Activate()
Switch on a tool.
ToolHelper * helper
The PreviewToolHelper that uses the same preview window and panorama as the tool should.
Definition Tool.h:109
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