Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
MaskLoadDialog Class Reference

Dialog for loading masks. More...

#include <MaskLoadDialog.h>

Inheritance diagram for MaskLoadDialog:
Inheritance graph

Public Member Functions

 MaskLoadDialog (wxWindow *parent)
 Constructor, read from xrc ressource. More...
 
virtual ~MaskLoadDialog ()
 
void initValues (const HuginBase::SrcPanoImage image, const HuginBase::MaskPolygonVector newMask, const vigra::Size2D maskSize)
 sets the default values More...
 
HuginBase::MaskPolygonVector getProcessedMask () const
 return the processed mask More...
 
void OnSize (wxSizeEvent &e)
 
void ProcessMask (wxCommandEvent &e)
 
void UpdatePreviewImage ()
 

Private Attributes

MaskImageCtrlm_image
 
wxRadioBox * m_maskScaleMode
 
wxRadioBox * m_maskRotateMode
 
vigra::Size2D m_imageSize
 
vigra::Size2D m_maskSize
 
HuginBase::MaskPolygonVector m_loadedMask
 
HuginBase::MaskPolygonVector m_processedMask
 

Detailed Description

Dialog for loading masks.

Definition at line 38 of file MaskLoadDialog.h.

Constructor & Destructor Documentation

MaskLoadDialog::MaskLoadDialog ( wxWindow *  parent)
MaskLoadDialog::~MaskLoadDialog ( )
virtual

Definition at line 80 of file MaskLoadDialog.cpp.

References StoreFramePosition().

Member Function Documentation

HuginBase::MaskPolygonVector MaskLoadDialog::getProcessedMask ( ) const
inline

return the processed mask

Definition at line 47 of file MaskLoadDialog.h.

References m_processedMask.

Referenced by MaskEditorPanel::OnMaskLoad(), and MaskEditorPanel::OnMaskPaste().

void MaskLoadDialog::initValues ( const HuginBase::SrcPanoImage  image,
const HuginBase::MaskPolygonVector  newMask,
const vigra::Size2D  maskSize 
)
void MaskLoadDialog::OnSize ( wxSizeEvent &  e)
void MaskLoadDialog::ProcessMask ( wxCommandEvent &  e)
void MaskLoadDialog::UpdatePreviewImage ( )

Definition at line 158 of file MaskLoadDialog.cpp.

References m_image, m_processedMask, and MaskImageCtrl::setNewMasks().

Referenced by ProcessMask().

Member Data Documentation

MaskImageCtrl* MaskLoadDialog::m_image
private

Definition at line 53 of file MaskLoadDialog.h.

Referenced by initValues(), and UpdatePreviewImage().

vigra::Size2D MaskLoadDialog::m_imageSize
private

Definition at line 57 of file MaskLoadDialog.h.

Referenced by initValues(), and ProcessMask().

HuginBase::MaskPolygonVector MaskLoadDialog::m_loadedMask
private

Definition at line 60 of file MaskLoadDialog.h.

Referenced by initValues(), and ProcessMask().

wxRadioBox* MaskLoadDialog::m_maskRotateMode
private

Definition at line 56 of file MaskLoadDialog.h.

Referenced by initValues(), and ProcessMask().

wxRadioBox* MaskLoadDialog::m_maskScaleMode
private

Definition at line 55 of file MaskLoadDialog.h.

Referenced by ProcessMask().

vigra::Size2D MaskLoadDialog::m_maskSize
private

Definition at line 58 of file MaskLoadDialog.h.

Referenced by initValues(), and ProcessMask().

HuginBase::MaskPolygonVector MaskLoadDialog::m_processedMask
private

Definition at line 61 of file MaskLoadDialog.h.

Referenced by getProcessedMask(), ProcessMask(), and UpdatePreviewImage().


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