ImageToogleButtonEventHandler Class Reference

#include <GLPreviewFrame.h>

List of all members.

Public Member Functions

 ImageToogleButtonEventHandler (unsigned int image_number, wxToolBarToolBase *identify_toolbutton_in, PT::Panorama *m_pano)
void OnChange (wxCommandEvent &e)
void AddIdentifyTool (PreviewIdentifyTool **identify_tool_in)

Protected Member Functions

void OnEnter (wxMouseEvent &e)
void OnLeave (wxMouseEvent &e)

Private Attributes

unsigned int image_number
std::vector< PreviewIdentifyTool ** > identify_tools
wxToolBarToolBase * identify_toolbutton
PT::Panoramam_pano


Detailed Description

Definition at line 96 of file GLPreviewFrame.h.


Constructor & Destructor Documentation

ImageToogleButtonEventHandler::ImageToogleButtonEventHandler ( unsigned int  image_number,
wxToolBarToolBase *  identify_toolbutton_in,
PT::Panorama m_pano 
)

Definition at line 2317 of file GLPreviewFrame.cpp.

References identify_toolbutton, image_number, and m_pano.


Member Function Documentation

void ImageToogleButtonEventHandler::AddIdentifyTool ( PreviewIdentifyTool **  identify_tool_in  ) 

Definition at line 2383 of file GLPreviewFrame.cpp.

References identify_tools.

void ImageToogleButtonEventHandler::OnChange ( wxCommandEvent &  e  ) 

Definition at line 2360 of file GLPreviewFrame.cpp.

References CommandHistory::addCommand(), HuginBase::Panorama::getActiveImages(), GlobalCmdHist::getInstance(), image_number, m_pano, OnEnter(), and OnLeave().

void ImageToogleButtonEventHandler::OnEnter ( wxMouseEvent &  e  )  [protected]

Definition at line 2327 of file GLPreviewFrame.cpp.

References HuginBase::Panorama::getActiveImages(), identify_toolbutton, identify_tools, image_number, and m_pano.

Referenced by OnChange().

void ImageToogleButtonEventHandler::OnLeave ( wxMouseEvent &  e  )  [protected]

Definition at line 2344 of file GLPreviewFrame.cpp.

References HuginBase::Panorama::getActiveImages(), identify_toolbutton, identify_tools, image_number, and m_pano.

Referenced by OnChange().


Member Data Documentation

wxToolBarToolBase* ImageToogleButtonEventHandler::identify_toolbutton [private]

Definition at line 111 of file GLPreviewFrame.h.

Referenced by ImageToogleButtonEventHandler(), OnEnter(), and OnLeave().

std::vector<PreviewIdentifyTool**> ImageToogleButtonEventHandler::identify_tools [private]

Definition at line 110 of file GLPreviewFrame.h.

Referenced by AddIdentifyTool(), OnEnter(), and OnLeave().

unsigned int ImageToogleButtonEventHandler::image_number [private]

Definition at line 109 of file GLPreviewFrame.h.

Referenced by ImageToogleButtonEventHandler(), OnChange(), OnEnter(), and OnLeave().

PT::Panorama* ImageToogleButtonEventHandler::m_pano [private]

Definition at line 112 of file GLPreviewFrame.h.

Referenced by ImageToogleButtonEventHandler(), OnChange(), OnEnter(), and OnLeave().


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