0.4.1
Loading...
Searching...
No Matches
Matrix.hpp File Reference

Widgets related to Matrices. More...

Go to the source code of this file.

Namespaces

namespace  NAV
 
namespace  NAV::gui
 
namespace  NAV::gui::widgets
 

Typedefs

using GuiMatrixViewFlags
 Flags for MatrixView GUI elements GuiMatrixViewFlags_.
 

Enumerations

enum  GuiMatrixViewFlags_ : uint8_t {
  GuiMatrixViewFlags_None ,
  GuiMatrixViewFlags_RowHeader ,
  GuiMatrixViewFlags_ColumnHeader ,
  GuiMatrixViewFlags_Header
}
 Flags to select the MatrixView behaviour. More...
 

Functions

template<typename _Scalar, int _Rows, int _Cols>
bool NAV::gui::widgets::InputMatrix (const char *label, Eigen::Matrix< _Scalar, _Rows, _Cols > *matrix, GuiMatrixViewFlags flags=GuiMatrixViewFlags_None, ImGuiTableFlags tableFlags=ImGuiTableFlags_None, float inputTextWidth=50.0F, double step=0.0, double step_fast=0.0, const char *format="%.6f", ImGuiInputTextFlags inputTextFlags=ImGuiInputTextFlags_None)
 Shows GUI elements to modify the coefficients of a matrix with.
 
template<typename _Scalar, int _Rows, int _Cols>
void NAV::gui::widgets::MatrixView (const char *label, const Eigen::Matrix< _Scalar, _Rows, _Cols > *matrix, GuiMatrixViewFlags flags=GuiMatrixViewFlags_None, ImGuiTableFlags tableFlags=ImGuiTableFlags_None, const char *format="%.6f")
 Shows GUI elements to display the coefficients of a matrix.
 

Detailed Description

Widgets related to Matrices.

Author
T. Topp (topp@.nosp@m.ins..nosp@m.uni-s.nosp@m.tutt.nosp@m.gart..nosp@m.de)
Date
2021-10-04

Definition in file Matrix.hpp.

Typedef Documentation

◆ GuiMatrixViewFlags

Flags for MatrixView GUI elements GuiMatrixViewFlags_.

Definition at line 21 of file Matrix.hpp.

Enumeration Type Documentation

◆ GuiMatrixViewFlags_

enum GuiMatrixViewFlags_ : uint8_t

Flags to select the MatrixView behaviour.

Enumerator
GuiMatrixViewFlags_None 

None.

GuiMatrixViewFlags_RowHeader 

Print the Row Header.

GuiMatrixViewFlags_ColumnHeader 

Print the Col Header.

GuiMatrixViewFlags_Header 

Print all Header.

Definition at line 24 of file Matrix.hpp.