[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

PreviewCropTool Class Reference

Allow the user to change the cropping region by dragging it in the fast preview. More...

#include <PreviewCropTool.h>

Inheritance diagram for PreviewCropTool:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 PreviewCropTool (PreviewToolHelper *helper)
void Activate ()
 Switch on a tool.
void ReallyAfterDrawImagesEvent ()
 Draw (using OpenGL) the overlays, e.g. crop highlights, guides.
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.

Detailed Description

Allow the user to change the cropping region by dragging it in the fast preview.


Constructor & Destructor Documentation

PreviewCropTool::PreviewCropTool PreviewToolHelper helper  ) 
 


Member Function Documentation

void PreviewCropTool::Activate  )  [virtual]
 

Switch on a tool.

Inherited classes also register events they want to respond to with the PreviewToolHelper. As events are lost when the tool is deactivated without notification to the PreviewTool, things from the last activation can be cleaned up here too.

Implements PreviewTool.

void PreviewCropTool::MouseButtonEvent wxMouseEvent &  e  )  [virtual]
 

Notify of a mouse button press on the panorama preview.

Parameters:
e The event created by wxWidgets.

Reimplemented from PreviewTool.

void PreviewCropTool::MouseMoveEvent double  x,
double  y,
wxMouseEvent &  e
[virtual]
 

Notify when the mouse pointer has moved over the panorama preview.

The coordinates are in the space of the panorama output at full size, with no output cropping.

Parameters:
x The horizontal position of the mouse pointer in panorama pixels.
y The vertical position of the mouse pointer in panorama pixels.
e The event created by wxWidgets.

Reimplemented from PreviewTool.

void PreviewCropTool::ReallyAfterDrawImagesEvent  )  [virtual]
 

Draw (using OpenGL) the overlays, e.g. crop highlights, guides.

Reimplemented from PreviewTool.


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

Generated on Mon Sep 20 01:01:34 2010 for Hugintrunk by doxygen 1.3.9.1