41     wxXmlResource::Get()->LoadDialog(
this, parent, 
"mask_load_dialog");
 
   46     wxColour defaultColour;
 
   48     wxColour colour=wxConfigBase::Get()->Read(
"/MaskEditorPanel/ColourPolygonNegative",defaultColour.GetAsString(wxC2S_HTML_SYNTAX));
 
   51     colour=wxConfigBase::Get()->Read(
"/MaskEditorPanel/ColourPolygonPositive",defaultColour.GetAsString(wxC2S_HTML_SYNTAX));
 
   54     colour=wxConfigBase::Get()->Read(
"/MaskEditorPanel/ColourPointSelected",defaultColour.GetAsString(wxC2S_HTML_SYNTAX));
 
   57     colour=wxConfigBase::Get()->Read(
"/MaskEditorPanel/ColourPointUnselected",defaultColour.GetAsString(wxC2S_HTML_SYNTAX));
 
   66     if(GetSize().GetWidth()<400)
 
   67         SetClientSize(400,GetSize().GetHeight());
 
   90     XRCCTRL(*
this,
"label_image_size",wxStaticText)->SetLabel(wxString::Format(
"%d x %d",
m_imageSize.width(),
m_imageSize.height()));
 
   91     XRCCTRL(*
this,
"label_mask_size",wxStaticText)->SetLabel(wxString::Format(
"%d x %d",
m_maskSize.width(),
m_maskSize.height()));
 
void RestoreFramePosition(wxTopLevelWindow *frame, const wxString &basename, const bool ignoreMaximize)
 
void StoreFramePosition(wxTopLevelWindow *frame, const wxString &basename, const bool ignoreMaximize)
 
wxRadioBox * m_maskScaleMode
 
const int maskOffset
polygon can exceed the image maximal maskOffset pixels in each direction bigger polygons will be clip...
 
void SetUserColourPointUnselected(wxColour newColour)
 
include file for the hugin project 
 
MaskLoadDialog(wxWindow *parent)
Constructor, read from xrc ressource. 
 
void setPreviewOnly()
if called, the mouse handlers are deactivated 
 
void SetUserColourPolygonNegative(wxColour newColour)
sets the colour for different parts 
 
void SetUserColourPointSelected(wxColour newColour)
 
HuginBase::MaskPolygonVector m_processedMask
 
wxRadioBox * m_maskRotateMode
 
void setImage(const std::string &filename, HuginBase::MaskPolygonVector newMask, HuginBase::MaskPolygonVector masksToDraw, ImageRotation rot)
set the current image and mask list, this loads also the image from cache 
 
std::vector< MaskPolygon > MaskPolygonVector
 
virtual ~MaskLoadDialog()
 
#define HUGIN_MASK_COLOUR_POINT_UNSELECTED
 
void setNewMasks(HuginBase::MaskPolygonVector newMasks, HuginBase::MaskPolygonVector masksToDraw)
updates masks for currently selected image 
 
include file for the hugin project 
 
void UpdatePreviewImage()
 
void setScale(double factor)
set the scaling factor for mask editing display. 
 
#define HUGIN_MASK_COLOUR_POINT_SELECTED
 
#define HUGIN_MASK_COLOUR_POLYGON_NEGATIVE
 
void ProcessMask(wxCommandEvent &e)
 
Definition of mask load dialog. 
 
vigra::Size2D m_imageSize
 
void SetUserColourPolygonPositive(wxColour newColour)
 
#define HUGIN_MASK_COLOUR_POLYGON_POSITIVE
 
All variables of a source image. 
 
void initValues(const HuginBase::SrcPanoImage image, const HuginBase::MaskPolygonVector newMask, const vigra::Size2D maskSize)
sets the default values 
 
HuginBase::MaskPolygonVector m_loadedMask