MaskEditorPanel Class Reference

mask editor panel. More...

#include <MaskEditorPanel.h>

Inheritance diagram for MaskEditorPanel:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 MaskEditorPanel ()
 ctor.
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 ~MaskEditorPanel ()
 dtor.
void SetPano (PT::Panorama *panorama)
void setImage (unsigned int imgNr, bool updateListSelection=false)
 sets the image, which is currently edited
void setMask (unsigned int maskNr)
 sets active mask number, set to UINT_MAX, if no mask is currently editing
void UpdateMask ()
 called when mask where changed in MaskImageCtrl
void AddMask ()
 called when new mask added in MaskImageCtrl
void SelectMask (unsigned int newMaskNr)
 selects the mask with index newMaskNr in the listbox
void UpdateCrop (bool updateFromImgCtrl=false)
 updated the crop in the Panorama object with the current values from GUI
void UpdateCropFromImage ()
 updates the displayed crop in the text boxes (for dragging)
void panoramaChanged (PT::Panorama &pano)
 called when the panorama changes and we should update our display
void panoramaImagesChanged (PT::Panorama &pano, const PT::UIntSet &imgNr)
void OnImageSelect (wxListEvent &e)
 called when user selected an other image
void OnMaskSelect (wxListEvent &e)
 called when user selected an other mask
void OnMaskTypeChange (wxCommandEvent &e)
 handler when mask type was changed
void OnMaskAdd (wxCommandEvent &e)
 called when user wants to create new polygon
void OnMaskSave (wxCommandEvent &e)
 called when user wants to save active mask
void OnMaskLoad (wxCommandEvent &e)
 called when user wants to load a mask into the selected image
void OnMaskCopy (wxCommandEvent &e)
 called when user wants to copy a mask to clipboard
void OnMaskPaste (wxCommandEvent &e)
 called when user wants to paste a mask from clipboard
void OnMaskDelete (wxCommandEvent &e)
 called when user wants to delete active mask
void OnZoom (wxCommandEvent &e)
 sets the actual zoom factor
void OnColourChanged (wxColourPickerEvent &e)
 event handler for changing colours
void OnShowActiveMasks (wxCommandEvent &e)
 event handler for changing option if active masks should be drawn
void OnResetButton (wxCommandEvent &e)
void OnSetLeft (wxCommandEvent &e)
void OnSetRight (wxCommandEvent &e)
void OnSetTop (wxCommandEvent &e)
void OnSetBottom (wxCommandEvent &e)
void OnAutoCenter (wxCommandEvent &e)
void OnModeChanged (wxNotebookEvent &e)

Private Member Functions

void UpdateMaskList (bool restoreSelection=false)
 updates the display after another image has been selected.
unsigned int GetSelectedMask ()
 return index of currently selected masks, return UINT_MAX if no mask is selected
void OnColumnWidthChange (wxListEvent &e)
 called, when column with of mask list box was changed
MaskImageCtrl::ImageRotation GetRot (const unsigned int imgNr)
 determines, if the image should be rotated for display
void DisplayCrop (int imgNr)
 copies the crop information from the Panorama object to GUI
void UpdateCropDisplay ()
 update GUI display
void CenterCrop ()
size_t GetImgNr ()
 DECLARE_EVENT_TABLE ()

Private Attributes

MaskImageCtrlm_editImg
ImagesListMaskm_imagesListMask
wxListCtrl * m_maskList
wxChoice * m_maskType
wxNotebook * m_maskCropCtrl
PT::Panoramam_pano
HuginBase::MaskPolygonVector m_currentMasks
HuginBase::MaskPolygon::MaskType m_defaultMaskType
bool m_maskMode
HuginBase::UIntSet m_selectedImages
unsigned int m_MaskNr
std::string m_File
wxTextCtrl * m_left_textctrl
wxTextCtrl * m_right_textctrl
wxTextCtrl * m_top_textctrl
wxTextCtrl * m_bottom_textctrl
wxCheckBox * m_autocenter_cb
HuginBase::SrcPanoImage::CropMode m_cropMode
vigra::Rect2D m_cropRect
bool m_autoCenterCrop
vigra::Point2D m_cropCenter

Detailed Description

mask editor panel.

This panel is used to create/change/edit masks

Definition at line 44 of file MaskEditorPanel.h.


Constructor & Destructor Documentation

MaskEditorPanel::MaskEditorPanel (  ) 

ctor.

MaskEditorPanel::~MaskEditorPanel (  )  [virtual]

dtor.

Definition at line 208 of file MaskEditorPanel.cpp.

References DEBUG_TRACE, m_bottom_textctrl, m_defaultMaskType, m_left_textctrl, m_pano, m_right_textctrl, m_top_textctrl, and HuginBase::Panorama::removeObserver().


Member Function Documentation

void MaskEditorPanel::AddMask (  ) 

called when new mask added in MaskImageCtrl

Definition at line 317 of file MaskEditorPanel.cpp.

References CommandHistory::addCommand(), GetImgNr(), GlobalCmdHist::getInstance(), MaskImageCtrl::getNewMask(), m_currentMasks, m_defaultMaskType, m_editImg, m_pano, MaskImageCtrl::selectAllMarkers(), and SelectMask().

Referenced by MaskImageCtrl::OnLeftMouseDblClick(), and MaskImageCtrl::OnRightMouseUp().

void MaskEditorPanel::CenterCrop (  )  [private]

Definition at line 883 of file MaskEditorPanel.cpp.

References m_cropCenter, and m_cropRect.

Referenced by OnAutoCenter(), OnSetBottom(), OnSetLeft(), OnSetRight(), and OnSetTop().

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

Definition at line 81 of file MaskEditorPanel.cpp.

References DEBUG_ASSERT, DEBUG_TRACE, HUGIN_MASK_COLOUR_POINT_SELECTED, HUGIN_MASK_COLOUR_POINT_UNSELECTED, HUGIN_MASK_COLOUR_POLYGON_NEGATIVE, HUGIN_MASK_COLOUR_POLYGON_POSITIVE, MaskImageCtrl::Init(), celeste::svm_model::l, m_autocenter_cb, m_bottom_textctrl, m_defaultMaskType, m_editImg, m_File, m_imagesListMask, m_left_textctrl, m_maskCropCtrl, m_maskList, m_maskMode, m_MaskNr, m_maskType, m_right_textctrl, m_selectedImages, m_top_textctrl, OnZoom(), MaskImageCtrl::setDrawingActiveMasks(), MaskImageCtrl::SetUserColourPointSelected(), MaskImageCtrl::SetUserColourPointUnselected(), MaskImageCtrl::SetUserColourPolygonNegative(), and MaskImageCtrl::SetUserColourPolygonPositive().

MaskEditorPanel::DECLARE_EVENT_TABLE (  )  [private]

void MaskEditorPanel::DisplayCrop ( int  imgNr  )  [private]

copies the crop information from the Panorama object to GUI

Todo:
can this be done with img.getSize() / 2 + img.getRadialDistortionCenterShift()?

Definition at line 730 of file MaskEditorPanel.cpp.

References HuginBase::Panorama::getImage(), m_autoCenterCrop, m_cropCenter, m_cropMode, m_cropRect, m_pano, hugin_utils::roundi(), and UpdateCropDisplay().

Referenced by OnImageSelect().

size_t MaskEditorPanel::GetImgNr (  )  [private]

Definition at line 220 of file MaskEditorPanel.cpp.

References m_selectedImages.

Referenced by AddMask(), OnImageSelect(), OnMaskAdd(), OnMaskCopy(), OnMaskDelete(), OnMaskLoad(), OnMaskPaste(), OnMaskSave(), OnMaskTypeChange(), OnModeChanged(), SelectMask(), setImage(), setMask(), UpdateMask(), and UpdateMaskList().

MaskImageCtrl::ImageRotation MaskEditorPanel::GetRot ( const unsigned int  imgNr  )  [private]

determines, if the image should be rotated for display

Definition at line 687 of file MaskEditorPanel.cpp.

References HuginBase::Panorama::getImage(), m_pano, MaskImageCtrl::ROT0, MaskImageCtrl::ROT180, MaskImageCtrl::ROT270, and MaskImageCtrl::ROT90.

Referenced by setImage().

unsigned int MaskEditorPanel::GetSelectedMask (  )  [private]

return index of currently selected masks, return UINT_MAX if no mask is selected

Definition at line 671 of file MaskEditorPanel.cpp.

References m_maskList.

Referenced by OnMaskSelect(), and UpdateMaskList().

void MaskEditorPanel::Init ( PT::Panorama pano  ) 

Definition at line 200 of file MaskEditorPanel.cpp.

References HuginBase::Panorama::addObserver(), ImagesListMask::Init(), m_imagesListMask, and m_pano.

void MaskEditorPanel::OnAutoCenter ( wxCommandEvent &  e  ) 

Definition at line 872 of file MaskEditorPanel.cpp.

References CenterCrop(), m_autoCenterCrop, UpdateCrop(), and UpdateCropDisplay().

void MaskEditorPanel::OnColourChanged ( wxColourPickerEvent &  e  ) 

event handler for changing colours

Definition at line 605 of file MaskEditorPanel.cpp.

References m_editImg, MaskImageCtrl::SetUserColourPointSelected(), MaskImageCtrl::SetUserColourPointUnselected(), MaskImageCtrl::SetUserColourPolygonNegative(), and MaskImageCtrl::SetUserColourPolygonPositive().

void MaskEditorPanel::OnColumnWidthChange ( wxListEvent &  e  )  [private]

called, when column with of mask list box was changed

Definition at line 681 of file MaskEditorPanel.cpp.

References m_maskList.

void MaskEditorPanel::OnImageSelect ( wxListEvent &  e  ) 

called when user selected an other image

Definition at line 379 of file MaskEditorPanel.cpp.

References DisplayCrop(), GetImgNr(), ImagesList::GetSelected(), m_bottom_textctrl, m_imagesListMask, m_left_textctrl, m_right_textctrl, m_selectedImages, m_top_textctrl, setImage(), and setMask().

void MaskEditorPanel::OnMaskAdd ( wxCommandEvent &  e  ) 

called when user wants to create new polygon

Definition at line 413 of file MaskEditorPanel.cpp.

References MainFrame::Get(), GetImgNr(), m_editImg, m_maskList, m_MaskNr, setMask(), and MaskImageCtrl::startNewPolygon().

void MaskEditorPanel::OnMaskCopy ( wxCommandEvent &  e  ) 

called when user wants to copy a mask to clipboard

Definition at line 502 of file MaskEditorPanel.cpp.

References HuginBase::Panorama::getImage(), GetImgNr(), m_currentMasks, m_maskMode, m_MaskNr, m_pano, and HuginBase::SaveMaskToStream().

void MaskEditorPanel::OnMaskDelete ( wxCommandEvent &  e  ) 

called when user wants to delete active mask

Definition at line 560 of file MaskEditorPanel.cpp.

References CommandHistory::addCommand(), GetImgNr(), GlobalCmdHist::getInstance(), m_currentMasks, m_MaskNr, and m_pano.

Referenced by MaskImageCtrl::OnKeyUp().

void MaskEditorPanel::OnMaskLoad ( wxCommandEvent &  e  ) 

called when user wants to load a mask into the selected image

Definition at line 458 of file MaskEditorPanel.cpp.

References CommandHistory::addCommand(), MainFrame::Get(), HuginBase::Panorama::getImage(), GetImgNr(), GlobalCmdHist::getInstance(), HUGIN_CONV_FILENAME, HuginBase::LoadMaskFromStream(), m_currentMasks, and m_pano.

void MaskEditorPanel::OnMaskPaste ( wxCommandEvent &  e  ) 

called when user wants to paste a mask from clipboard

Definition at line 518 of file MaskEditorPanel.cpp.

References CommandHistory::addCommand(), HuginBase::Panorama::getImage(), GetImgNr(), GlobalCmdHist::getInstance(), HuginBase::LoadMaskFromStream(), m_currentMasks, m_maskMode, and m_pano.

void MaskEditorPanel::OnMaskSave ( wxCommandEvent &  e  ) 

called when user wants to save active mask

Definition at line 426 of file MaskEditorPanel.cpp.

References HuginBase::Panorama::getImage(), GetImgNr(), HUGIN_CONV_FILENAME, m_currentMasks, m_MaskNr, m_pano, and HuginBase::SaveMaskToStream().

void MaskEditorPanel::OnMaskSelect ( wxListEvent &  e  ) 

called when user selected an other mask

Definition at line 398 of file MaskEditorPanel.cpp.

References GetSelectedMask(), and setMask().

void MaskEditorPanel::OnMaskTypeChange ( wxCommandEvent &  e  ) 

handler when mask type was changed

Definition at line 403 of file MaskEditorPanel.cpp.

References CommandHistory::addCommand(), GetImgNr(), GlobalCmdHist::getInstance(), m_currentMasks, m_defaultMaskType, m_MaskNr, and m_pano.

void MaskEditorPanel::OnModeChanged ( wxNotebookEvent &  e  ) 

Definition at line 890 of file MaskEditorPanel.cpp.

References GetImgNr(), m_editImg, m_imagesListMask, m_maskCropCtrl, m_maskMode, m_selectedImages, SelectMask(), ImagesList::SelectSingleImage(), MaskImageCtrl::SetMaskMode(), and ImagesListMask::SetSingleSelect().

void MaskEditorPanel::OnResetButton ( wxCommandEvent &  e  ) 

Definition at line 861 of file MaskEditorPanel.cpp.

References m_autoCenterCrop, m_cropMode, m_cropRect, UpdateCrop(), and UpdateCropDisplay().

void MaskEditorPanel::OnSetBottom ( wxCommandEvent &  e  ) 

Definition at line 804 of file MaskEditorPanel.cpp.

References CenterCrop(), m_autoCenterCrop, m_bottom_textctrl, m_cropRect, UpdateCrop(), and UpdateCropDisplay().

void MaskEditorPanel::OnSetLeft ( wxCommandEvent &  e  ) 

Definition at line 823 of file MaskEditorPanel.cpp.

References CenterCrop(), m_autoCenterCrop, m_cropRect, m_left_textctrl, UpdateCrop(), and UpdateCropDisplay().

void MaskEditorPanel::OnSetRight ( wxCommandEvent &  e  ) 

Definition at line 842 of file MaskEditorPanel.cpp.

References CenterCrop(), m_autoCenterCrop, m_cropRect, m_right_textctrl, UpdateCrop(), and UpdateCropDisplay().

void MaskEditorPanel::OnSetTop ( wxCommandEvent &  e  ) 

Definition at line 785 of file MaskEditorPanel.cpp.

References CenterCrop(), m_autoCenterCrop, m_cropRect, m_top_textctrl, UpdateCrop(), and UpdateCropDisplay().

void MaskEditorPanel::OnShowActiveMasks ( wxCommandEvent &  e  ) 

event handler for changing option if active masks should be drawn

Definition at line 725 of file MaskEditorPanel.cpp.

References m_editImg, and MaskImageCtrl::setDrawingActiveMasks().

void MaskEditorPanel::OnZoom ( wxCommandEvent &  e  ) 

sets the actual zoom factor

Definition at line 571 of file MaskEditorPanel.cpp.

References DEBUG_ERROR, m_editImg, and MaskImageCtrl::setScale().

Referenced by Create().

void MaskEditorPanel::panoramaChanged ( PT::Panorama pano  )  [virtual]

called when the panorama changes and we should update our display

Reimplemented from PT::PanoramaObserver.

Definition at line 339 of file MaskEditorPanel.cpp.

void MaskEditorPanel::panoramaImagesChanged ( PT::Panorama pano,
const PT::UIntSet imgNr 
)

void MaskEditorPanel::SelectMask ( unsigned int  newMaskNr  ) 

selects the mask with index newMaskNr in the listbox

Definition at line 330 of file MaskEditorPanel.cpp.

References GetImgNr(), m_currentMasks, m_maskList, and m_MaskNr.

Referenced by AddMask(), MaskImageCtrl::FindPolygon(), and OnModeChanged().

void MaskEditorPanel::setImage ( unsigned int  imgNr,
bool  updateListSelection = false 
)

sets the image, which is currently edited

Parameters:
imgNr the image which should be shown, use UINT_MAX for no image selected
updateListSelection if true, the selection of the images list is updated, otherwise the selection of the list remains unchanged (e.g. when calling from the list selection changed event handler)

Definition at line 232 of file MaskEditorPanel.cpp.

References DEBUG_TRACE, MaskImageCtrl::getCurrentRotation(), HuginBase::Panorama::getImage(), GetImgNr(), HuginBase::SrcPanoImage::getRadialDistortionCenter(), GetRot(), HuginBase::SrcPanoImage::isCircularCrop(), m_currentMasks, m_editImg, m_File, m_imagesListMask, m_MaskNr, m_pano, m_selectedImages, HuginBase::BaseSrcPanoImage::NO_CROP, ImagesList::SelectSingleImage(), MaskImageCtrl::setCrop(), MaskImageCtrl::setImage(), setMask(), MaskImageCtrl::setNewMasks(), and UpdateMaskList().

Referenced by OnImageSelect(), and MainFrame::ShowMaskEditor().

void MaskEditorPanel::setMask ( unsigned int  maskNr  ) 

sets active mask number, set to UINT_MAX, if no mask is currently editing

Definition at line 294 of file MaskEditorPanel.cpp.

References GetImgNr(), m_currentMasks, m_defaultMaskType, m_editImg, m_MaskNr, m_maskType, and MaskImageCtrl::setActiveMask().

Referenced by OnImageSelect(), OnMaskAdd(), OnMaskSelect(), and setImage().

void MaskEditorPanel::SetPano ( PT::Panorama panorama  )  [inline]

Definition at line 59 of file MaskEditorPanel.h.

References m_pano.

void MaskEditorPanel::UpdateCrop ( bool  updateFromImgCtrl = false  ) 

updated the crop in the Panorama object with the current values from GUI

Parameters:
updateFromImgCtrl if true, the crop is updated from the image control, otherwise from the values inside MaskEditorPanel (so from wxTextCtrls)

Definition at line 746 of file MaskEditorPanel.cpp.

References CommandHistory::addCommand(), MaskImageCtrl::getCrop(), GlobalCmdHist::getInstance(), HuginBase::Panorama::getSrcImage(), m_autoCenterCrop, m_cropRect, m_editImg, m_pano, m_selectedImages, and HuginBase::BaseSrcPanoImage::setCropRect().

Referenced by OnAutoCenter(), MaskImageCtrl::OnLeftMouseUp(), OnResetButton(), OnSetBottom(), OnSetLeft(), OnSetRight(), and OnSetTop().

void MaskEditorPanel::UpdateCropDisplay (  )  [private]

update GUI display

Definition at line 774 of file MaskEditorPanel.cpp.

References DEBUG_TRACE, m_autocenter_cb, m_autoCenterCrop, m_bottom_textctrl, m_cropRect, m_left_textctrl, m_right_textctrl, and m_top_textctrl.

Referenced by DisplayCrop(), OnAutoCenter(), OnResetButton(), OnSetBottom(), OnSetLeft(), OnSetRight(), OnSetTop(), and UpdateCropFromImage().

void MaskEditorPanel::UpdateCropFromImage (  ) 

updates the displayed crop in the text boxes (for dragging)

Definition at line 767 of file MaskEditorPanel.cpp.

References MaskImageCtrl::getCrop(), m_cropRect, m_editImg, and UpdateCropDisplay().

Referenced by MaskImageCtrl::OnMouseMove().

void MaskEditorPanel::UpdateMask (  ) 

called when mask where changed in MaskImageCtrl

Definition at line 308 of file MaskEditorPanel.cpp.

References CommandHistory::addCommand(), GetImgNr(), GlobalCmdHist::getInstance(), MaskImageCtrl::getNewMask(), m_currentMasks, m_editImg, and m_pano.

Referenced by MaskImageCtrl::OnKeyUp(), MaskImageCtrl::OnLeftMouseUp(), and MaskImageCtrl::OnRightMouseUp().

void MaskEditorPanel::UpdateMaskList ( bool  restoreSelection = false  )  [private]

updates the display after another image has been selected.

updates mask list and editor panel

Definition at line 632 of file MaskEditorPanel.cpp.

References GetImgNr(), GetSelectedMask(), m_currentMasks, m_maskList, and m_maskType.

Referenced by setImage().


Member Data Documentation

wxCheckBox* MaskEditorPanel::m_autocenter_cb [private]

Definition at line 172 of file MaskEditorPanel.h.

Referenced by Create(), and UpdateCropDisplay().

bool MaskEditorPanel::m_autoCenterCrop [private]

Definition at line 175 of file MaskEditorPanel.h.

Referenced by DisplayCrop(), OnAutoCenter(), OnResetButton(), OnSetBottom(), OnSetLeft(), OnSetRight(), OnSetTop(), UpdateCrop(), and UpdateCropDisplay().

wxTextCtrl* MaskEditorPanel::m_bottom_textctrl [private]

Definition at line 171 of file MaskEditorPanel.h.

Referenced by Create(), OnImageSelect(), OnSetBottom(), UpdateCropDisplay(), and ~MaskEditorPanel().

vigra::Point2D MaskEditorPanel::m_cropCenter [private]

Definition at line 176 of file MaskEditorPanel.h.

Referenced by CenterCrop(), and DisplayCrop().

HuginBase::SrcPanoImage::CropMode MaskEditorPanel::m_cropMode [private]

Definition at line 173 of file MaskEditorPanel.h.

Referenced by DisplayCrop(), and OnResetButton().

vigra::Rect2D MaskEditorPanel::m_cropRect [private]

Definition at line 174 of file MaskEditorPanel.h.

Referenced by CenterCrop(), DisplayCrop(), OnResetButton(), OnSetBottom(), OnSetLeft(), OnSetRight(), OnSetTop(), UpdateCrop(), UpdateCropDisplay(), and UpdateCropFromImage().

HuginBase::MaskPolygonVector MaskEditorPanel::m_currentMasks [private]

Definition at line 156 of file MaskEditorPanel.h.

Referenced by AddMask(), OnMaskCopy(), OnMaskDelete(), OnMaskLoad(), OnMaskPaste(), OnMaskSave(), OnMaskTypeChange(), SelectMask(), setImage(), setMask(), UpdateMask(), and UpdateMaskList().

HuginBase::MaskPolygon::MaskType MaskEditorPanel::m_defaultMaskType [private]

Definition at line 157 of file MaskEditorPanel.h.

Referenced by AddMask(), Create(), OnMaskTypeChange(), setMask(), and ~MaskEditorPanel().

MaskImageCtrl* MaskEditorPanel::m_editImg [private]

Definition at line 147 of file MaskEditorPanel.h.

Referenced by AddMask(), Create(), OnColourChanged(), OnMaskAdd(), OnModeChanged(), OnShowActiveMasks(), OnZoom(), setImage(), setMask(), UpdateCrop(), UpdateCropFromImage(), and UpdateMask().

std::string MaskEditorPanel::m_File [private]

Definition at line 165 of file MaskEditorPanel.h.

Referenced by Create(), and setImage().

ImagesListMask* MaskEditorPanel::m_imagesListMask [private]

Definition at line 148 of file MaskEditorPanel.h.

Referenced by Create(), Init(), OnImageSelect(), OnModeChanged(), and setImage().

wxTextCtrl* MaskEditorPanel::m_left_textctrl [private]

Definition at line 168 of file MaskEditorPanel.h.

Referenced by Create(), OnImageSelect(), OnSetLeft(), UpdateCropDisplay(), and ~MaskEditorPanel().

wxNotebook* MaskEditorPanel::m_maskCropCtrl [private]

Definition at line 151 of file MaskEditorPanel.h.

Referenced by Create(), and OnModeChanged().

wxListCtrl* MaskEditorPanel::m_maskList [private]

Definition at line 149 of file MaskEditorPanel.h.

Referenced by Create(), GetSelectedMask(), OnColumnWidthChange(), OnMaskAdd(), SelectMask(), and UpdateMaskList().

bool MaskEditorPanel::m_maskMode [private]

Definition at line 159 of file MaskEditorPanel.h.

Referenced by Create(), OnMaskCopy(), OnMaskPaste(), and OnModeChanged().

unsigned int MaskEditorPanel::m_MaskNr [private]

Definition at line 163 of file MaskEditorPanel.h.

Referenced by Create(), OnMaskAdd(), OnMaskCopy(), OnMaskDelete(), OnMaskSave(), OnMaskTypeChange(), SelectMask(), setImage(), and setMask().

wxChoice* MaskEditorPanel::m_maskType [private]

Definition at line 150 of file MaskEditorPanel.h.

Referenced by Create(), setMask(), and UpdateMaskList().

PT::Panorama* MaskEditorPanel::m_pano [private]

Definition at line 154 of file MaskEditorPanel.h.

Referenced by AddMask(), DisplayCrop(), GetRot(), Init(), OnMaskCopy(), OnMaskDelete(), OnMaskLoad(), OnMaskPaste(), OnMaskSave(), OnMaskTypeChange(), setImage(), SetPano(), UpdateCrop(), UpdateMask(), and ~MaskEditorPanel().

wxTextCtrl* MaskEditorPanel::m_right_textctrl [private]

Definition at line 169 of file MaskEditorPanel.h.

Referenced by Create(), OnImageSelect(), OnSetRight(), UpdateCropDisplay(), and ~MaskEditorPanel().

HuginBase::UIntSet MaskEditorPanel::m_selectedImages [private]

Definition at line 161 of file MaskEditorPanel.h.

Referenced by Create(), GetImgNr(), OnImageSelect(), OnModeChanged(), setImage(), and UpdateCrop().

wxTextCtrl* MaskEditorPanel::m_top_textctrl [private]

Definition at line 170 of file MaskEditorPanel.h.

Referenced by Create(), OnImageSelect(), OnSetTop(), UpdateCropDisplay(), and ~MaskEditorPanel().


The documentation for this class was generated from the following files:
Generated on 21 Oct 2014 for Hugintrunk by  doxygen 1.4.7