[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

OptimizePanel Class Reference

run the optimizer. More...

#include <OptimizePanel.h>

Inheritance diagram for OptimizePanel:

Inheritance graph
List of all members.

Public Member Functions

 OptimizePanel ()
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"))
 Delayed creation.
virtual ~OptimizePanel ()
void Init (PT::Panorama *pano)
virtual void panoramaChanged (PT::Panorama &pano)
 receives notification about panorama changes
virtual void panoramaImagesChanged (PT::Panorama &pano, const PT::UIntSet &imgNr)
 receives notification about panorama changes
PT::OptimizeVector getOptimizeVector ()
 return currently selected OptimizeVector
void setOptimizeVector (const PT::OptimizeVector &optvec)
 updates the display to fit the settings in optimize vector
void OnOptimizeButton (wxCommandEvent &e)
 run the optimizer
void setModeCustom ()
 updates the display to custom mode *

Protected Member Functions

void OnClose (wxCloseEvent &e)
void OnListButton (wxCommandEvent &e)
void SetCheckMark (wxCheckListBox *l, int check)
void OnChangeMode (wxCommandEvent &e)
void OnCheckBoxChanged (wxCommandEvent &e)
void runOptimizer (const PT::UIntSet &img)
bool AskApplyResult (const PT::Panorama &pano)

Protected Attributes

wxCheckListBox * m_yaw_list
wxCheckListBox * m_pitch_list
wxCheckListBox * m_roll_list
wxCheckListBox * m_x_list
wxCheckListBox * m_y_list
wxCheckListBox * m_z_list
wxCheckListBox * m_v_list
wxCheckListBox * m_a_list
wxCheckListBox * m_b_list
wxCheckListBox * m_c_list
wxCheckListBox * m_d_list
wxCheckListBox * m_e_list
wxCheckBox * m_only_active_images_cb
wxCheckBox * m_edit_cb
wxChoice * m_mode_cb
wxScrolledWindow * m_opt_ctrls

Detailed Description

run the optimizer.

this is tied into the wxWindows hugin

it will emit an event that

Constructor & Destructor Documentation

OptimizePanel::OptimizePanel  ) 

OptimizePanel::~OptimizePanel  )  [virtual]

Member Function Documentation

bool OptimizePanel::AskApplyResult const PT::Panorama pano  )  [protected]

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

Delayed creation.

OptimizeVector OptimizePanel::getOptimizeVector  ) 

return currently selected OptimizeVector

OptimizeVector that contains the settings from the GUI

void OptimizePanel::Init PT::Panorama pano  ) 

void OptimizePanel::OnChangeMode wxCommandEvent &  e  )  [protected]

void OptimizePanel::OnCheckBoxChanged wxCommandEvent &  e  )  [protected]

void OptimizePanel::OnClose wxCloseEvent &  e  )  [protected]

void OptimizePanel::OnListButton wxCommandEvent &  e  )  [protected]

void OptimizePanel::OnOptimizeButton wxCommandEvent &  e  ) 

run the optimizer

void OptimizePanel::panoramaChanged PT::Panorama pano  )  [virtual]

receives notification about panorama changes

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

receives notification about panorama changes

void OptimizePanel::runOptimizer const PT::UIntSet img  )  [protected]

void OptimizePanel::SetCheckMark wxCheckListBox *  l,
int  check

void OptimizePanel::setModeCustom  ) 

updates the display to custom mode *

void OptimizePanel::setOptimizeVector const PT::OptimizeVector optvec  ) 

updates the display to fit the settings in optimize vector

Member Data Documentation

wxCheckListBox* OptimizePanel::m_a_list [protected]

wxCheckListBox* OptimizePanel::m_b_list [protected]

wxCheckListBox* OptimizePanel::m_c_list [protected]

wxCheckListBox* OptimizePanel::m_d_list [protected]

wxCheckListBox* OptimizePanel::m_e_list [protected]

wxCheckBox* OptimizePanel::m_edit_cb [protected]

wxChoice* OptimizePanel::m_mode_cb [protected]

wxCheckBox* OptimizePanel::m_only_active_images_cb [protected]

wxScrolledWindow* OptimizePanel::m_opt_ctrls [protected]

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

wxCheckListBox* OptimizePanel::m_pitch_list [protected]

wxCheckListBox* OptimizePanel::m_roll_list [protected]

wxCheckListBox* OptimizePanel::m_v_list [protected]

wxCheckListBox* OptimizePanel::m_x_list [protected]

wxCheckListBox* OptimizePanel::m_y_list [protected]

wxCheckListBox* OptimizePanel::m_yaw_list [protected]

wxCheckListBox* OptimizePanel::m_z_list [protected]

HuginBase::StandardImageVariableGroups* OptimizePanel::variable_groups [protected]

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

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