Hugintrunk
0.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
hugin1
hugin
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
31
class
PreviewCropTool
:
public
PreviewTool
32
{
33
public
:
34
explicit
PreviewCropTool
(
PreviewToolHelper
*
helper
);
35
void
Activate
();
36
void
ReallyAfterDrawImagesEvent
();
37
void
MouseMoveEvent
(
double
x,
double
y, wxMouseEvent & e);
38
void
MouseButtonEvent
(wxMouseEvent &e);
39
private
:
40
bool
moving_left
,
moving_right
,
moving_top
,
moving_bottom
,
mouse_down
;
41
double
top
,
bottom
,
left
,
right
;
42
double
start_drag_x
,
start_drag_y
;
43
HuginBase::PanoramaOptions
start_drag_options
,
opts
;
44
// region of intrest while displayed during change by dragging.
45
vigra::Rect2D
new_roi
;
46
};
47
48
#endif
PreviewCropTool
Allow the user to change the cropping region by dragging it in the fast preview.
Definition:
PreviewCropTool.h:31
PreviewCropTool::start_drag_x
double start_drag_x
Definition:
PreviewCropTool.h:42
PreviewCropTool::start_drag_y
double start_drag_y
Definition:
PreviewCropTool.h:42
Tool.h
PreviewCropTool::top
double top
Definition:
PreviewCropTool.h:41
PreviewCropTool::opts
HuginBase::PanoramaOptions opts
Definition:
PreviewCropTool.h:43
PreviewCropTool::MouseMoveEvent
void MouseMoveEvent(double x, double y, wxMouseEvent &e)
Notify when the mouse pointer has moved over the panorama preview.
Definition:
PreviewCropTool.cpp:119
PreviewCropTool::new_roi
vigra::Rect2D new_roi
Definition:
PreviewCropTool.h:45
PreviewCropTool::mouse_down
bool mouse_down
Definition:
PreviewCropTool.h:40
PreviewCropTool::ReallyAfterDrawImagesEvent
void ReallyAfterDrawImagesEvent()
Draw (using OpenGL) the overlays, e.g. crop highlights, guides.
Definition:
PreviewCropTool.cpp:60
Tool::helper
ToolHelper * helper
The PreviewToolHelper that uses the same preview window and panorama as the tool should.
Definition:
Tool.h:102
PreviewCropTool::bottom
double bottom
Definition:
PreviewCropTool.h:41
PreviewCropTool::moving_right
bool moving_right
Definition:
PreviewCropTool.h:40
PreviewCropTool::start_drag_options
HuginBase::PanoramaOptions start_drag_options
Definition:
PreviewCropTool.h:43
PreviewCropTool::Activate
void Activate()
Switch on a tool.
Definition:
PreviewCropTool.cpp:47
PreviewCropTool::moving_top
bool moving_top
Definition:
PreviewCropTool.h:40
PreviewTool
Definition:
Tool.h:111
PreviewCropTool::right
double right
Definition:
PreviewCropTool.h:41
PreviewToolHelper
Definition:
ToolHelper.h:183
PreviewCropTool::moving_left
bool moving_left
Definition:
PreviewCropTool.h:40
PreviewCropTool::MouseButtonEvent
void MouseButtonEvent(wxMouseEvent &e)
Notify of a mouse button press on the panorama preview.
Definition:
PreviewCropTool.cpp:284
PreviewCropTool::PreviewCropTool
PreviewCropTool(PreviewToolHelper *helper)
Definition:
PreviewCropTool.cpp:41
PreviewCropTool::moving_bottom
bool moving_bottom
Definition:
PreviewCropTool.h:40
HuginBase::PanoramaOptions
Panorama image options.
Definition:
PanoramaOptions.h:79
PreviewCropTool::left
double left
Definition:
PreviewCropTool.h:41
Generated on Sun Nov 10 2024 01:25:36 for Hugintrunk by
1.8.5