Hugin trunk 0.1
Loading...
Searching...
No Matches
PreviewCameraTool.h
Go to the documentation of this file.
1// -*- c-basic-offset: 4 -*-
23#ifndef __PREVIEW_CAMERA_TOOL_H__
24#define __PREVIEW_CAMERA_TOOL_H__
25
26#include "Tool.h"
27#include "ToolHelper.h"
28
29
35{
36 public:
38 virtual ~PreviewCameraTool() {};
39
40 void Activate();
46 void MouseMoveEvent(double x, double y, wxMouseEvent& e);
47 private:
52
57};
58
59#endif /* __PREVIEW_CAMERA_TOOL_H__ */
60
tool for the manipulation of the opengl 'camera' properties It handles zooming in/out of the main pre...
void ChangeZoomLevel(bool zoomIn, const hugin_utils::FDiff2D &scrollPos)
update zoom level
void MouseWheelEvent(wxMouseEvent &)
event for mouse wheel processing
void UpdateCenter(const hugin_utils::FDiff2D &moveDist)
update center, used for panning
void MouseMoveEvent(double x, double y, wxMouseEvent &e)
event for mouse move
PreviewCameraTool(PreviewToolHelper *helper)
bool m_moving
flag to indicate that we are moving the view with middle mouse button
void Activate()
Switch on a tool.
void MouseButtonEvent(wxMouseEvent &e)
event for mouse button processing
hugin_utils::FDiff2D m_lastScreenPos
last screen position during moving , needed for real-time update
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