PanosphereOverviewVisualizationState Class Reference

#include <ViewState.h>

Inheritance diagram for PanosphereOverviewVisualizationState:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 PanosphereOverviewVisualizationState (PT::Panorama *pano, ViewState *view_state, GLViewer *viewer, void(*RefreshFunction)(void *), void *arg)
 ~PanosphereOverviewVisualizationState ()
HuginBase::PanoramaOptionsGetOptions ()
OutputProjectionInfoGetProjectionInfo ()
void SetOptions (const HuginBase::PanoramaOptions *new_opts)
double getAngY ()
double getAngX ()
double getR ()
double getFOV ()
double getSphereRadius ()
void setAngX (double angx_in)
void setAngY (double angy_in)
void setR (double r)

Protected Attributes

double angy
double angx
double R
double fov
double sphere_radius
HuginBase::PanoramaOptions opts
OutputProjectionInfoprojection_info

Detailed Description

Definition at line 279 of file ViewState.h.


Constructor & Destructor Documentation

PanosphereOverviewVisualizationState::PanosphereOverviewVisualizationState ( PT::Panorama pano,
ViewState view_state,
GLViewer viewer,
void(*)(void *)  RefreshFunction,
void *  arg 
)

Definition at line 485 of file ViewState.cpp.

References angx, angy, HuginBase::PanoramaOptions::EQUIRECTANGULAR, fov, ViewState::GetOptions(), M_PI, VisualizationState::m_view_state, opts, projection_info, R, VisualizationState::scale, HuginBase::PanoramaOptions::setHFOV(), HuginBase::PanoramaOptions::setProjection(), HuginBase::PanoramaOptions::setVFOV(), and sphere_radius.

PanosphereOverviewVisualizationState::~PanosphereOverviewVisualizationState (  ) 

Definition at line 503 of file ViewState.cpp.

References projection_info.


Member Function Documentation

double PanosphereOverviewVisualizationState::getAngX (  )  [inline]

Definition at line 296 of file ViewState.h.

References angx.

Referenced by PanosphereOverviewCameraTool::MouseButtonEvent(), PanosphereOverviewToolHelper::MouseMoved(), PanosphereOverviewCameraTool::MouseMoveEvent(), and GLPanosphereOverviewRenderer::Redraw().

double PanosphereOverviewVisualizationState::getAngY (  )  [inline]

Definition at line 295 of file ViewState.h.

References angy.

Referenced by PanosphereOverviewCameraTool::MouseButtonEvent(), PanosphereOverviewToolHelper::MouseMoved(), PanosphereOverviewCameraTool::MouseMoveEvent(), and GLPanosphereOverviewRenderer::Redraw().

double PanosphereOverviewVisualizationState::getFOV (  )  [inline]

Definition at line 298 of file ViewState.h.

References fov.

Referenced by PanosphereOverviewToolHelper::MouseMoved(), and GLPanosphereOverviewRenderer::Resize().

HuginBase::PanoramaOptions * PanosphereOverviewVisualizationState::GetOptions (  )  [virtual]

Reimplemented from VisualizationState.

Definition at line 508 of file ViewState.cpp.

References opts.

Referenced by PanosphereOverviewToolHelper::MouseMoved(), and GLPanosphereOverviewRenderer::Resize().

OutputProjectionInfo * PanosphereOverviewVisualizationState::GetProjectionInfo (  )  [virtual]

Reimplemented from VisualizationState.

Definition at line 513 of file ViewState.cpp.

References projection_info.

double PanosphereOverviewVisualizationState::getR (  )  [inline]

Definition at line 297 of file ViewState.h.

References R.

Referenced by PanosphereOverviewCameraTool::ChangeZoomLevel(), PanosphereOverviewToolHelper::MouseMoved(), PanosphereOverviewCameraTool::MouseMoveEvent(), GLPanosphereOverviewRenderer::Redraw(), and GLPanosphereOverviewRenderer::Resize().

double PanosphereOverviewVisualizationState::getSphereRadius (  )  [inline]

Definition at line 300 of file ViewState.h.

References sphere_radius.

Referenced by PanosphereOverviewCameraTool::ChangeZoomLevel(), PanosphereOverviewToolHelper::MouseMoved(), PanosphereOverviewCameraTool::MouseMoveEvent(), and GLPanosphereOverviewRenderer::Resize().

void PanosphereOverviewVisualizationState::setAngX ( double  angx_in  ) 

Definition at line 528 of file ViewState.cpp.

References angx, and VisualizationState::dirty_draw.

Referenced by PanosphereOverviewCameraTool::MouseMoveEvent().

void PanosphereOverviewVisualizationState::setAngY ( double  angy_in  ) 

Definition at line 534 of file ViewState.cpp.

References angy, and VisualizationState::dirty_draw.

Referenced by PanosphereOverviewCameraTool::MouseMoveEvent().

void PanosphereOverviewVisualizationState::SetOptions ( const HuginBase::PanoramaOptions new_opts  )  [virtual]

Reimplemented from VisualizationState.

Definition at line 518 of file ViewState.cpp.

References HuginBase::PanoramaOptions::EQUIRECTANGULAR, opts, projection_info, HuginBase::PanoramaOptions::setHFOV(), HuginBase::PanoramaOptions::setProjection(), and HuginBase::PanoramaOptions::setVFOV().

void PanosphereOverviewVisualizationState::setR ( double  r  )  [inline]

Definition at line 304 of file ViewState.h.

References R.

Referenced by PanosphereOverviewCameraTool::ChangeZoomLevel().


Member Data Documentation

double PanosphereOverviewVisualizationState::angx [protected]

Definition at line 310 of file ViewState.h.

Referenced by getAngX(), PanosphereOverviewVisualizationState(), and setAngX().

double PanosphereOverviewVisualizationState::angy [protected]

Definition at line 309 of file ViewState.h.

Referenced by getAngY(), PanosphereOverviewVisualizationState(), and setAngY().

double PanosphereOverviewVisualizationState::fov [protected]

Definition at line 312 of file ViewState.h.

Referenced by getFOV(), and PanosphereOverviewVisualizationState().

HuginBase::PanoramaOptions PanosphereOverviewVisualizationState::opts [protected]

Definition at line 317 of file ViewState.h.

Referenced by GetOptions(), PanosphereOverviewVisualizationState(), and SetOptions().

OutputProjectionInfo* PanosphereOverviewVisualizationState::projection_info [protected]

Definition at line 318 of file ViewState.h.

Referenced by GetProjectionInfo(), PanosphereOverviewVisualizationState(), SetOptions(), and ~PanosphereOverviewVisualizationState().

double PanosphereOverviewVisualizationState::R [protected]

Definition at line 311 of file ViewState.h.

Referenced by getR(), PanosphereOverviewVisualizationState(), and setR().

double PanosphereOverviewVisualizationState::sphere_radius [protected]

Definition at line 314 of file ViewState.h.

Referenced by getSphereRadius(), and PanosphereOverviewVisualizationState().


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