LensPanel Class Reference
Define the second the Lens panel. More...
#include <LensPanel.h>
Inheritance diagram for LensPanel:

Public Member Functions | |
| LensPanel () | |
| 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) |
| virtual | ~LensPanel (void) |
| 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 | UpdateLensDisplay () |
| update the edit Lens values with values from the selected image. | |
| void | EnableInputs () |
| enabled or disable the controls depending on selected images | |
| void | EditVigCorr (wxCommandEvent &e) |
Detailed Description
Define the second the Lens panel.
- the second for lens selection to images
- Note:
- currently only one lens per panorama is supported.
- Todo:
- add support multiple lenses
Constructor & Destructor Documentation
|
|
|
|
|
|
Member Function Documentation
|
||||||||||||||||||||||||||||
|
|
|
|
|
|
|
enabled or disable the controls depending on selected images
|
|
|
|
|
||||||||||||
|
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.
|
|
|
hack to restore the layout on next resize
|
|
|
update the edit Lens values with values from the selected image.
|
The documentation for this class was generated from the following files:
- hugin1/hugin/LensPanel.h
- hugin1/hugin/LensPanel.cpp
1.3.9.1