27#include <wx/xrc/xh_listc.h>
xrc handler for CPImagesComboBox
CPListCtrlXmlHandler()
Constructor.
virtual bool CanHandle(wxXmlNode *node)
Internal use to identify right xml handler.
virtual wxObject * DoCreateResource()
Create CPImagesComboBox from resource.
List all control points of this project.
void SelectDistanceThreshold(double threshold)
select all cp with the given error bigger than the threshold
virtual void panoramaChanged(HuginBase::Panorama &pano)
Notification about a Panorama change.
void OnCPListSelectionChanged(wxListEvent &e)
selection event handler
void OnChar(wxKeyEvent &e)
handle keystrokes
virtual wxString OnGetItemText(long item, long column) const
create labels for virtual list control
virtual int OnGetItemImage(long item) const
show no images
void DeleteSelected()
Delete the selected points.
void SelectAll()
select all items
std::vector< CPListItem > m_internalCPList
void OnColumnWidthChange(wxListEvent &e)
column width changed
void OnCPListHeaderClick(wxListEvent &e)
sort criterium changed
void Init(HuginBase::Panorama *pano)
void UpdateInternalCPList()
HuginBase::Panorama * m_pano
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxLC_REPORT|wxLC_VIRTUAL, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxListCtrlNameStr)
void SortInternalList(bool isAscending)
virtual void panoramaImagesChanged(HuginBase::Panorama &pano, const HuginBase::UIntSet &changed)
notifies about changes to images
std::map< std::string, int > m_localIds
void OnSelectButton(wxCommandEvent &e)
HuginBase::Panorama & m_pano
void OnDeleteButton(wxCommandEvent &e)
void OnClose(wxCloseEvent &event)
virtual ~CPListFrame()
dtor.
this handler class will receive change events from the Panorama.
std::set< unsigned int > UIntSet
helper class for virtual listview control
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.