PlaneOverviewToolHelper Class Reference

#include <ToolHelper.h>

Inheritance diagram for PlaneOverviewToolHelper:

Inheritance graph
[legend]
List of all members.

Public Member Functions

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

Private Attributes

double plane_x
double plane_y

Detailed Description

Definition at line 237 of file ToolHelper.h.


Constructor & Destructor Documentation

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

Definition at line 731 of file ToolHelper.cpp.

PlaneOverviewToolHelper::~PlaneOverviewToolHelper (  ) 

Definition at line 735 of file ToolHelper.cpp.


Member Function Documentation

double PlaneOverviewToolHelper::getPlaneX (  )  [inline]

Definition at line 248 of file ToolHelper.h.

References plane_x.

Referenced by PlaneOverviewCameraTool::MouseButtonEvent().

double PlaneOverviewToolHelper::getPlaneY (  )  [inline]

Definition at line 249 of file ToolHelper.h.

References plane_y.

Referenced by PlaneOverviewCameraTool::MouseButtonEvent().

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

Reimplemented from ToolHelper.

Definition at line 737 of file ToolHelper.cpp.

References DEG_TO_RAD, PlaneOverviewVisualizationState::getFOV(), HuginBase::PanoramaOptions::getHeight(), PlaneOverviewVisualizationState::GetOptions(), PlaneOverviewVisualizationState::getR(), VisualizationState::GetViewer(), HuginBase::PanoramaOptions::getWidth(), PlaneOverviewVisualizationState::getX(), PlaneOverviewVisualizationState::getY(), ToolHelper::mouse_over_pano, ToolHelper::mouse_pano_x, ToolHelper::mouse_pano_y, ToolHelper::MouseMoved(), plane_x, plane_y, MeshManager::PlaneOverviewMeshInfo::scale, and ToolHelper::visualization_state.

void PlaneOverviewToolHelper::UpdateImagesUnderMouse (  )  [virtual]

Implements ToolHelper.

Definition at line 791 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.


Member Data Documentation

double PlaneOverviewToolHelper::plane_x [private]

Definition at line 253 of file ToolHelper.h.

Referenced by getPlaneX(), and MouseMoved().

double PlaneOverviewToolHelper::plane_y [private]

Definition at line 254 of file ToolHelper.h.

Referenced by getPlaneY(), and MouseMoved().


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