70 #include <vigra/diff2d.hxx>
173 for (
unsigned int img = 0; img < number_of_images; img++)
294 :
VisualizationState(pano, view_state, viewer, RefreshFunction, arg, (M*) classArg) {}
325 void setFOV(
double newFOV);
HuginBase::PanoramaOptions opts
PanosphereOverviewVisualizationState(HuginBase::Panorama *pano, ViewState *view_state, GLViewer *viewer, void(*RefreshFunction)(void *), void *arg)
void SetLens(unsigned int lens_nr, HuginBase::Lens *new_lens)
void SetDirtyMesh(int image_nr)
void SetScale(float scale)
OutputProjectionInfo * projection_info
void(* RefreshFunc)(void *)
hugin_utils::FDiff2D GetViewingCenter() const
vigra::Size2D m_canvasSize
void SetOptions(const HuginBase::PanoramaOptions *new_opts)
std::map< unsigned int, bool > active
OutputProjectionInfo * GetProjectionInfo()
void SetOptions(const HuginBase::PanoramaOptions *new_opts)
~PanosphereOverviewVisualizationState()
void setInsideView(bool insideView)
void setFOV(double newFOV)
void ForceRequireRedraw()
vigra::Rect2D visible_area
HuginBase::Panorama * m_pano
void setAngX(double angx_in)
void SetCanvasSize(const vigra::Size2D &canvasSize)
void ForceRequireRedraw()
VisualizationState & operator=(const VisualizationState &other)
hugin_utils::FDiff2D m_lookAt
virtual void SetSrcImage(unsigned int image_nr, HuginBase::SrcPanoImage *new_img)
void panoramaChanged(HuginBase::Panorama &pano)
Notification about a Panorama change.
MeshManager * m_mesh_manager
double GetZoomLevel() const
HuginBase::PanoramaOptions * GetOptions()
std::set< unsigned int > UIntSet
HuginBase::PanoramaOptions opts
OutputProjectionInfo * GetProjectionInfo()
void SetSrcImage(unsigned int image_nr, HuginBase::SrcPanoImage *new_img)
MeshManager * GetMeshManager()
virtual HuginBase::SrcPanoImage * GetSrcImage(unsigned int image_nr)
std::size_t getNrOfImages() const
number of images.
vigra::Rect2D GetVisibleArea()
std::map< unsigned int, fbool > dirty_mesh
TextureManager * GetTextureManager()
virtual void SetOptions(const HuginBase::PanoramaOptions *new_opts)
HuginBase::Panorama * m_pano
TDiff2D< double > FDiff2D
virtual OutputProjectionInfo * GetProjectionInfo()
bool RequireRecalculateViewport()
ViewState * getViewState()
OverviewVisualizationState(HuginBase::Panorama *pano, ViewState *view_state, GLViewer *viewer, void(*RefreshFunction)(void *), void *arg, M *classArg)
~PlaneOverviewVisualizationState()
HuginBase::PanoramaOptions opts
OutputProjectionInfo * GetProjectionInfo()
void SetViewingCenter(const hugin_utils::FDiff2D ¢er)
void setAngY(double angy_in)
PlaneOverviewVisualizationState(HuginBase::Panorama *pano, ViewState *view_state, GLViewer *viewer, void(*RefreshFunction)(void *), void *arg)
A MeshManager handles the graphics system representation of a remapping, by creating OpenGL display l...
this handler class will receive change events from the Panorama.
bool RequireRecalculateMesh(unsigned int image_nr)
void SetVisibleArea(vigra::Rect2D area)
bool RequireRecalculateMasks(unsigned int image_nr)
bool RequireRecalculatePhotometric()
virtual HuginBase::PanoramaOptions * GetOptions()
virtual ~VisualizationState()
void SetOptions(const HuginBase::PanoramaOptions *new_opts)
HuginBase::PanoramaOptions * GetOptions()
TextureManager * m_tex_manager
bool RequireRecalculateImageSizes()
OutputProjectionInfo * projection_info
void panoramaImagesChanged(HuginBase::Panorama &, const HuginBase::UIntSet &)
notifies about changes to images
std::map< unsigned int, fbool > dirty_mask
HuginBase::SrcPanoImage * GetSrcImage(unsigned int image_nr)
All variables of a source image.
void SetZoomLevel(const float new_zoom)
unsigned int GetMeshDisplayList(unsigned int image_nr)
std::map< VisualizationState *, bool > vis_states
bool GetSupportMultiTexture() const
unsigned int number_of_images
A wxWidget to display the fast preview.
VisualizationState(HuginBase::Panorama *pano, ViewState *view_state, GLViewer *viewer, void(*RefreshFunction)(void *), void *arg, M *classArg)
std::map< unsigned int, HuginBase::SrcPanoImage > img_states
OutputProjectionInfo * projection_info
HuginBase::PanoramaOptions * GetOptions()
ViewState(HuginBase::Panorama *pano, bool supportMultiTexture)