|
Hugintrunk
0.1
|
#include <DragTool.h>

Public Member Functions | |
| PreviewDragTool (PreviewToolHelper *helper) | |
| void | ReallyAfterDrawImagesEvent () |
| Draw (using OpenGL) the overlays, e.g. crop highlights, guides. More... | |
Public Member Functions inherited from DragTool | |
| DragTool (ToolHelper *helper) | |
| void | Activate () |
| Switch on a tool. More... | |
| void | MouseMoveEvent (double x, double y, wxMouseEvent &e) |
| Notify when the mouse pointer has moved over the panorama preview. More... | |
| void | MouseButtonEvent (wxMouseEvent &e) |
| Notify of a mouse button press on the panorama preview. More... | |
| void | setDragMode (DragMode drag_mode) |
| DragMode | getDragMode () |
| void | getTranslationShift (double &delta_x, double &delta_y) |
Public Member Functions inherited from Tool | |
| Tool (ToolHelper *helper) | |
| Construct keeping a pointer to a PreviewToolHelper. More... | |
| virtual | ~Tool () |
| virtual void | MouseWheelEvent (wxMouseEvent &e) |
| Notify of a mouse wheel event on the panorama preview. More... | |
| virtual void | ImagesUnderMouseChangedEvent () |
| Notify when the images directly underneath the mouse pointer have changed. More... | |
| virtual void | KeypressEvent (int keycode, int modifiers, bool pressed) |
| Notify of a Keypress event. More... | |
| virtual void | BeforeDrawImagesEvent () |
| Draw using OpenGL anything the tool requires underneath the images. More... | |
| virtual void | AfterDrawImagesEvent () |
| Draw (using OpenGL) images above the others. More... | |
| virtual bool | BeforeDrawImageEvent (unsigned int image) |
| Draw what the tool requires just before a given image is drawn. More... | |
| virtual void | AfterDrawImageEvent (unsigned int image) |
| Notification called just after the image was drawn normally. More... | |
| virtual void | MarkDirty () |
Additional Inherited Members | |
Public Types inherited from DragTool | |
| enum | DragMode { drag_mode_normal, drag_mode_mosaic } |
Protected Member Functions inherited from DragTool | |
| void | SetRotationMatrix (double yaw_shift, double pitch_shift, double roll_shift, double yaw_start, double pitch_start, double roll_start) |
Protected Attributes inherited from DragTool | |
| std::map< unsigned int, ParamStore > | image_params |
| std::set< unsigned int > | draging_images |
| bool | drag_yaw |
| bool | drag_pitch |
| bool | drag_roll |
| double | start_angle |
| double | shift_angle |
| hugin_utils::FDiff2D | centre |
| hugin_utils::FDiff2D | start_coordinates |
| hugin_utils::FDiff2D | shift_coordinates |
| bool | shift |
| bool | control |
| Matrix3 | rotation_matrix |
| DragMode | drag_mode |
| bool | custom_drag |
Protected Attributes inherited from Tool | |
| ToolHelper * | helper |
| The PreviewToolHelper that uses the same preview window and panorama as the tool should. More... | |
Definition at line 96 of file DragTool.h.
|
inlineexplicit |
Definition at line 99 of file DragTool.h.
|
virtual |
Draw (using OpenGL) the overlays, e.g. crop highlights, guides.
Implements DragTool.
Definition at line 435 of file DragTool.cpp.
References OutputProjectionInfo::AngularToImage(), DragTool::centre, TextureManager::DisableTexture(), DragTool::drag_pitch, DragTool::drag_roll, DragTool::drag_yaw, ViewState::GetOptions(), ViewState::GetProjectionInfo(), HuginBase::PanoramaOptions::getSize(), ViewState::GetTextureManager(), ToolHelper::GetViewStatePtr(), Tool::helper, DragTool::shift_angle, DragTool::shift_coordinates, DragTool::start_angle, DragTool::start_coordinates, hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.
1.8.5