Basic Image AlgorithmS Library
2.8.0
Main Page
Related Pages
Modules
Classes
Examples
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
Gui
wxMatrixPanel.hh
1
/*
2
* wxMatrixPanel.hh
3
*
4
* Created on: Jun 25, 2010
5
* Author: ischiller
6
*/
7
8
#ifndef WXMATRIXPANEL_HH_
9
#define WXMATRIXPANEL_HH_
10
11
#include <bias_config.h>
12
13
#ifndef BIAS_HAVE_WXWIDGETS
14
# error BIAS_HAVE_WXWIDGETS not defined but required by ProjectionGUI. Please enable BIAS_HAVE_WXWIDGETS in CMake configure step.
15
#endif
16
17
#include <wx/wx.h>
18
#include <vector>
19
#include <Base/Math/Matrix.hh>
20
21
namespace
BIAS {
22
23
/** @brief Panel for displaying and editing matrices.
24
@author jkollmann */
25
class
BIASGui_EXPORT
wxMatrixPanel
:
public
wxPanel
26
{
27
public
:
28
wxMatrixPanel
(
wxWindow
* parent, wxWindowID
id
,
bool
editable);
29
void
SetMatrix(
const
Matrix<double>
& matrix);
30
Matrix<double>
GetMatrix();
31
32
private
:
33
bool
editable_;
34
int
rows_, cols_;
35
std::vector<wxTextCtrl*> controls_;
36
};
37
38
39
}
40
41
#endif
/* WXMATRIXPANEL_HH_ */
wxWindow
Definition:
_wx_intellisense.h:17
BIAS::Matrix< double >
BIAS::wxMatrixPanel
Panel for displaying and editing matrices.
Definition:
wxMatrixPanel.hh:25
Generated on Tue Feb 6 2018 02:01:38 for Basic Image AlgorithmS Library by
1.8.5