ToolHelper Class Reference

#include <ToolHelper.h>

Inheritance diagram for ToolHelper:

Inheritance graph
[legend]
List of all members.

Public Types

 MOUSE_MOVE
 MOUSE_PRESS
 KEY_PRESS
 DRAW_UNDER_IMAGES
 DRAW_OVER_IMAGES
 IMAGES_UNDER_MOUSE_CHANGE
 REALLY_DRAW_OVER_IMAGES
 MOUSE_WHEEL
enum  Event {
  MOUSE_MOVE, MOUSE_PRESS, KEY_PRESS, DRAW_UNDER_IMAGES,
  DRAW_OVER_IMAGES, IMAGES_UNDER_MOUSE_CHANGE, REALLY_DRAW_OVER_IMAGES, MOUSE_WHEEL
}

Public Member Functions

 ToolHelper (HuginBase::Panorama *pano, VisualizationState *visualization_state, GLPreviewFrame *frame)
 ~ToolHelper ()
std::set< Tool * > ActivateTool (Tool *tool)
virtual void DeactivateTool (Tool *tool)
virtual void MouseMoved (int x, int y, wxMouseEvent &e)
void MouseButtonEvent (wxMouseEvent &e)
void MouseWheelEvent (wxMouseEvent &e)
void KeypressEvent (int keycode, int modifiers, bool pressed)
void BeforeDrawImages ()
void AfterDrawImages ()
bool BeforeDrawImageNumber (unsigned int image)
void AfterDrawImageNumber (unsigned int image)
void MouseEnter (int x, int y, wxMouseEvent &e)
void MouseLeave ()
std::set< unsigned int > GetImageNumbersUnderMouse ()
hugin_utils::FDiff2D GetMouseScreenPosition ()
hugin_utils::FDiff2D GetMousePanoPosition ()
VisualizationStateGetVisualizationStatePtr ()
ViewStateGetViewStatePtr ()
HuginBase::PanoramaGetPanoramaPtr ()
void NotifyMe (Event event, Tool *tool)
void NotifyMeBeforeDrawing (unsigned int image_nr, Tool *tool)
void NotifyMeAfterDrawing (unsigned int image_nr, Tool *tool)
void DoNotNotifyMe (Event event, Tool *tool)
void DoNotNotifyMeBeforeDrawing (unsigned int image_nr, Tool *tool)
void DoNotNotifyMeAfterDrawing (unsigned int image_nr, Tool *tool)
void SetStatusMessage (wxString message)
bool IsMouseOverPano ()
GLPreviewFrameGetPreviewFrame ()

Protected Member Functions

void RemoveTool (Tool *tool, Tool **single)
void RemoveTool (Tool *tool, std::set< Tool * > *set)
void RemoveTool (Tool *tool, std::vector< std::set< Tool * > > *vector)
void RemoveTool (Tool *tool, std::vector< std::set< Tool * > > *vector, unsigned int index)
void AddTool (Tool *tool, Tool **single)
void AddTool (Tool *tool, std::set< Tool * > *set)
void AddTool (Tool *tool, std::vector< std::set< Tool * > > *vector, unsigned int index)
virtual void UpdateImagesUnderMouse ()=0
void InvalidateImagesUnderMouse ()

Protected Attributes

std::set< Tool * > tools_deactivated
HuginBase::Panoramapano
VisualizationStatevisualization_state
GLPreviewFrameframe
double mouse_screen_x
double mouse_screen_y
double mouse_pano_x
double mouse_pano_y
std::set< Tool * > mouse_move_notified_tools
std::set< Tool * > mouse_button_notified_tools
std::set< Tool * > keypress_notified_tools
std::set< Tool * > draw_under_notified_tools
std::set< Tool * > draw_over_notified_tools
std::set< Tool * > really_draw_over_notified_tools
std::set< Tool * > images_under_mouse_notified_tools
std::set< Tool * > mouse_wheel_notified_tools
std::vector< std::set< Tool * > > image_draw_begin_tools
std::vector< std::set< Tool * > > image_draw_end_tools
bool images_under_mouse_current
bool mouse_over_pano
std::set< unsigned int > images_under_mouse

Detailed Description

Definition at line 76 of file ToolHelper.h.


Member Enumeration Documentation

enum ToolHelper::Event

Enumerator:
MOUSE_MOVE 
MOUSE_PRESS 
KEY_PRESS 
DRAW_UNDER_IMAGES 
DRAW_OVER_IMAGES 
IMAGES_UNDER_MOUSE_CHANGE 
REALLY_DRAW_OVER_IMAGES 
MOUSE_WHEEL 

Definition at line 79 of file ToolHelper.h.


Constructor & Destructor Documentation

ToolHelper::ToolHelper ( HuginBase::Panorama pano,
VisualizationState visualization_state,
GLPreviewFrame frame 
)

Definition at line 32 of file ToolHelper.cpp.

References frame, images_under_mouse_current, mouse_over_pano, mouse_pano_x, mouse_pano_y, mouse_screen_x, mouse_screen_y, pano, and visualization_state.

ToolHelper::~ToolHelper (  ) 

Definition at line 47 of file ToolHelper.cpp.


Member Function Documentation

std::set< Tool * > ToolHelper::ActivateTool ( Tool tool  ) 

Definition at line 51 of file ToolHelper.cpp.

References Tool::Activate(), and tools_deactivated.

Referenced by GLPreviewFrame::MakePanosphereOverviewTools(), GLPreviewFrame::MakePlaneOverviewTools(), GLPreviewFrame::MakePreviewTools(), GLPreviewFrame::OnColorPicker(), GLPreviewFrame::OnControlPoint(), GLPreviewFrame::OnEditCPTool(), GLPreviewFrame::OnSwitchPreviewGrid(), GLPreviewFrame::SetMode(), and GLPreviewFrame::updateBlendMode().

void ToolHelper::AddTool ( Tool tool,
std::vector< std::set< Tool * > > *  vector,
unsigned int  index 
) [protected]

Definition at line 453 of file ToolHelper.cpp.

void ToolHelper::AddTool ( Tool tool,
std::set< Tool * > *  set 
) [protected]

Definition at line 448 of file ToolHelper.cpp.

void ToolHelper::AddTool ( Tool tool,
Tool **  single 
) [protected]

Definition at line 439 of file ToolHelper.cpp.

References DeactivateTool().

Referenced by PanosphereOverviewToolHelper::NotifyMe(), NotifyMe(), NotifyMeAfterDrawing(), and NotifyMeBeforeDrawing().

void ToolHelper::AfterDrawImageNumber ( unsigned int  image  ) 

Definition at line 212 of file ToolHelper.cpp.

References image_draw_end_tools.

Referenced by GLPlaneOverviewRenderer::Redraw(), GLPanosphereOverviewRenderer::Redraw(), and GLPreviewRenderer::Redraw().

void ToolHelper::AfterDrawImages (  ) 

Definition at line 173 of file ToolHelper.cpp.

References draw_over_notified_tools, and really_draw_over_notified_tools.

Referenced by GLPlaneOverviewRenderer::Redraw(), GLPanosphereOverviewRenderer::Redraw(), and GLPreviewRenderer::Redraw().

bool ToolHelper::BeforeDrawImageNumber ( unsigned int  image  ) 

Definition at line 194 of file ToolHelper.cpp.

References image_draw_begin_tools.

Referenced by GLPlaneOverviewRenderer::Redraw(), GLPanosphereOverviewRenderer::Redraw(), and GLPreviewRenderer::Redraw().

void ToolHelper::BeforeDrawImages (  ) 

Definition at line 155 of file ToolHelper.cpp.

References draw_under_notified_tools, InvalidateImagesUnderMouse(), and mouse_over_pano.

Referenced by GLPlaneOverviewRenderer::Redraw(), GLPanosphereOverviewRenderer::Redraw(), and GLPreviewRenderer::Redraw().

void ToolHelper::DeactivateTool ( Tool tool  )  [virtual]

Reimplemented in PanosphereOverviewToolHelper.

Definition at line 58 of file ToolHelper.cpp.

References draw_over_notified_tools, draw_under_notified_tools, image_draw_begin_tools, image_draw_end_tools, images_under_mouse_notified_tools, keypress_notified_tools, mouse_button_notified_tools, mouse_move_notified_tools, really_draw_over_notified_tools, RemoveTool(), and tools_deactivated.

Referenced by AddTool(), PanosphereOverviewToolHelper::DeactivateTool(), GLPreviewFrame::OnColorPicker(), GLPreviewFrame::OnControlPoint(), GLPreviewFrame::OnEditCPTool(), GLPreviewFrame::OnIdentify(), GLPreviewFrame::OnSwitchPreviewGrid(), GLPreviewFrame::SetMode(), GLPreviewFrame::updateBlendMode(), and GLPreviewFrame::~GLPreviewFrame().

void ToolHelper::DoNotNotifyMe ( Event  event,
Tool tool 
)

Definition at line 340 of file ToolHelper.cpp.

References DRAW_OVER_IMAGES, draw_over_notified_tools, DRAW_UNDER_IMAGES, draw_under_notified_tools, IMAGES_UNDER_MOUSE_CHANGE, images_under_mouse_notified_tools, KEY_PRESS, keypress_notified_tools, mouse_button_notified_tools, MOUSE_MOVE, mouse_move_notified_tools, MOUSE_PRESS, MOUSE_WHEEL, mouse_wheel_notified_tools, and RemoveTool().

Referenced by PreviewDifferenceTool::ImagesUnderMouseChangedEvent().

void ToolHelper::DoNotNotifyMeAfterDrawing ( unsigned int  image_nr,
Tool tool 
)

Definition at line 376 of file ToolHelper.cpp.

References image_draw_end_tools, and RemoveTool().

void ToolHelper::DoNotNotifyMeBeforeDrawing ( unsigned int  image_nr,
Tool tool 
)

Definition at line 370 of file ToolHelper.cpp.

References image_draw_begin_tools, and RemoveTool().

Referenced by PreviewLayoutLinesTool::BeforeDrawImageEvent(), PreviewDifferenceTool::ImagesUnderMouseChangedEvent(), PreviewIdentifyTool::StopShowingImages(), PreviewIdentifyTool::StopUpdating(), and PreviewIdentifyTool::UpdateWithNewImageSet().

std::set< unsigned int > ToolHelper::GetImageNumbersUnderMouse (  ) 

Definition at line 263 of file ToolHelper.cpp.

References images_under_mouse, images_under_mouse_current, and UpdateImagesUnderMouse().

Referenced by PreviewIdentifyTool::ImagesUnderMouseChangedEvent(), PreviewDifferenceTool::ImagesUnderMouseChangedEvent(), and DragTool::MouseButtonEvent().

hugin_utils::FDiff2D ToolHelper::GetMousePanoPosition (  ) 

Definition at line 277 of file ToolHelper.cpp.

References mouse_pano_x, and mouse_pano_y.

Referenced by PreviewEditCPTool::MouseButtonEvent(), PreviewColorPickerTool::MouseButtonEvent(), DragTool::MouseButtonEvent(), PreviewLayoutLinesTool::MouseMoveEvent(), PreviewEditCPTool::MouseMoveEvent(), and DragTool::MouseMoveEvent().

hugin_utils::FDiff2D ToolHelper::GetMouseScreenPosition (  ) 

Definition at line 272 of file ToolHelper.cpp.

References mouse_screen_x, and mouse_screen_y.

Referenced by PreviewEditCPTool::MouseButtonEvent(), PanosphereOverviewCameraTool::MouseButtonEvent(), PreviewEditCPTool::MouseMoveEvent(), and PanosphereOverviewCameraTool::MouseMoveEvent().

HuginBase::Panorama * ToolHelper::GetPanoramaPtr (  ) 

Definition at line 292 of file ToolHelper.cpp.

References pano.

Referenced by PreviewDifferenceTool::AfterDrawImagesEvent(), PreviewControlPointTool::AfterDrawImagesEvent(), PreviewColorPickerTool::CalcCorrection(), PreviewColorPickerTool::CalcCorrectionForImage(), PanosphereOverviewProjectionGridTool::createMesh(), PreviewProjectionGridTool::createMesh(), PreviewEditCPTool::FindCPInRect(), PreviewEditCPTool::GetSelectedROI(), PreviewControlPointTool::MakeTransforms(), PreviewCropTool::MouseButtonEvent(), DragTool::MouseButtonEvent(), OverviewOutlinesTool::OverviewOutlinesTool(), PreviewLayoutLinesTool::PreviewLayoutLinesTool(), PreviewLayoutLinesTool::updateImageCentres(), PreviewLayoutLinesTool::updateLineInformation(), and PreviewLayoutLinesTool::~PreviewLayoutLinesTool().

GLPreviewFrame* ToolHelper::GetPreviewFrame (  )  [inline]

Definition at line 137 of file ToolHelper.h.

References frame.

Referenced by PreviewEditCPTool::MouseButtonEvent(), PreviewColorPickerTool::MouseButtonEvent(), and DragTool::MouseButtonEvent().

ViewState * ToolHelper::GetViewStatePtr (  ) 

Definition at line 287 of file ToolHelper.cpp.

References VisualizationState::getViewState(), and visualization_state.

Referenced by PanosphereOverviewProjectionGridTool::AfterDrawImagesBackEvent(), PreviewProjectionGridTool::AfterDrawImagesEvent(), PreviewLayoutLinesTool::AfterDrawImagesEvent(), PreviewIdentifyTool::AfterDrawImagesEvent(), PreviewDifferenceTool::AfterDrawImagesEvent(), PreviewControlPointTool::AfterDrawImagesEvent(), PanosphereOverviewProjectionGridTool::AfterDrawImagesFrontEvent(), PanosphereSphereTool::BeforeDrawImagesBackEvent(), PreviewLayoutLinesTool::BeforeDrawImagesEvent(), PreviewDifferenceTool::BeforeDrawImagesEvent(), ProjectionGridTool::createTexture(), OverviewOutlinesTool::draw(), PreviewLayoutLinesTool::drawIdentificationBorder(), OverviewOutlinesTool::DrawRect(), DragTool::MouseButtonEvent(), DragTool::MouseMoveEvent(), PreviewPanoMaskTool::ReallyAfterDrawImagesEvent(), PreviewGuideTool::ReallyAfterDrawImagesEvent(), PreviewCropTool::ReallyAfterDrawImagesEvent(), PreviewDragTool::ReallyAfterDrawImagesEvent(), PreviewGuideTool::SetGuideStyle(), PreviewLayoutLinesTool::updateImageCentres(), and PreviewLayoutLinesTool::updateLineInformation().

VisualizationState * ToolHelper::GetVisualizationStatePtr (  ) 

Definition at line 282 of file ToolHelper.cpp.

References visualization_state.

Referenced by PreviewLayoutLinesTool::AfterDrawImagesEvent(), PreviewIdentifyTool::AfterDrawImagesEvent(), PreviewDifferenceTool::AfterDrawImagesEvent(), PreviewDifferenceTool::BeforeDrawImagesEvent(), PlaneOverviewCameraTool::ChangeZoomLevel(), PanosphereOverviewCameraTool::ChangeZoomLevel(), PanosphereOverviewProjectionGridTool::createMesh(), PreviewProjectionGridTool::createMesh(), OverviewOutlinesTool::draw(), PanosphereOverviewOutlinesTool::drawBackground(), PreviewLayoutLinesTool::drawIdentificationBorder(), OverviewOutlinesTool::DrawRect(), PreviewIdentifyTool::ForceRedraw(), PreviewDifferenceTool::ImagesUnderMouseChangedEvent(), PreviewControlPointTool::MakeTransforms(), PreviewEditCPTool::MouseButtonEvent(), PreviewCropTool::MouseButtonEvent(), PlaneOverviewCameraTool::MouseButtonEvent(), PanosphereOverviewCameraTool::MouseButtonEvent(), DragTool::MouseButtonEvent(), PreviewLayoutLinesTool::MouseMoveEvent(), PreviewEditCPTool::MouseMoveEvent(), PreviewCropTool::MouseMoveEvent(), PlaneOverviewCameraTool::MouseMoveEvent(), PanosphereOverviewCameraTool::MouseMoveEvent(), DragTool::MouseMoveEvent(), OverviewOutlinesTool::panoramaChanged(), PreviewControlPointTool::PreviewControlPointTool(), PreviewCropTool::ReallyAfterDrawImagesEvent(), and PreviewLayoutLinesTool::updateLineInformation().

void ToolHelper::InvalidateImagesUnderMouse (  )  [protected]

Definition at line 88 of file ToolHelper.cpp.

References images_under_mouse, images_under_mouse_current, images_under_mouse_notified_tools, and UpdateImagesUnderMouse().

Referenced by BeforeDrawImages(), MouseEnter(), PreviewToolHelper::MouseMoved(), and MouseMoved().

bool ToolHelper::IsMouseOverPano (  )  [inline]

Definition at line 135 of file ToolHelper.h.

References mouse_over_pano.

Referenced by PreviewIdentifyTool::MouseButtonEvent(), PreviewColorPickerTool::MouseButtonEvent(), PanosphereOverviewCameraTool::MouseButtonEvent(), DragTool::MouseButtonEvent(), PreviewLayoutLinesTool::MouseMoveEvent(), PlaneOverviewToolHelper::UpdateImagesUnderMouse(), PanosphereOverviewToolHelper::UpdateImagesUnderMouse(), and PreviewToolHelper::UpdateImagesUnderMouse().

void ToolHelper::KeypressEvent ( int  keycode,
int  modifiers,
bool  pressed 
)

Definition at line 140 of file ToolHelper.cpp.

References keypress_notified_tools.

Referenced by GLViewer::KeyDown(), GLPreviewFrame::KeyDown(), GLViewer::KeyUp(), and GLPreviewFrame::KeyUp().

void ToolHelper::MouseButtonEvent ( wxMouseEvent &  e  ) 

Definition at line 112 of file ToolHelper.cpp.

References mouse_button_notified_tools.

Referenced by GLViewer::MouseButtons().

void ToolHelper::MouseEnter ( int  x,
int  y,
wxMouseEvent &  e 
)

Definition at line 227 of file ToolHelper.cpp.

References InvalidateImagesUnderMouse(), mouse_over_pano, mouse_screen_x, and mouse_screen_y.

Referenced by GLViewer::MouseEnter().

void ToolHelper::MouseLeave (  ) 

Definition at line 242 of file ToolHelper.cpp.

References images_under_mouse, images_under_mouse_current, images_under_mouse_notified_tools, and mouse_over_pano.

Referenced by GLViewer::MouseLeave().

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

Reimplemented in PreviewToolHelper, PanosphereOverviewToolHelper, and PlaneOverviewToolHelper.

Definition at line 73 of file ToolHelper.cpp.

References InvalidateImagesUnderMouse(), mouse_move_notified_tools, mouse_screen_x, and mouse_screen_y.

Referenced by GLViewer::MouseMotion(), PlaneOverviewToolHelper::MouseMoved(), and PanosphereOverviewToolHelper::MouseMoved().

void ToolHelper::MouseWheelEvent ( wxMouseEvent &  e  ) 

Definition at line 128 of file ToolHelper.cpp.

References mouse_wheel_notified_tools.

Referenced by GLViewer::MouseWheel().

void ToolHelper::NotifyMe ( Event  event,
Tool tool 
)

Definition at line 297 of file ToolHelper.cpp.

References AddTool(), DRAW_OVER_IMAGES, draw_over_notified_tools, DRAW_UNDER_IMAGES, draw_under_notified_tools, IMAGES_UNDER_MOUSE_CHANGE, images_under_mouse_notified_tools, KEY_PRESS, keypress_notified_tools, mouse_button_notified_tools, MOUSE_MOVE, mouse_move_notified_tools, MOUSE_PRESS, MOUSE_WHEEL, mouse_wheel_notified_tools, REALLY_DRAW_OVER_IMAGES, and really_draw_over_notified_tools.

Referenced by PreviewProjectionGridTool::Activate(), PreviewPanoMaskTool::Activate(), PreviewLayoutLinesTool::Activate(), PreviewIdentifyTool::Activate(), PreviewGuideTool::Activate(), PreviewEditCPTool::Activate(), PreviewDifferenceTool::Activate(), PreviewCropTool::Activate(), PreviewControlPointTool::Activate(), PreviewColorPickerTool::Activate(), PlaneOverviewCameraTool::Activate(), PanosphereOverviewCameraTool::Activate(), DragTool::Activate(), and PreviewDifferenceTool::ImagesUnderMouseChangedEvent().

void ToolHelper::NotifyMeAfterDrawing ( unsigned int  image_nr,
Tool tool 
)

Definition at line 334 of file ToolHelper.cpp.

References AddTool(), and image_draw_end_tools.

void ToolHelper::NotifyMeBeforeDrawing ( unsigned int  image_nr,
Tool tool 
)

Definition at line 328 of file ToolHelper.cpp.

References AddTool(), and image_draw_begin_tools.

Referenced by PreviewDifferenceTool::ImagesUnderMouseChangedEvent(), PreviewLayoutLinesTool::MouseMoveEvent(), PreviewIdentifyTool::ShowImageNumber(), and PreviewIdentifyTool::UpdateWithNewImageSet().

void ToolHelper::RemoveTool ( Tool tool,
std::vector< std::set< Tool * > > *  vector,
unsigned int  index 
) [protected]

Definition at line 425 of file ToolHelper.cpp.

void ToolHelper::RemoveTool ( Tool tool,
std::vector< std::set< Tool * > > *  vector 
) [protected]

Definition at line 411 of file ToolHelper.cpp.

void ToolHelper::RemoveTool ( Tool tool,
std::set< Tool * > *  set 
) [protected]

Definition at line 401 of file ToolHelper.cpp.

void ToolHelper::RemoveTool ( Tool tool,
Tool **  single 
) [protected]

Definition at line 393 of file ToolHelper.cpp.

Referenced by PanosphereOverviewToolHelper::DeactivateTool(), DeactivateTool(), PanosphereOverviewToolHelper::DoNotNotifyMe(), DoNotNotifyMe(), DoNotNotifyMeAfterDrawing(), and DoNotNotifyMeBeforeDrawing().

void ToolHelper::SetStatusMessage ( wxString  message  ) 

Definition at line 382 of file ToolHelper.cpp.

References frame, and GLPreviewFrame::SetStatusMessage().

Referenced by PreviewLayoutLinesTool::Activate(), PreviewIdentifyTool::Activate(), PreviewEditCPTool::Activate(), PreviewCropTool::Activate(), PreviewColorPickerTool::Activate(), DragTool::Activate(), PreviewIdentifyTool::ImagesUnderMouseChangedEvent(), DragTool::MouseButtonEvent(), and DragTool::MouseMoveEvent().

virtual void ToolHelper::UpdateImagesUnderMouse (  )  [protected, pure virtual]

Implemented in PreviewToolHelper, PanosphereOverviewToolHelper, and PlaneOverviewToolHelper.

Referenced by GetImageNumbersUnderMouse(), and InvalidateImagesUnderMouse().


Member Data Documentation

std::set<Tool *> ToolHelper::draw_over_notified_tools [protected]

Definition at line 153 of file ToolHelper.h.

Referenced by AfterDrawImages(), DeactivateTool(), DoNotNotifyMe(), and NotifyMe().

std::set<Tool *> ToolHelper::draw_under_notified_tools [protected]

Definition at line 152 of file ToolHelper.h.

Referenced by BeforeDrawImages(), DeactivateTool(), DoNotNotifyMe(), and NotifyMe().

GLPreviewFrame* ToolHelper::frame [protected]

Definition at line 143 of file ToolHelper.h.

Referenced by GetPreviewFrame(), SetStatusMessage(), and ToolHelper().

std::vector<std::set<Tool *> > ToolHelper::image_draw_begin_tools [protected]

Definition at line 158 of file ToolHelper.h.

Referenced by BeforeDrawImageNumber(), DeactivateTool(), DoNotNotifyMeBeforeDrawing(), and NotifyMeBeforeDrawing().

std::vector<std::set<Tool *> > ToolHelper::image_draw_end_tools [protected]

Definition at line 159 of file ToolHelper.h.

Referenced by AfterDrawImageNumber(), DeactivateTool(), DoNotNotifyMeAfterDrawing(), and NotifyMeAfterDrawing().

std::set<unsigned int> ToolHelper::images_under_mouse [protected]

Definition at line 175 of file ToolHelper.h.

Referenced by GetImageNumbersUnderMouse(), InvalidateImagesUnderMouse(), MouseLeave(), PlaneOverviewToolHelper::UpdateImagesUnderMouse(), PanosphereOverviewToolHelper::UpdateImagesUnderMouse(), and PreviewToolHelper::UpdateImagesUnderMouse().

bool ToolHelper::images_under_mouse_current [protected]

Definition at line 173 of file ToolHelper.h.

Referenced by GetImageNumbersUnderMouse(), InvalidateImagesUnderMouse(), MouseLeave(), ToolHelper(), PlaneOverviewToolHelper::UpdateImagesUnderMouse(), PanosphereOverviewToolHelper::UpdateImagesUnderMouse(), and PreviewToolHelper::UpdateImagesUnderMouse().

std::set<Tool *> ToolHelper::images_under_mouse_notified_tools [protected]

Definition at line 155 of file ToolHelper.h.

Referenced by DeactivateTool(), DoNotNotifyMe(), InvalidateImagesUnderMouse(), MouseLeave(), and NotifyMe().

std::set<Tool *> ToolHelper::keypress_notified_tools [protected]

Definition at line 151 of file ToolHelper.h.

Referenced by DeactivateTool(), DoNotNotifyMe(), KeypressEvent(), and NotifyMe().

std::set<Tool *> ToolHelper::mouse_button_notified_tools [protected]

Definition at line 150 of file ToolHelper.h.

Referenced by DeactivateTool(), DoNotNotifyMe(), MouseButtonEvent(), and NotifyMe().

std::set<Tool *> ToolHelper::mouse_move_notified_tools [protected]

Definition at line 149 of file ToolHelper.h.

Referenced by DeactivateTool(), DoNotNotifyMe(), PreviewToolHelper::MouseMoved(), MouseMoved(), and NotifyMe().

bool ToolHelper::mouse_over_pano [protected]

Definition at line 173 of file ToolHelper.h.

Referenced by BeforeDrawImages(), IsMouseOverPano(), MouseEnter(), MouseLeave(), PlaneOverviewToolHelper::MouseMoved(), PanosphereOverviewToolHelper::MouseMoved(), PreviewToolHelper::MouseMoved(), and ToolHelper().

double ToolHelper::mouse_pano_x [protected]

Definition at line 146 of file ToolHelper.h.

Referenced by GetMousePanoPosition(), PlaneOverviewToolHelper::MouseMoved(), PanosphereOverviewToolHelper::MouseMoved(), PreviewToolHelper::MouseMoved(), ToolHelper(), PlaneOverviewToolHelper::UpdateImagesUnderMouse(), PanosphereOverviewToolHelper::UpdateImagesUnderMouse(), and PreviewToolHelper::UpdateImagesUnderMouse().

double ToolHelper::mouse_pano_y [protected]

Definition at line 146 of file ToolHelper.h.

Referenced by GetMousePanoPosition(), PlaneOverviewToolHelper::MouseMoved(), PanosphereOverviewToolHelper::MouseMoved(), PreviewToolHelper::MouseMoved(), ToolHelper(), PlaneOverviewToolHelper::UpdateImagesUnderMouse(), PanosphereOverviewToolHelper::UpdateImagesUnderMouse(), and PreviewToolHelper::UpdateImagesUnderMouse().

double ToolHelper::mouse_screen_x [protected]

Definition at line 145 of file ToolHelper.h.

Referenced by GetMouseScreenPosition(), MouseEnter(), PreviewToolHelper::MouseMoved(), MouseMoved(), and ToolHelper().

double ToolHelper::mouse_screen_y [protected]

Definition at line 145 of file ToolHelper.h.

Referenced by GetMouseScreenPosition(), MouseEnter(), PreviewToolHelper::MouseMoved(), MouseMoved(), and ToolHelper().

std::set<Tool *> ToolHelper::mouse_wheel_notified_tools [protected]

Definition at line 156 of file ToolHelper.h.

Referenced by DoNotNotifyMe(), MouseWheelEvent(), and NotifyMe().

HuginBase::Panorama* ToolHelper::pano [protected]

Definition at line 141 of file ToolHelper.h.

Referenced by GetPanoramaPtr(), ToolHelper(), PlaneOverviewToolHelper::UpdateImagesUnderMouse(), PanosphereOverviewToolHelper::UpdateImagesUnderMouse(), and PreviewToolHelper::UpdateImagesUnderMouse().

std::set<Tool *> ToolHelper::really_draw_over_notified_tools [protected]

Definition at line 154 of file ToolHelper.h.

Referenced by AfterDrawImages(), DeactivateTool(), and NotifyMe().

std::set<Tool *> ToolHelper::tools_deactivated [protected]

Definition at line 140 of file ToolHelper.h.

Referenced by ActivateTool(), and DeactivateTool().

VisualizationState* ToolHelper::visualization_state [protected]

Definition at line 142 of file ToolHelper.h.

Referenced by GetViewStatePtr(), GetVisualizationStatePtr(), PlaneOverviewToolHelper::MouseMoved(), PanosphereOverviewToolHelper::MouseMoved(), PreviewToolHelper::MouseMoved(), ToolHelper(), PlaneOverviewToolHelper::UpdateImagesUnderMouse(), PanosphereOverviewToolHelper::UpdateImagesUnderMouse(), and PreviewToolHelper::UpdateImagesUnderMouse().


The documentation for this class was generated from the following files:
Generated on 29 Jul 2015 for Hugintrunk by  doxygen 1.4.7