Hugin trunk 0.1
Loading...
Searching...
No Matches
ChangeImageVariableDialog.h
Go to the documentation of this file.
1// -*- c-basic-offset: 4 -*-
10/* This is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public
12 * License as published by the Free Software Foundation; either
13 * version 2 of the License, or (at your option) any later version.
14 *
15 * This software is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public
21 * License along with this software. If not, see
22 * <http://www.gnu.org/licenses/>.
23 *
24 */
25
26#ifndef _PARSEIMAGEVARIABLEDIALOG_H
27#define _PARSEIMAGEVARIABLEDIALOG_H
28
29#include "panoinc_WX.h"
30#include "panoinc.h"
31
33class ImageVariablesExpressionDialog : public wxDialog
34{
35public:
40 std::string GetExpression();
41
42protected:
44 void OnOk(wxCommandEvent & e);
46 void OnLoad(wxCommandEvent & e);
48 void OnSave(wxCommandEvent & e);
50 void OnDelete(wxCommandEvent & e);
52 void OnTest(wxCommandEvent & e);
54 void OnTextChange(wxCommandEvent & e);
55private:
56 void SetExpression(const wxString& s);
59 wxTextCtrl* m_textInput;
62};
63
64#endif //_PARSEIMAGEVARIABLEDIALOG_H
Model for a panorama.
Definition Panorama.h:153
Dialog for editing expression to change image variables.
void OnSave(wxCommandEvent &e)
saves the current expression as preset
void OnTest(wxCommandEvent &e)
tests the current expression
void OnOk(wxCommandEvent &e)
Saves current expression when closing dialog with Ok.
void OnTextChange(wxCommandEvent &e)
text change event, used to format text
void OnLoad(wxCommandEvent &e)
loads the selected preset into control
void OnDelete(wxCommandEvent &e)
deletes the seletected preset
~ImageVariablesExpressionDialog()
destructor, saves position
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.
Definition threshold.h:41