[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

ImagesPanel Class Reference

hugins first panel More...

#include <ImagesPanel.h>

Inheritance diagram for ImagesPanel:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ImagesPanel ()
bool Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxT("panel"))
void Init (PT::Panorama *pano)
 ~ImagesPanel ()
void RestoreLayout ()
 restore layout after hugin start
void RestoreLayoutOnNextResize ()
 hack to restore the layout on next resize
void panoramaImagesChanged (PT::Panorama &pano, const PT::UIntSet &imgNr)
 this is called whenever the panorama has changed.
void ReloadCPDetectorSettings ()
 Reloads the cp detector settings from config, necessary after edit preferences.
CPDetectorSettingGetDefaultSetting ()
 returns the default cp detector setings

Detailed Description

hugins first panel

This Panel is for loading of images into Panorama. Here one can set first values vor the camera orientation and link these parameters for the optimization.


Constructor & Destructor Documentation

ImagesPanel::ImagesPanel  ) 
 

ImagesPanel::~ImagesPanel  ) 
 


Member Function Documentation

bool ImagesPanel::Create wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTAB_TRAVERSAL,
const wxString &  name = wxT("panel")
 

CPDetectorSetting& ImagesPanel::GetDefaultSetting  )  [inline]
 

returns the default cp detector setings

void ImagesPanel::Init PT::Panorama pano  ) 
 

void ImagesPanel::panoramaImagesChanged PT::Panorama pano,
const PT::UIntSet imgNr
 

this is called whenever the panorama has changed.

This function must now update all the gui representations of the panorama to display the new state.

Functions that change the panororama must not update the GUI directly. The GUI should always be updated to reflect the current panorama state in this function.

This avoids unnessecary close coupling between the controller and the view (even if they sometimes are in the same object). See model view controller pattern.

Todo:
react on different update signals more special

void ImagesPanel::ReloadCPDetectorSettings  ) 
 

Reloads the cp detector settings from config, necessary after edit preferences.

void ImagesPanel::RestoreLayout  ) 
 

restore layout after hugin start

void ImagesPanel::RestoreLayoutOnNextResize  )  [inline]
 

hack to restore the layout on next resize


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

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