[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

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)
 sets the image, which is currently edited, set imgNr to UINT_MAX if no image is editing
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 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 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

Detailed Description

mask editor panel.

This panel is used to create/change/edit masks


Constructor & Destructor Documentation

MaskEditorPanel::MaskEditorPanel  ) 
 

ctor.

MaskEditorPanel::~MaskEditorPanel  )  [virtual]
 

dtor.


Member Function Documentation

void MaskEditorPanel::AddMask  ) 
 

called when new mask added in MaskImageCtrl

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")
 

void MaskEditorPanel::Init PT::Panorama pano  ) 
 

void MaskEditorPanel::OnColourChanged wxColourPickerEvent &  e  ) 
 

event handler for changing colours

void MaskEditorPanel::OnImageSelect wxListEvent &  e  ) 
 

called when user selected an other image

void MaskEditorPanel::OnMaskAdd wxCommandEvent &  e  ) 
 

called when user wants to create new polygon

void MaskEditorPanel::OnMaskDelete wxCommandEvent &  e  ) 
 

called when user wants to delete active mask

void MaskEditorPanel::OnMaskLoad wxCommandEvent &  e  ) 
 

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

void MaskEditorPanel::OnMaskSave wxCommandEvent &  e  ) 
 

called when user wants to save active mask

void MaskEditorPanel::OnMaskSelect wxListEvent &  e  ) 
 

called when user selected an other mask

void MaskEditorPanel::OnMaskTypeChange wxCommandEvent &  e  ) 
 

handler when mask type was changed

void MaskEditorPanel::OnZoom wxCommandEvent &  e  ) 
 

sets the actual zoom factor

void MaskEditorPanel::panoramaChanged PT::Panorama pano  ) 
 

called when the panorama changes and we should update our display

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

void MaskEditorPanel::setImage unsigned int  imgNr  ) 
 

sets the image, which is currently edited, set imgNr to UINT_MAX if no image is editing

void MaskEditorPanel::setMask unsigned int  maskNr  ) 
 

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

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

void MaskEditorPanel::UpdateMask  ) 
 

called when mask where changed in MaskImageCtrl


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

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