28#ifndef _CPIMAGESCOMBOBOX_H
29#define _CPIMAGESCOMBOBOX_H
34#include "wx/odcombo.h"
35#include "wx/xrc/xh_odcombo.h"
xrc handler for CPImagesComboBox
CPImagesComboBoxXmlHandler()
Constructor.
virtual wxObject * DoCreateResource()
Create CPImagesComboBox from resource.
virtual bool CanHandle(wxXmlNode *node)
Internal use to identify right xml handler.
Owner Drawn ComboBox for showing connected images on CP tab.
const unsigned int GetRefImage()
Returns the reference image number
void SetRefImage(HuginBase::Panorama *pano, unsigned int newRefImg)
Set new reference image.
void SelectPrev(int step=1)
void SelectNext(int step=1)
std::vector< double > CPConnection
bool Create(wxWindow *parent, wxWindowID id, const wxString &value, const wxPoint &pos, const wxSize &size, long style=0, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxASCII_STR(wxComboBoxNameStr))
create control, bind events
std::vector< unsigned int > CPCount
void CalcCPDistance(HuginBase::Panorama *pano)
Get maximum CP distance for all images pairs containing the reference image
void OnMouseWheel(wxMouseEvent &e)
Mouse wheel handler to mimic wxChoice behavior
void OnKeyDown(wxKeyEvent &e)
Key handler to mimic wxChoice behavior
virtual void OnDrawItem(wxDC &dc, const wxRect &rect, int item, int WXUNUSED(flags)) const
Paint method for drawing text and indication bar of combo box
include file for the hugin project
include file for the hugin project
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.