[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ViewState Class Reference

#include <ViewState.h>

Inheritance diagram for ViewState:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ViewState (PT::Panorama *pano, void(*RefreshFunction)(void *), bool supportMultiTexture, void *arg)
 ~ViewState ()
float GetScale ()
void SetScale (float scale)
void panoramaChanged (HuginBase::PanoramaData &pano)
void panoramaImagesChanged (HuginBase::PanoramaData &, const HuginBase::UIntSet &)
void SetOptions (const HuginBase::PanoramaOptions *new_opts)
void SetSrcImage (unsigned int image_nr, HuginBase::SrcPanoImage *new_img)
void SetLens (unsigned int lens_nr, HuginBase::Lens *new_lens)
void ForceRequireRedraw ()
HuginBase::PanoramaOptionsGetOptions ()
OutputProjectionInfoGetProjectionInfo ()
HuginBase::SrcPanoImageGetSrcImage (unsigned int image_nr)
unsigned int GetMeshDisplayList (unsigned int image_nr)
MeshManagerGetMeshManager ()
TextureManagerGetTextureManager ()
bool GetSupportMultiTexture () const
bool RequireRecalculateMesh (unsigned int image_nr)
bool RequireRecalculateImageSizes ()
bool RequireRecalculatePhotometric ()
bool RequireRecalculateMasks (unsigned int image_nr)
bool RequireDraw ()
bool RequireRecalculateViewport ()
bool ImagesRemoved ()
void FinishedDraw ()
void SetVisibleArea (vigra::Rect2D area)
vigra::Rect2D GetVisibleArea ()
void Redraw ()
void DoUpdates ()

Protected Member Functions

void Clean ()

Protected Attributes

PT::Panoramam_pano
float scale
float genscale
vigra::Rect2D visible_area
void(* RefreshFunc )(void *)
void * refreshArg
std::map< unsigned int, HuginBase::SrcPanoImageimg_states
HuginBase::PanoramaOptions opts
OutputProjectionInfoprojection_info
unsigned int number_of_images
bool dirty_photometrics
std::map< unsigned int, fbooldirty_mesh
std::map< unsigned int, fbooldirty_mask
std::map< unsigned int, boolactive
bool dirty_image_sizes
bool dirty_draw
bool images_removed
bool dirty_viewport
TextureManagerm_tex_manager
MeshManagerm_mesh_manager
bool m_multiTexture

Constructor & Destructor Documentation

ViewState::ViewState PT::Panorama pano,
void(*)(void *)  RefreshFunction,
bool  supportMultiTexture,
void *  arg
 

ViewState::~ViewState  ) 
 


Member Function Documentation

void ViewState::Clean  )  [protected]
 

void ViewState::DoUpdates  ) 
 

void ViewState::FinishedDraw  ) 
 

void ViewState::ForceRequireRedraw  ) 
 

unsigned int ViewState::GetMeshDisplayList unsigned int  image_nr  ) 
 

MeshManager* ViewState::GetMeshManager  )  [inline]
 

HuginBase::PanoramaOptions * ViewState::GetOptions  ) 
 

OutputProjectionInfo * ViewState::GetProjectionInfo  ) 
 

float ViewState::GetScale  ) 
 

HuginBase::SrcPanoImage * ViewState::GetSrcImage unsigned int  image_nr  ) 
 

bool ViewState::GetSupportMultiTexture  )  const [inline]
 

TextureManager* ViewState::GetTextureManager  )  [inline]
 

vigra::Rect2D ViewState::GetVisibleArea  )  [inline]
 

bool ViewState::ImagesRemoved  ) 
 

void ViewState::panoramaChanged HuginBase::PanoramaData pano  ) 
 

void ViewState::panoramaImagesChanged HuginBase::PanoramaData ,
const HuginBase::UIntSet
 

void ViewState::Redraw  ) 
 

bool ViewState::RequireDraw  ) 
 

bool ViewState::RequireRecalculateImageSizes  ) 
 

bool ViewState::RequireRecalculateMasks unsigned int  image_nr  ) 
 

bool ViewState::RequireRecalculateMesh unsigned int  image_nr  ) 
 

bool ViewState::RequireRecalculatePhotometric  ) 
 

bool ViewState::RequireRecalculateViewport  ) 
 

void ViewState::SetLens unsigned int  lens_nr,
HuginBase::Lens new_lens
 

void ViewState::SetOptions const HuginBase::PanoramaOptions new_opts  ) 
 

void ViewState::SetScale float  scale  ) 
 

void ViewState::SetSrcImage unsigned int  image_nr,
HuginBase::SrcPanoImage new_img
 

void ViewState::SetVisibleArea vigra::Rect2D  area  )  [inline]
 


Member Data Documentation

std::map<unsigned int, bool> ViewState::active [protected]
 

bool ViewState::dirty_draw [protected]
 

bool ViewState::dirty_image_sizes [protected]
 

std::map<unsigned int, fbool> ViewState::dirty_mask [protected]
 

std::map<unsigned int, fbool> ViewState::dirty_mesh [protected]
 

bool ViewState::dirty_photometrics [protected]
 

bool ViewState::dirty_viewport [protected]
 

float ViewState::genscale [protected]
 

bool ViewState::images_removed [protected]
 

std::map<unsigned int, HuginBase::SrcPanoImage> ViewState::img_states [protected]
 

MeshManager* ViewState::m_mesh_manager [protected]
 

bool ViewState::m_multiTexture [protected]
 

PT::Panorama* ViewState::m_pano [protected]
 

TextureManager* ViewState::m_tex_manager [protected]
 

unsigned int ViewState::number_of_images [protected]
 

HuginBase::PanoramaOptions ViewState::opts [protected]
 

OutputProjectionInfo* ViewState::projection_info [protected]
 

void* ViewState::refreshArg [protected]
 

void(* ViewState::RefreshFunc)(void *) [protected]
 

float ViewState::scale [protected]
 

vigra::Rect2D ViewState::visible_area [protected]
 


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

Generated on Mon Sep 20 01:01:35 2010 for Hugintrunk by doxygen 1.3.9.1