PreviewToolHelper Class Reference

#include <ToolHelper.h>

Inheritance diagram for PreviewToolHelper:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 PreviewToolHelper (PT::Panorama *pano, VisualizationState *visualization_state, GLPreviewFrame *frame)
 ~PreviewToolHelper ()
void MouseMoved (int x, int y, wxMouseEvent &e)
void UpdateImagesUnderMouse ()

Detailed Description

Definition at line 179 of file ToolHelper.h.


Constructor & Destructor Documentation

PreviewToolHelper::PreviewToolHelper ( PT::Panorama pano,
VisualizationState visualization_state,
GLPreviewFrame frame 
) [inline]

Definition at line 182 of file ToolHelper.h.

PreviewToolHelper::~PreviewToolHelper (  )  [inline]

Definition at line 185 of file ToolHelper.h.


Member Function Documentation

void PreviewToolHelper::MouseMoved ( int  x,
int  y,
wxMouseEvent &  e 
) [virtual]

Reimplemented from ToolHelper.

Definition at line 458 of file ToolHelper.cpp.

References VisualizationState::GetScale(), VisualizationState::GetVisibleArea(), ToolHelper::InvalidateImagesUnderMouse(), ToolHelper::mouse_move_notified_tools, ToolHelper::mouse_over_pano, ToolHelper::mouse_pano_x, ToolHelper::mouse_pano_y, ToolHelper::mouse_screen_x, ToolHelper::mouse_screen_y, and ToolHelper::visualization_state.

void PreviewToolHelper::UpdateImagesUnderMouse (  )  [virtual]

Implements ToolHelper.

Definition at line 478 of file ToolHelper.cpp.

References HuginBase::Panorama::getActiveImages(), HuginBase::Panorama::getNrOfImages(), VisualizationState::GetOptions(), ViewState::GetSrcImage(), VisualizationState::GetSrcImage(), VisualizationState::getViewState(), ToolHelper::images_under_mouse, ToolHelper::images_under_mouse_current, HuginBase::SrcPanoImage::isInside(), ToolHelper::IsMouseOverPano(), ToolHelper::mouse_pano_x, ToolHelper::mouse_pano_y, ToolHelper::pano, and ToolHelper::visualization_state.


The documentation for this class was generated from the following files:
Generated on 25 Oct 2014 for Hugintrunk by  doxygen 1.4.7