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

#include <ToolHelper.h>

Inheritance diagram for OverviewToolHelper:
Inheritance graph

Public Member Functions

 OverviewToolHelper (HuginBase::Panorama *pano, VisualizationState *visualization_state, GLPreviewFrame *frame)
 
 ~OverviewToolHelper ()
 
- Public Member Functions inherited from ToolHelper
 ToolHelper (HuginBase::Panorama *pano, VisualizationState *visualization_state, GLPreviewFrame *frame)
 
virtual ~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 ()
 
void MarkDirty ()
 
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 ()
 
HuginBase::UIntSet GetImagesUnderPos (const hugin_utils::FDiff2D &pos)
 
GLPreviewFrameGetPreviewFrame ()
 

Additional Inherited Members

- Public Types inherited from ToolHelper
enum  Event {
  MOUSE_MOVE, MOUSE_PRESS, KEY_PRESS, DRAW_UNDER_IMAGES,
  DRAW_OVER_IMAGES, IMAGES_UNDER_MOUSE_CHANGE, REALLY_DRAW_OVER_IMAGES, MOUSE_WHEEL,
  MARK_DIRTY
}
 
- Protected Member Functions inherited from ToolHelper
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)
 
void UpdateImagesUnderMouse ()
 
void InvalidateImagesUnderMouse ()
 
- Protected Attributes inherited from ToolHelper
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::set< Tool * > m_tools_need_dirty_flag
 
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 195 of file ToolHelper.h.

Constructor & Destructor Documentation

OverviewToolHelper::OverviewToolHelper ( HuginBase::Panorama pano,
VisualizationState visualization_state,
GLPreviewFrame frame 
)
inline

Definition at line 198 of file ToolHelper.h.

OverviewToolHelper::~OverviewToolHelper ( )
inline

Definition at line 201 of file ToolHelper.h.


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