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