Hugintrunk
0.1
|
#include <ViewState.h>
Public Member Functions | |
PlaneOverviewVisualizationState (HuginBase::Panorama *pano, ViewState *view_state, GLViewer *viewer, void(*RefreshFunction)(void *), void *arg) | |
~PlaneOverviewVisualizationState () | |
HuginBase::PanoramaOptions * | GetOptions () |
OutputProjectionInfo * | GetProjectionInfo () |
void | SetOptions (const HuginBase::PanoramaOptions *new_opts) |
double | getR () |
double | getFOV () |
double | getX () |
double | getY () |
void | setR (double r) |
void | setX (double x) |
void | setY (double y) |
Public Member Functions inherited from OverviewVisualizationState | |
template<class M > | |
OverviewVisualizationState (HuginBase::Panorama *pano, ViewState *view_state, GLViewer *viewer, void(*RefreshFunction)(void *), void *arg, M *classArg) | |
Public Member Functions inherited from VisualizationState | |
template<class M > | |
VisualizationState (HuginBase::Panorama *pano, ViewState *view_state, GLViewer *viewer, void(*RefreshFunction)(void *), void *arg, M *classArg) | |
virtual | ~VisualizationState () |
virtual HuginBase::SrcPanoImage * | GetSrcImage (unsigned int image_nr) |
virtual void | SetSrcImage (unsigned int image_nr, HuginBase::SrcPanoImage *new_img) |
bool | RequireRecalculateMesh (unsigned int image_nr) |
bool | RequireDraw () |
bool | RequireRecalculateViewport () |
float | GetScale () |
void | SetScale (float scale) |
unsigned int | GetMeshDisplayList (unsigned int image_nr) |
MeshManager * | GetMeshManager () |
void | FinishedDraw () |
void | SetVisibleArea (vigra::Rect2D area) |
vigra::Rect2D | GetVisibleArea () |
double | GetZoomLevel () const |
void | SetZoomLevel (const float new_zoom) |
hugin_utils::FDiff2D | GetViewingCenter () const |
void | SetViewingCenter (const hugin_utils::FDiff2D ¢er) |
void | SetCanvasSize (const vigra::Size2D &canvasSize) |
ViewState * | getViewState () |
void | Redraw () |
void | DoUpdates () |
void | SetDirtyMesh (int image_nr) |
void | ForceRequireRedraw () |
void | SetDirtyViewport () |
GLViewer * | GetViewer () |
Protected Attributes | |
double | X |
double | Y |
double | R |
double | fov |
HuginBase::PanoramaOptions | opts |
OutputProjectionInfo * | projection_info |
Protected Attributes inherited from VisualizationState | |
HuginBase::Panorama * | m_pano |
std::map< unsigned int, fbool > | dirty_mesh |
bool | dirty_draw |
bool | dirty_viewport |
float | scale |
float | genscale |
float | gl_scale |
vigra::Rect2D | visible_area |
hugin_utils::FDiff2D | m_lookAt |
float | m_zoom |
vigra::Size2D | m_canvasSize |
void(* | RefreshFunc )(void *) |
void * | refreshArg |
MeshManager * | m_mesh_manager |
ViewState * | m_view_state |
GLViewer * | m_viewer |
Definition at line 346 of file ViewState.h.
PlaneOverviewVisualizationState::PlaneOverviewVisualizationState | ( | HuginBase::Panorama * | pano, |
ViewState * | view_state, | ||
GLViewer * | viewer, | ||
void(*)(void *) | RefreshFunction, | ||
void * | arg | ||
) |
Definition at line 596 of file ViewState.cpp.
References fov, ViewState::GetOptions(), VisualizationState::m_view_state, opts, projection_info, R, HuginBase::PanoramaOptions::RECTILINEAR, VisualizationState::scale, HuginBase::PanoramaOptions::setHFOV(), HuginBase::PanoramaOptions::setProjection(), HuginBase::PanoramaOptions::setVFOV(), X, and Y.
PlaneOverviewVisualizationState::~PlaneOverviewVisualizationState | ( | ) |
Definition at line 615 of file ViewState.cpp.
References projection_info.
|
inline |
Definition at line 360 of file ViewState.h.
References fov.
Referenced by PlaneOverviewToolHelper::MouseMoved(), PlaneOverviewCameraTool::MouseMoveEvent(), and GLPlaneOverviewRenderer::Resize().
|
virtual |
Reimplemented from VisualizationState.
Definition at line 620 of file ViewState.cpp.
References opts.
Referenced by PlaneOverviewToolHelper::MouseMoved().
|
virtual |
Reimplemented from VisualizationState.
Definition at line 625 of file ViewState.cpp.
References projection_info.
|
inline |
Definition at line 359 of file ViewState.h.
References R.
Referenced by PlaneOverviewCameraTool::ChangeZoomLevel(), PlaneOverviewToolHelper::MouseMoved(), PlaneOverviewCameraTool::MouseMoveEvent(), GLPlaneOverviewRenderer::Redraw(), and GLPlaneOverviewRenderer::Resize().
|
inline |
Definition at line 361 of file ViewState.h.
References X.
Referenced by PlaneOverviewCameraTool::MouseButtonEvent(), PlaneOverviewToolHelper::MouseMoved(), and GLPlaneOverviewRenderer::Redraw().
|
inline |
Definition at line 362 of file ViewState.h.
References Y.
Referenced by PlaneOverviewCameraTool::MouseButtonEvent(), PlaneOverviewToolHelper::MouseMoved(), and GLPlaneOverviewRenderer::Redraw().
|
virtual |
Reimplemented from VisualizationState.
Definition at line 630 of file ViewState.cpp.
References opts, projection_info, HuginBase::PanoramaOptions::RECTILINEAR, HuginBase::PanoramaOptions::setHFOV(), HuginBase::PanoramaOptions::setProjection(), and HuginBase::PanoramaOptions::setVFOV().
|
inline |
Definition at line 364 of file ViewState.h.
References R.
Referenced by PlaneOverviewCameraTool::ChangeZoomLevel().
|
inline |
Definition at line 365 of file ViewState.h.
References X.
Referenced by PlaneOverviewCameraTool::MouseMoveEvent().
|
inline |
Definition at line 366 of file ViewState.h.
References Y.
Referenced by PlaneOverviewCameraTool::MouseMoveEvent().
|
protected |
Definition at line 373 of file ViewState.h.
Referenced by getFOV(), and PlaneOverviewVisualizationState().
|
protected |
Definition at line 375 of file ViewState.h.
Referenced by GetOptions(), PlaneOverviewVisualizationState(), and SetOptions().
|
protected |
Definition at line 376 of file ViewState.h.
Referenced by GetProjectionInfo(), PlaneOverviewVisualizationState(), SetOptions(), and ~PlaneOverviewVisualizationState().
|
protected |
Definition at line 372 of file ViewState.h.
Referenced by getR(), PlaneOverviewVisualizationState(), and setR().
|
protected |
Definition at line 370 of file ViewState.h.
Referenced by getX(), PlaneOverviewVisualizationState(), and setX().
|
protected |
Definition at line 371 of file ViewState.h.
Referenced by getY(), PlaneOverviewVisualizationState(), and setY().