|
Hugin trunk 0.1
|
mask editor panel. More...
#include <MaskEditorPanel.h>

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="panel") |
| void | Init (HuginBase::Panorama *pano) |
| virtual | ~MaskEditorPanel () |
| dtor. | |
| void | SetPano (HuginBase::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 | SwitchToCropMode () |
| switches the controls to crop mode | |
| void | panoramaChanged (HuginBase::Panorama &pano) |
| called when the panorama changes and we should update our display | |
| void | panoramaImagesChanged (HuginBase::Panorama &pano, const HuginBase::UIntSet &imgNr) |
| notifies about changes to images | |
| void | OnImageListChar (wxKeyEvent &e) |
| key handler for images list | |
| void | OnImageSelect (wxListEvent &e) |
| called when user selected another image | |
| void | OnMaskSelect (wxListEvent &e) |
| called when user selected another 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) |
Public Member Functions inherited from HuginBase::PanoramaObserver | |
| virtual | ~PanoramaObserver () |
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 | |
| const HuginBase::UIntSet | GetSelectedImages () |
| return the currently selected image(s) | |
| void | OnImagesColumnWidthChange (wxListEvent &e) |
| called, when column with of images list box was changed | |
| void | OnMaskColumnWidthChange (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 | UpdateImage (size_t imgNr) |
| update the list box for the given imgNr | |
| void | UpdateCropDisplay () |
| update GUI display | |
| void | CenterCrop () |
| void | SetSingleSelection (bool singleSelMode) |
| size_t | GetImgNr () |
Private Attributes | |
| MaskImageCtrl * | m_editImg |
| wxListCtrl * | m_imagesListMask |
| wxListCtrl * | m_maskList |
| wxChoice * | m_maskType |
| wxNotebook * | m_maskCropCtrl |
| HuginBase::Panorama * | m_pano |
| HuginBase::ConstStandardImageVariableGroups * | m_imageGroups =nullptr |
| HuginBase::MaskPolygonVector | m_currentMasks |
| HuginBase::MaskPolygon::MaskType | m_defaultMaskType |
| bool | m_maskMode |
| 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 |
| wxCheckBox * | m_cropLens |
| HuginBase::SrcPanoImage::CropMode | m_cropMode |
| vigra::Rect2D | m_cropRect |
| bool | m_autoCenterCrop = true |
| vigra::Point2D | m_cropCenter |
mask editor panel.
This panel is used to create/change/edit masks
Definition at line 44 of file MaskEditorPanel.h.
| MaskEditorPanel::MaskEditorPanel | ( | ) |
ctor.
Definition at line 43 of file MaskEditorPanel.cpp.
References DEBUG_TRACE, m_defaultMaskType, m_maskCropCtrl, m_pano, HuginBase::MaskPolygon::Mask_negative, and threshold().
|
virtual |
dtor.
Definition at line 223 of file MaskEditorPanel.cpp.
References DEBUG_TRACE, m_bottom_textctrl, m_cropLens, m_defaultMaskType, m_imageGroups, m_left_textctrl, m_pano, m_right_textctrl, m_top_textctrl, HuginBase::Panorama::removeObserver(), and threshold().
| void MaskEditorPanel::AddMask | ( | ) |
called when new mask added in MaskImageCtrl
Definition at line 351 of file MaskEditorPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), GetImgNr(), PanoCommand::GlobalCmdHist::getInstance(), MaskImageCtrl::getNewMask(), m_currentMasks, m_defaultMaskType, m_editImg, m_pano, MaskImageCtrl::selectAllMarkers(), SelectMask(), and threshold().
Referenced by MaskImageCtrl::OnLeftMouseDblClick(), and MaskImageCtrl::OnRightMouseUp().
|
private |
Definition at line 1067 of file MaskEditorPanel.cpp.
References m_cropCenter, m_cropRect, and threshold().
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 = "panel" |
||
| ) |
Definition at line 51 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(), m_autocenter_cb, m_bottom_textctrl, m_cropLens, 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_top_textctrl, OnAutoCenter(), OnColourChanged(), OnImageListChar(), OnImagesColumnWidthChange(), OnImageSelect(), OnMaskAdd(), OnMaskColumnWidthChange(), OnMaskCopy(), OnMaskDelete(), OnMaskLoad(), OnMaskPaste(), OnMaskSave(), OnMaskSelect(), OnMaskTypeChange(), OnModeChanged(), OnResetButton(), OnSetBottom(), OnSetLeft(), OnSetRight(), OnSetTop(), OnShowActiveMasks(), OnZoom(), MaskImageCtrl::setDrawingActiveMasks(), MaskImageCtrl::SetUserColourPointSelected(), MaskImageCtrl::SetUserColourPointUnselected(), MaskImageCtrl::SetUserColourPolygonNegative(), MaskImageCtrl::SetUserColourPolygonPositive(), and threshold().
copies the crop information from the Panorama object to GUI
Definition at line 894 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(), and panoramaImagesChanged().
|
private |
Definition at line 243 of file MaskEditorPanel.cpp.
References GetSelectedImages(), m_imagesListMask, and threshold().
Referenced by AddMask(), OnImageSelect(), OnMaskAdd(), OnMaskCopy(), OnMaskDelete(), OnMaskLoad(), OnMaskPaste(), OnMaskSave(), OnMaskTypeChange(), panoramaImagesChanged(), SelectMask(), setImage(), setMask(), SetSingleSelection(), UpdateMask(), and UpdateMaskList().
|
private |
determines, if the image should be rotated for display
Definition at line 844 of file MaskEditorPanel.cpp.
References HuginBase::Panorama::getImage(), m_pano, MaskImageCtrl::ROT0, MaskImageCtrl::ROT180, MaskImageCtrl::ROT270, MaskImageCtrl::ROT90, and threshold().
Referenced by setImage().
|
private |
return the currently selected image(s)
Definition at line 819 of file MaskEditorPanel.cpp.
References m_imagesListMask, and threshold().
Referenced by GetImgNr(), OnImageSelect(), and UpdateCrop().
return index of currently selected masks, return UINT_MAX if no mask is selected
Definition at line 809 of file MaskEditorPanel.cpp.
References m_maskList, and threshold().
Referenced by OnMaskSelect(), and UpdateMaskList().
| void MaskEditorPanel::Init | ( | HuginBase::Panorama * | pano | ) |
Definition at line 215 of file MaskEditorPanel.cpp.
References HuginBase::Panorama::addObserver(), m_imageGroups, and m_pano.
Referenced by MainFrame::MainFrame().
| void MaskEditorPanel::OnAutoCenter | ( | wxCommandEvent & | e | ) |
Definition at line 1056 of file MaskEditorPanel.cpp.
References CenterCrop(), m_autoCenterCrop, UpdateCrop(), and UpdateCropDisplay().
Referenced by Create().
| void MaskEditorPanel::OnColourChanged | ( | wxColourPickerEvent & | e | ) |
event handler for changing colours
Definition at line 743 of file MaskEditorPanel.cpp.
References m_editImg, MaskImageCtrl::SetUserColourPointSelected(), MaskImageCtrl::SetUserColourPointUnselected(), MaskImageCtrl::SetUserColourPolygonNegative(), MaskImageCtrl::SetUserColourPolygonPositive(), and threshold().
Referenced by Create().
| void MaskEditorPanel::OnImageListChar | ( | wxKeyEvent & | e | ) |
key handler for images list
Definition at line 484 of file MaskEditorPanel.cpp.
References m_imagesListMask, and threshold().
Referenced by Create().
|
private |
called, when column with of images list box was changed
Definition at line 832 of file MaskEditorPanel.cpp.
References m_imagesListMask, and threshold().
Referenced by Create().
| void MaskEditorPanel::OnImageSelect | ( | wxListEvent & | e | ) |
called when user selected another image
Definition at line 502 of file MaskEditorPanel.cpp.
References DisplayCrop(), GetImgNr(), GetSelectedImages(), m_bottom_textctrl, m_left_textctrl, m_right_textctrl, m_top_textctrl, setImage(), setMask(), and threshold().
Referenced by Create().
| void MaskEditorPanel::OnMaskAdd | ( | wxCommandEvent & | e | ) |
called when user wants to create new polygon
Definition at line 536 of file MaskEditorPanel.cpp.
References MainFrame::Get(), GetImgNr(), m_editImg, m_maskList, m_MaskNr, setMask(), MaskImageCtrl::startNewPolygon(), and threshold().
Referenced by Create().
|
private |
called, when column with of mask list box was changed
Definition at line 838 of file MaskEditorPanel.cpp.
References m_maskList, and threshold().
Referenced by Create().
| void MaskEditorPanel::OnMaskCopy | ( | wxCommandEvent & | e | ) |
called when user wants to copy a mask to clipboard
Definition at line 623 of file MaskEditorPanel.cpp.
References HuginBase::Panorama::getImage(), GetImgNr(), getSize(), m_currentMasks, m_maskMode, m_MaskNr, m_pano, and threshold().
Referenced by Create().
| void MaskEditorPanel::OnMaskDelete | ( | wxCommandEvent & | e | ) |
called when user wants to delete active mask
Definition at line 681 of file MaskEditorPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), GetImgNr(), PanoCommand::GlobalCmdHist::getInstance(), m_currentMasks, m_MaskNr, m_pano, and threshold().
Referenced by Create(), and MaskImageCtrl::OnKeyUp().
| void MaskEditorPanel::OnMaskLoad | ( | wxCommandEvent & | e | ) |
called when user wants to load a mask into the selected image
Definition at line 579 of file MaskEditorPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), MainFrame::Get(), HuginBase::Panorama::getImage(), GetImgNr(), PanoCommand::GlobalCmdHist::getInstance(), getSize(), HUGIN_CONV_FILENAME, hugin_utils::HuginMessageBox(), m_currentMasks, m_pano, and threshold().
Referenced by Create().
| void MaskEditorPanel::OnMaskPaste | ( | wxCommandEvent & | e | ) |
called when user wants to paste a mask from clipboard
Definition at line 639 of file MaskEditorPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), HuginBase::Panorama::getImage(), GetImgNr(), PanoCommand::GlobalCmdHist::getInstance(), getSize(), m_currentMasks, m_maskMode, m_pano, and threshold().
Referenced by Create().
| void MaskEditorPanel::OnMaskSave | ( | wxCommandEvent & | e | ) |
called when user wants to save active mask
Definition at line 549 of file MaskEditorPanel.cpp.
References hugin_utils::AskUserOverwrite(), HuginBase::Panorama::getImage(), GetImgNr(), getSize(), HUGIN_CONV_FILENAME, m_currentMasks, m_MaskNr, m_pano, and threshold().
Referenced by Create().
| void MaskEditorPanel::OnMaskSelect | ( | wxListEvent & | e | ) |
called when user selected another mask
Definition at line 521 of file MaskEditorPanel.cpp.
References GetSelectedMask(), and setMask().
Referenced by Create().
| void MaskEditorPanel::OnMaskTypeChange | ( | wxCommandEvent & | e | ) |
handler when mask type was changed
Definition at line 526 of file MaskEditorPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), GetImgNr(), PanoCommand::GlobalCmdHist::getInstance(), m_currentMasks, m_defaultMaskType, m_MaskNr, m_pano, and threshold().
Referenced by Create().
| void MaskEditorPanel::OnModeChanged | ( | wxNotebookEvent & | e | ) |
Definition at line 1095 of file MaskEditorPanel.cpp.
References m_editImg, m_maskCropCtrl, m_maskMode, SelectMask(), MaskImageCtrl::SetMaskMode(), SetSingleSelection(), and threshold().
Referenced by Create(), and SwitchToCropMode().
| void MaskEditorPanel::OnResetButton | ( | wxCommandEvent & | e | ) |
Definition at line 1045 of file MaskEditorPanel.cpp.
References m_autoCenterCrop, m_cropMode, m_cropRect, HuginBase::BaseSrcPanoImage::NO_CROP, UpdateCrop(), and UpdateCropDisplay().
Referenced by Create().
| void MaskEditorPanel::OnSetBottom | ( | wxCommandEvent & | e | ) |
Definition at line 988 of file MaskEditorPanel.cpp.
References CenterCrop(), m_autoCenterCrop, m_bottom_textctrl, m_cropRect, threshold(), UpdateCrop(), and UpdateCropDisplay().
Referenced by Create().
| void MaskEditorPanel::OnSetLeft | ( | wxCommandEvent & | e | ) |
Definition at line 1007 of file MaskEditorPanel.cpp.
References CenterCrop(), m_autoCenterCrop, m_cropRect, m_left_textctrl, threshold(), UpdateCrop(), and UpdateCropDisplay().
Referenced by Create().
| void MaskEditorPanel::OnSetRight | ( | wxCommandEvent & | e | ) |
Definition at line 1026 of file MaskEditorPanel.cpp.
References CenterCrop(), m_autoCenterCrop, m_cropRect, m_right_textctrl, threshold(), UpdateCrop(), and UpdateCropDisplay().
Referenced by Create().
| void MaskEditorPanel::OnSetTop | ( | wxCommandEvent & | e | ) |
Definition at line 969 of file MaskEditorPanel.cpp.
References CenterCrop(), m_autoCenterCrop, m_cropRect, m_top_textctrl, threshold(), UpdateCrop(), and UpdateCropDisplay().
Referenced by Create().
| void MaskEditorPanel::OnShowActiveMasks | ( | wxCommandEvent & | e | ) |
event handler for changing option if active masks should be drawn
Definition at line 889 of file MaskEditorPanel.cpp.
References m_editImg, and MaskImageCtrl::setDrawingActiveMasks().
Referenced by Create().
| void MaskEditorPanel::OnZoom | ( | wxCommandEvent & | e | ) |
sets the actual zoom factor
Definition at line 692 of file MaskEditorPanel.cpp.
References DEBUG_ERROR, MaskImageCtrl::getScale(), m_editImg, MaskImageCtrl::setScale(), and threshold().
Referenced by Create().
|
virtual |
called when the panorama changes and we should update our display
Implements HuginBase::PanoramaObserver.
Definition at line 382 of file MaskEditorPanel.cpp.
|
virtual |
notifies about changes to images
Images might have been added/removed. to find out how many images are still there, use Panorama::getNrOfImages.
| pano | the panorama object that changed |
| changed | set of changed images |
update images list
Implements HuginBase::PanoramaObserver.
Definition at line 412 of file MaskEditorPanel.cpp.
References DisplayCrop(), HuginBase::Panorama::getImage(), GetImgNr(), HuginBase::Panorama::getNrOfImages(), m_currentMasks, m_imageGroups, m_imagesListMask, SelectMask(), set_contains(), setImage(), threshold(), HuginBase::ConstStandardImageVariableGroups::update(), UpdateCropDisplay(), and UpdateImage().
selects the mask with index newMaskNr in the listbox
Definition at line 364 of file MaskEditorPanel.cpp.
References GetImgNr(), m_currentMasks, m_maskList, m_MaskNr, and threshold().
Referenced by AddMask(), MaskImageCtrl::FindPolygon(), OnModeChanged(), and panoramaImagesChanged().
sets the image, which is currently edited
| 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 273 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, HuginBase::BaseSrcPanoImage::NO_CROP, SelectSingleImage(), MaskImageCtrl::setCrop(), MaskImageCtrl::setImage(), setMask(), MaskImageCtrl::setNewMasks(), threshold(), and UpdateMaskList().
Referenced by OnImageSelect(), panoramaImagesChanged(), and MainFrame::ShowMaskEditor().
sets active mask number, set to UINT_MAX, if no mask is currently editing
Definition at line 328 of file MaskEditorPanel.cpp.
References GetImgNr(), m_currentMasks, m_defaultMaskType, m_editImg, m_MaskNr, m_maskType, MaskImageCtrl::setActiveMask(), and threshold().
Referenced by OnImageSelect(), OnMaskAdd(), OnMaskSelect(), and setImage().
|
inline |
Definition at line 59 of file MaskEditorPanel.h.
References m_pano, and threshold().
Definition at line 1074 of file MaskEditorPanel.cpp.
References GetImgNr(), HuginBase::Panorama::getNrOfImages(), m_imagesListMask, m_pano, SelectSingleImage(), threshold(), and UpdateImage().
Referenced by OnModeChanged().
| void MaskEditorPanel::SwitchToCropMode | ( | ) |
switches the controls to crop mode
Definition at line 1117 of file MaskEditorPanel.cpp.
References m_maskCropCtrl, OnModeChanged(), and threshold().
Referenced by MainFrame::ShowMaskEditor().
updated the crop in the Panorama object with the current values from GUI
| updateFromImgCtrl | if true, the crop is updated from the image control, otherwise from the values inside MaskEditorPanel (so from wxTextCtrls) |
Definition at line 910 of file MaskEditorPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), MaskImageCtrl::getCrop(), PanoCommand::GlobalCmdHist::getInstance(), HuginBase::ConstStandardImageVariableGroups::getLenses(), HuginBase::ConstImageVariableGroup::getPartsSet(), GetSelectedImages(), HuginBase::Panorama::getSrcImage(), m_autoCenterCrop, m_cropLens, m_cropRect, m_editImg, m_imageGroups, m_pano, set_contains(), and threshold().
Referenced by OnAutoCenter(), MaskImageCtrl::OnLeftMouseUp(), MaskImageCtrl::OnMouseWheel(), OnResetButton(), OnSetBottom(), OnSetLeft(), OnSetRight(), and OnSetTop().
|
private |
update GUI display
Definition at line 958 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(), panoramaImagesChanged(), and UpdateCropFromImage().
| void MaskEditorPanel::UpdateCropFromImage | ( | ) |
updates the displayed crop in the text boxes (for dragging)
Definition at line 951 of file MaskEditorPanel.cpp.
References MaskImageCtrl::getCrop(), m_cropRect, m_editImg, and UpdateCropDisplay().
Referenced by MaskImageCtrl::OnMouseMove().
update the list box for the given imgNr
Definition at line 386 of file MaskEditorPanel.cpp.
References HuginBase::Panorama::getImage(), HuginBase::SrcPanoImage::hasMasks(), HUGIN_CONV_FILENAME, m_imagesListMask, m_pano, HuginBase::BaseSrcPanoImage::NO_CROP, and threshold().
Referenced by panoramaImagesChanged(), and SetSingleSelection().
| void MaskEditorPanel::UpdateMask | ( | ) |
called when mask where changed in MaskImageCtrl
Definition at line 342 of file MaskEditorPanel.cpp.
References PanoCommand::CommandHistory::addCommand(), GetImgNr(), PanoCommand::GlobalCmdHist::getInstance(), MaskImageCtrl::getNewMask(), m_currentMasks, m_editImg, m_pano, and threshold().
Referenced by MaskImageCtrl::OnKeyUp(), MaskImageCtrl::OnLeftMouseUp(), MaskImageCtrl::OnMouseWheel(), and MaskImageCtrl::OnRightMouseUp().
updates the display after another image has been selected.
updates mask list and editor panel
Definition at line 770 of file MaskEditorPanel.cpp.
References GetImgNr(), GetSelectedMask(), m_currentMasks, m_maskList, m_maskType, and threshold().
Referenced by setImage().
|
private |
Definition at line 183 of file MaskEditorPanel.h.
Referenced by Create(), and UpdateCropDisplay().
Definition at line 187 of file MaskEditorPanel.h.
Referenced by DisplayCrop(), OnAutoCenter(), OnResetButton(), OnSetBottom(), OnSetLeft(), OnSetRight(), OnSetTop(), UpdateCrop(), and UpdateCropDisplay().
|
private |
Definition at line 182 of file MaskEditorPanel.h.
Referenced by Create(), OnImageSelect(), OnSetBottom(), UpdateCropDisplay(), and ~MaskEditorPanel().
|
private |
Definition at line 188 of file MaskEditorPanel.h.
Referenced by CenterCrop(), and DisplayCrop().
|
private |
Definition at line 184 of file MaskEditorPanel.h.
Referenced by Create(), UpdateCrop(), and ~MaskEditorPanel().
|
private |
Definition at line 185 of file MaskEditorPanel.h.
Referenced by DisplayCrop(), and OnResetButton().
|
private |
Definition at line 186 of file MaskEditorPanel.h.
Referenced by CenterCrop(), DisplayCrop(), OnResetButton(), OnSetBottom(), OnSetLeft(), OnSetRight(), OnSetTop(), UpdateCrop(), UpdateCropDisplay(), and UpdateCropFromImage().
|
private |
Definition at line 169 of file MaskEditorPanel.h.
Referenced by AddMask(), OnMaskCopy(), OnMaskDelete(), OnMaskLoad(), OnMaskPaste(), OnMaskSave(), OnMaskTypeChange(), panoramaImagesChanged(), SelectMask(), setImage(), setMask(), UpdateMask(), and UpdateMaskList().
|
private |
Definition at line 170 of file MaskEditorPanel.h.
Referenced by AddMask(), Create(), MaskEditorPanel(), OnMaskTypeChange(), setMask(), and ~MaskEditorPanel().
|
private |
Definition at line 159 of file MaskEditorPanel.h.
Referenced by AddMask(), Create(), OnColourChanged(), OnMaskAdd(), OnModeChanged(), OnShowActiveMasks(), OnZoom(), setImage(), setMask(), UpdateCrop(), UpdateCropFromImage(), and UpdateMask().
|
private |
Definition at line 176 of file MaskEditorPanel.h.
Referenced by Create(), and setImage().
|
private |
Definition at line 167 of file MaskEditorPanel.h.
Referenced by Init(), panoramaImagesChanged(), UpdateCrop(), and ~MaskEditorPanel().
|
private |
Definition at line 160 of file MaskEditorPanel.h.
Referenced by Create(), GetImgNr(), GetSelectedImages(), OnImageListChar(), OnImagesColumnWidthChange(), panoramaImagesChanged(), setImage(), SetSingleSelection(), and UpdateImage().
|
private |
Definition at line 179 of file MaskEditorPanel.h.
Referenced by Create(), OnImageSelect(), OnSetLeft(), UpdateCropDisplay(), and ~MaskEditorPanel().
|
private |
Definition at line 163 of file MaskEditorPanel.h.
Referenced by Create(), MaskEditorPanel(), OnModeChanged(), and SwitchToCropMode().
|
private |
Definition at line 161 of file MaskEditorPanel.h.
Referenced by Create(), GetSelectedMask(), OnMaskAdd(), OnMaskColumnWidthChange(), SelectMask(), and UpdateMaskList().
|
private |
Definition at line 172 of file MaskEditorPanel.h.
Referenced by Create(), OnMaskCopy(), OnMaskPaste(), and OnModeChanged().
Definition at line 174 of file MaskEditorPanel.h.
Referenced by Create(), OnMaskAdd(), OnMaskCopy(), OnMaskDelete(), OnMaskSave(), OnMaskTypeChange(), SelectMask(), setImage(), and setMask().
|
private |
Definition at line 162 of file MaskEditorPanel.h.
Referenced by Create(), setMask(), and UpdateMaskList().
|
private |
Definition at line 166 of file MaskEditorPanel.h.
Referenced by AddMask(), DisplayCrop(), GetRot(), Init(), MaskEditorPanel(), OnMaskCopy(), OnMaskDelete(), OnMaskLoad(), OnMaskPaste(), OnMaskSave(), OnMaskTypeChange(), setImage(), SetPano(), SetSingleSelection(), UpdateCrop(), UpdateImage(), UpdateMask(), and ~MaskEditorPanel().
|
private |
Definition at line 180 of file MaskEditorPanel.h.
Referenced by Create(), OnImageSelect(), OnSetRight(), UpdateCropDisplay(), and ~MaskEditorPanel().
|
private |
Definition at line 181 of file MaskEditorPanel.h.
Referenced by Create(), OnImageSelect(), OnSetTop(), UpdateCropDisplay(), and ~MaskEditorPanel().