Hugin trunk 0.1
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OptimizePhotometricPanel Class Reference

run the optimizer. More...

#include <OptimizePhotometricPanel.h>

Inheritance diagram for OptimizePhotometricPanel:
Inheritance graph

Public Member Functions

 OptimizePhotometricPanel ()
 
bool Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name="panel")
 
void Init (HuginBase::Panorama *pano)
 
virtual ~OptimizePhotometricPanel ()
 
virtual void panoramaChanged (HuginBase::Panorama &pano)
 receives notification about panorama changes
 
virtual void panoramaImagesChanged (HuginBase::Panorama &pano, const HuginBase::UIntSet &imgNr)
 receives notification about panorama changes
 
void OnOptimizeButton (wxCommandEvent &e)
 run the optimizer
 
void SetGuiLevel (GuiLevel newGuiLevel)
 
void SetOnlyActiveImages (const bool onlyActive)
 for external setting of "only active image" checkbox
 
- Public Member Functions inherited from HuginBase::PanoramaObserver
virtual ~PanoramaObserver ()
 

Protected Member Functions

void OnClose (wxCloseEvent &e)
 
void OnReset (wxCommandEvent &e)
 
void OnCheckOnlyActiveImages (wxCommandEvent &e)
 handle "only active images" checkbox
 
void runOptimizer (const HuginBase::UIntSet &img)
 

Protected Attributes

wxCheckBoxm_only_active_images_cb
 
ImagesTreeCtrlm_images_tree
 
ImagesTreeCtrlm_lens_tree
 
HuginBase::Panoramam_pano
 

Detailed Description

run the optimizer.

this is tied into the wxWindows hugin

it will emit an event that

Definition at line 37 of file OptimizePhotometricPanel.h.

Constructor & Destructor Documentation

◆ OptimizePhotometricPanel()

OptimizePhotometricPanel::OptimizePhotometricPanel ( )

Definition at line 54 of file OptimizePhotometricPanel.cpp.

◆ ~OptimizePhotometricPanel()

OptimizePhotometricPanel::~OptimizePhotometricPanel ( )
virtual

Member Function Documentation

◆ Create()

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

◆ Init()

void OptimizePhotometricPanel::Init ( HuginBase::Panorama pano)

◆ OnCheckOnlyActiveImages()

void OptimizePhotometricPanel::OnCheckOnlyActiveImages ( wxCommandEvent &  e)
protected

handle "only active images" checkbox

Definition at line 122 of file OptimizePhotometricPanel.cpp.

References MainFrame::Get(), and MainFrame::SetOptimizeOnlyActiveImages().

Referenced by Create().

◆ OnClose()

void OptimizePhotometricPanel::OnClose ( wxCloseEvent e)
protected

Definition at line 400 of file OptimizePhotometricPanel.cpp.

References DEBUG_DEBUG, DEBUG_TRACE, and threshold().

Referenced by Create().

◆ OnOptimizeButton()

void OptimizePhotometricPanel::OnOptimizeButton ( wxCommandEvent &  e)

◆ OnReset()

void OptimizePhotometricPanel::OnReset ( wxCommandEvent &  e)
protected

◆ panoramaChanged()

void OptimizePhotometricPanel::panoramaChanged ( HuginBase::Panorama pano)
virtual

receives notification about panorama changes

Implements HuginBase::PanoramaObserver.

Definition at line 157 of file OptimizePhotometricPanel.cpp.

References HuginBase::Panorama::getPhotometricOptimizerSwitch(), m_images_tree, m_lens_tree, and m_pano.

◆ panoramaImagesChanged()

void OptimizePhotometricPanel::panoramaImagesChanged ( HuginBase::Panorama pano,
const HuginBase::UIntSet imgNr 
)
virtual

receives notification about panorama changes

Implements HuginBase::PanoramaObserver.

Definition at line 163 of file OptimizePhotometricPanel.cpp.

References HuginBase::Panorama::getNrOfImages(), and threshold().

◆ runOptimizer()

void OptimizePhotometricPanel::runOptimizer ( const HuginBase::UIntSet img)
protected

◆ SetGuiLevel()

void OptimizePhotometricPanel::SetGuiLevel ( GuiLevel  newGuiLevel)

◆ SetOnlyActiveImages()

void OptimizePhotometricPanel::SetOnlyActiveImages ( const bool  onlyActive)

for external setting of "only active image" checkbox

Definition at line 127 of file OptimizePhotometricPanel.cpp.

References m_images_tree, m_lens_tree, m_only_active_images_cb, ImagesTreeCtrl::MarkActiveImages(), and threshold().

Referenced by MainFrame::SetOptimizeOnlyActiveImages().

Member Data Documentation

◆ m_images_tree

ImagesTreeCtrl* OptimizePhotometricPanel::m_images_tree
protected

◆ m_lens_tree

ImagesTreeCtrl* OptimizePhotometricPanel::m_lens_tree
protected

◆ m_only_active_images_cb

wxCheckBox* OptimizePhotometricPanel::m_only_active_images_cb
protected

Definition at line 70 of file OptimizePhotometricPanel.h.

Referenced by Create(), OnOptimizeButton(), and SetOnlyActiveImages().

◆ m_pano

HuginBase::Panorama* OptimizePhotometricPanel::m_pano
protected

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