Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
PreviewDragTool Class Reference

#include <DragTool.h>

Inheritance diagram for PreviewDragTool:
Inheritance graph

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
ToolHelperhelper
 The PreviewToolHelper that uses the same preview window and panorama as the tool should. More...
 

Detailed Description

Definition at line 96 of file DragTool.h.

Constructor & Destructor Documentation

PreviewDragTool::PreviewDragTool ( PreviewToolHelper helper)
inlineexplicit

Definition at line 99 of file DragTool.h.

Member Function Documentation

void PreviewDragTool::ReallyAfterDrawImagesEvent ( )
virtual

The documentation for this class was generated from the following files: