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

#include <ViewState.h>

Inheritance diagram for PlaneOverviewVisualizationState:
Inheritance graph

Public Member Functions

 PlaneOverviewVisualizationState (HuginBase::Panorama *pano, ViewState *view_state, GLViewer *viewer, void(*RefreshFunction)(void *), void *arg)
 
 ~PlaneOverviewVisualizationState ()
 
HuginBase::PanoramaOptionsGetOptions ()
 
OutputProjectionInfoGetProjectionInfo ()
 
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::SrcPanoImageGetSrcImage (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)
 
MeshManagerGetMeshManager ()
 
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 &center)
 
void SetCanvasSize (const vigra::Size2D &canvasSize)
 
ViewStategetViewState ()
 
void Redraw ()
 
void DoUpdates ()
 
void SetDirtyMesh (int image_nr)
 
void ForceRequireRedraw ()
 
void SetDirtyViewport ()
 
GLViewerGetViewer ()
 

Protected Attributes

double X
 
double Y
 
double R
 
double fov
 
HuginBase::PanoramaOptions opts
 
OutputProjectionInfoprojection_info
 
- Protected Attributes inherited from VisualizationState
HuginBase::Panoramam_pano
 
std::map< unsigned int, fbooldirty_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
 
MeshManagerm_mesh_manager
 
ViewStatem_view_state
 
GLViewerm_viewer
 

Detailed Description

Definition at line 346 of file ViewState.h.

Constructor & Destructor Documentation

PlaneOverviewVisualizationState::PlaneOverviewVisualizationState ( HuginBase::Panorama pano,
ViewState view_state,
GLViewer viewer,
void(*)(void *)  RefreshFunction,
void *  arg 
)
PlaneOverviewVisualizationState::~PlaneOverviewVisualizationState ( )

Definition at line 615 of file ViewState.cpp.

References projection_info.

Member Function Documentation

double PlaneOverviewVisualizationState::getFOV ( )
inline
HuginBase::PanoramaOptions * PlaneOverviewVisualizationState::GetOptions ( )
virtual

Reimplemented from VisualizationState.

Definition at line 620 of file ViewState.cpp.

References opts.

Referenced by PlaneOverviewToolHelper::MouseMoved().

OutputProjectionInfo * PlaneOverviewVisualizationState::GetProjectionInfo ( )
virtual

Reimplemented from VisualizationState.

Definition at line 625 of file ViewState.cpp.

References projection_info.

double PlaneOverviewVisualizationState::getR ( )
inline
double PlaneOverviewVisualizationState::getX ( )
inline
double PlaneOverviewVisualizationState::getY ( )
inline
void PlaneOverviewVisualizationState::SetOptions ( const HuginBase::PanoramaOptions new_opts)
virtual
void PlaneOverviewVisualizationState::setR ( double  r)
inline

Definition at line 364 of file ViewState.h.

References R.

Referenced by PlaneOverviewCameraTool::ChangeZoomLevel().

void PlaneOverviewVisualizationState::setX ( double  x)
inline

Definition at line 365 of file ViewState.h.

References X.

Referenced by PlaneOverviewCameraTool::MouseMoveEvent().

void PlaneOverviewVisualizationState::setY ( double  y)
inline

Definition at line 366 of file ViewState.h.

References Y.

Referenced by PlaneOverviewCameraTool::MouseMoveEvent().

Member Data Documentation

double PlaneOverviewVisualizationState::fov
protected

Definition at line 373 of file ViewState.h.

Referenced by getFOV(), and PlaneOverviewVisualizationState().

HuginBase::PanoramaOptions PlaneOverviewVisualizationState::opts
protected

Definition at line 375 of file ViewState.h.

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

OutputProjectionInfo* PlaneOverviewVisualizationState::projection_info
protected
double PlaneOverviewVisualizationState::R
protected

Definition at line 372 of file ViewState.h.

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

double PlaneOverviewVisualizationState::X
protected

Definition at line 370 of file ViewState.h.

Referenced by getX(), PlaneOverviewVisualizationState(), and setX().

double PlaneOverviewVisualizationState::Y
protected

Definition at line 371 of file ViewState.h.

Referenced by getY(), PlaneOverviewVisualizationState(), and setY().


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