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

#include <ToolHelper.h>

Inheritance diagram for PlaneOverviewToolHelper:
Inheritance graph

Public Member Functions

 PlaneOverviewToolHelper (HuginBase::Panorama *pano, VisualizationState *visualization_state, GLPreviewFrame *frame)
 
 ~PlaneOverviewToolHelper ()
 
void MouseMoved (int x, int y, wxMouseEvent &e)
 
double getPlaneX ()
 
double getPlaneY ()
 
- Public Member Functions inherited from OverviewToolHelper
 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)
 
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 ()
 

Private Attributes

double plane_x
 
double plane_y
 

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 239 of file ToolHelper.h.

Constructor & Destructor Documentation

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

Definition at line 714 of file ToolHelper.cpp.

PlaneOverviewToolHelper::~PlaneOverviewToolHelper ( )

Definition at line 718 of file ToolHelper.cpp.

Member Function Documentation

double PlaneOverviewToolHelper::getPlaneX ( )
inline

Definition at line 249 of file ToolHelper.h.

References plane_x.

Referenced by PlaneOverviewCameraTool::MouseButtonEvent().

double PlaneOverviewToolHelper::getPlaneY ( )
inline

Definition at line 250 of file ToolHelper.h.

References plane_y.

Referenced by PlaneOverviewCameraTool::MouseButtonEvent().

void PlaneOverviewToolHelper::MouseMoved ( int  x,
int  y,
wxMouseEvent &  e 
)
virtual

Member Data Documentation

double PlaneOverviewToolHelper::plane_x
private

Definition at line 254 of file ToolHelper.h.

Referenced by getPlaneX(), and MouseMoved().

double PlaneOverviewToolHelper::plane_y
private

Definition at line 255 of file ToolHelper.h.

Referenced by getPlaneY(), and MouseMoved().


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