![]() |
0.5.0
|
Namespaces | |
| namespace | internal |
| namespace | PinIcon |
Data Structures | |
| struct | DynamicInputPins |
| Inputs pins which can be added dynamically. More... | |
| struct | PositionWithFrame |
| Position with Reference frame, used for GUI input. More... | |
| struct | TimeEditFormat |
| Time Edit format and system. More... | |
Enumerations | |
| enum | InputWithUnitChange : uint8_t { InputWithUnitChange_None , InputWithUnitChange_Input , InputWithUnitChange_Unit } |
| Return value signaling that the input or the unit changed. More... | |
| enum class | PositionInputLayout : uint8_t { SINGLE_COLUMN , SINGLE_ROW , TWO_ROWS } |
| Layout options for the Position input. More... | |
Functions | |
| bool | BeginHelpMarker (const char *symbol="(?)", float textWrapLength=35.0F) |
| Begins a Text Help Marker, e.g. '(?)', with custom content. | |
| void | EndHelpMarker (bool wrapText=true) |
| Ends a Text Help Marker with custom content. | |
| template<typename T> | |
| bool | EnumCombo (const char *label, T &enumeration, size_t startIdx=0) |
| Combo representing an enumeration. | |
| template<typename T> | |
| bool | EnumCombo (const char *label, T &enumeration1, T &enumeration2, const char *previewAppendix="") |
| Combo representing two enumerations. Values will be displayed appended and set to the same value. | |
| template<typename T> | |
| bool | EnumComboAbbreviation (const char *label, T &enumeration, size_t startIdx=0) |
| Combo representing an enumeration and use abbreviations to display in the preview. | |
| template<typename T> | |
| bool | EnumComboWithToolTip (const char *label, T &enumeration, size_t startIdx=0) |
| Combo representing an enumeration. | |
| bool | FileDialogLoad (std::string &path, const char *vName, const char *vFilters, const std::vector< std::string > &extensions, const std::filesystem::path &startPath, size_t id, const std::string &nameId, const char *buttonText="Choose") |
| Shows an InputText and a button which opens a file dialog to select a path to load a file to. | |
| bool | FileDialogSave (std::string &path, const char *vName, const char *vFilters, const std::vector< std::string > &extensions, const std::filesystem::path &startPath, size_t id, const std::string &nameId, const char *buttonText="Choose") |
| Shows an InputText and a button which opens a file dialog to select a path to save a file to. | |
| void | from_json (const json &j, DynamicInputPins &obj, Node *node) |
| Converts the provided json object into a node object. | |
| void | from_json (const json &j, PositionWithFrame &position) |
| Converts the provided json object. | |
| void | from_json (const json &j, PositionWithFrame::ReferenceFrame &refFrame) |
| Converts the provided json object. | |
| void | from_json (const json &j, TimeEditFormat &timeEditFormat) |
| Converts the provided json object. | |
| void | HelpMarker (const char *desc, const char *symbol="(?)") |
| Text Help Marker, e.g. '(?)', with Tooltip. | |
| template<typename U> | |
| InputWithUnitChange | InputDouble2LWithUnit (const char *label, float itemWidth, float unitWidth, double v[2], double v_min, double v_max, U &combo_current_item, const char *combo_items_separated_by_zeros, const char *format="%.6f", ImGuiInputTextFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an InputText GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | InputDouble2WithUnit (const char *label, float itemWidth, float unitWidth, double v[2], U &combo_current_item, const char *combo_items_separated_by_zeros, const char *format="%.6f", ImGuiInputTextFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an InputText GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | InputDouble3LWithUnit (const char *label, float itemWidth, float unitWidth, double v[3], double v_min, double v_max, U &combo_current_item, const char *combo_items_separated_by_zeros, const char *format="%.6f", ImGuiInputTextFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an InputText GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | InputDouble3WithUnit (const char *label, float itemWidth, float unitWidth, double v[3], U &combo_current_item, const char *combo_items_separated_by_zeros, const char *format="%.6f", ImGuiInputTextFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an InputText GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | InputDouble4LWithUnit (const char *label, float itemWidth, float unitWidth, double v[4], double v_min, double v_max, U &combo_current_item, const char *combo_items_separated_by_zeros, const char *format="%.6f", ImGuiInputTextFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an InputText GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | InputDouble4WithUnit (const char *label, float itemWidth, float unitWidth, double v[4], U &combo_current_item, const char *combo_items_separated_by_zeros, const char *format="%.6f", ImGuiInputTextFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an InputText GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | InputDoubleLWithUnit (const char *label, float itemWidth, float unitWidth, double *v, double v_min, double v_max, U &combo_current_item, const char *combo_items_separated_by_zeros, double step=0.0, double step_fast=0.0, const char *format="%.6f", ImGuiInputTextFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an InputText GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | InputDoubleWithUnit (const char *label, float itemWidth, float unitWidth, double *v, U &combo_current_item, const char *combo_items_separated_by_zeros, double step=0.0, double step_fast=0.0, const char *format="%.6f", ImGuiInputTextFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an InputText GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | InputFloat2LWithUnit (const char *label, float itemWidth, float unitWidth, float v[2], float v_min, float v_max, U &combo_current_item, const char *combo_items_separated_by_zeros, const char *format="%.3f", ImGuiInputTextFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an InputText GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | InputFloat2WithUnit (const char *label, float itemWidth, float unitWidth, float v[2], U &combo_current_item, const char *combo_items_separated_by_zeros, const char *format="%.3f", ImGuiInputTextFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an InputText GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | InputFloat3LWithUnit (const char *label, float itemWidth, float unitWidth, float v[3], float v_min, float v_max, U &combo_current_item, const char *combo_items_separated_by_zeros, const char *format="%.3f", ImGuiInputTextFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an InputText GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | InputFloat3WithUnit (const char *label, float itemWidth, float unitWidth, float v[3], U &combo_current_item, const char *combo_items_separated_by_zeros, const char *format="%.3f", ImGuiInputTextFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an InputText GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | InputFloat4LWithUnit (const char *label, float itemWidth, float unitWidth, float v[4], float v_min, float v_max, U &combo_current_item, const char *combo_items_separated_by_zeros, const char *format="%.3f", ImGuiInputTextFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an InputText GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | InputFloat4WithUnit (const char *label, float itemWidth, float unitWidth, float v[4], U &combo_current_item, const char *combo_items_separated_by_zeros, const char *format="%.3f", ImGuiInputTextFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an InputText GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | InputFloatLWithUnit (const char *label, float itemWidth, float unitWidth, float *v, float v_min, float v_max, U &combo_current_item, const char *combo_items_separated_by_zeros, float step=0.0, float step_fast=0.0, const char *format="%.3f", ImGuiInputTextFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an InputText GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | InputFloatWithUnit (const char *label, float itemWidth, float unitWidth, float *v, U &combo_current_item, const char *combo_items_separated_by_zeros, float step=0.0, float step_fast=0.0, const char *format="%.3f", ImGuiInputTextFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an InputText GUI element to modify the provided value and also set its unit. | |
| template<typename Scalar, typename RowKeyType, typename ColKeyType, int Rows, int Cols> | |
| bool | InputKeyedMatrix (const char *label, KeyedMatrix< Scalar, RowKeyType, ColKeyType, Rows, Cols > *matrix, float tableHeight=-1.0F, ImGuiTableFlags tableFlags=ImGuiTableFlags_Borders|ImGuiTableFlags_NoHostExtendX|ImGuiTableFlags_SizingFixedFit|ImGuiTableFlags_ScrollX|ImGuiTableFlags_ScrollY, double step=0.0, double step_fast=0.0, const char *format="%.4g", ImGuiInputTextFlags inputTextFlags=ImGuiInputTextFlags_None) |
| Shows GUI elements to modify the coefficients of a matrix with. | |
| template<typename Scalar, typename ColKeyType, int Cols> | |
| bool | InputKeyedRowVector (const char *label, KeyedRowVector< Scalar, ColKeyType, Cols > *matrix, ImGuiTableFlags tableFlags=ImGuiTableFlags_Borders|ImGuiTableFlags_NoHostExtendX|ImGuiTableFlags_SizingFixedFit|ImGuiTableFlags_ScrollX, double step=0.0, double step_fast=0.0, const char *format="%.4g", ImGuiInputTextFlags inputTextFlags=ImGuiInputTextFlags_None) |
| Shows GUI elements to modify the coefficients of a matrix with. | |
| template<typename Scalar, typename RowKeyType, int Rows> | |
| bool | InputKeyedVector (const char *label, KeyedVector< Scalar, RowKeyType, Rows > *matrix, float tableHeight=-1.0F, ImGuiTableFlags tableFlags=ImGuiTableFlags_Borders|ImGuiTableFlags_NoHostExtendX|ImGuiTableFlags_SizingFixedFit|ImGuiTableFlags_ScrollY, double step=0.0, double step_fast=0.0, const char *format="%.4g", ImGuiInputTextFlags inputTextFlags=ImGuiInputTextFlags_None) |
| Shows GUI elements to modify the coefficients of a matrix with. | |
| template<typename _Scalar, int _Rows, int _Cols> | |
| bool | 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, typename RowKeyType, typename ColKeyType, int Rows, int Cols> | |
| void | KeyedMatrixView (const char *label, const KeyedMatrix< Scalar, RowKeyType, ColKeyType, Rows, Cols > *matrix, float tableHeight=-1.0F, ImGuiTableFlags tableFlags=ImGuiTableFlags_Borders|ImGuiTableFlags_NoHostExtendX|ImGuiTableFlags_SizingFixedFit|ImGuiTableFlags_ScrollX|ImGuiTableFlags_ScrollY) |
| Shows GUI elements to display the coefficients of a matrix. | |
| template<typename Scalar, typename ColKeyType, int Cols> | |
| void | KeyedRowVectorView (const char *label, const KeyedRowVector< Scalar, ColKeyType, Cols > *matrix, ImGuiTableFlags tableFlags=ImGuiTableFlags_Borders|ImGuiTableFlags_NoHostExtendX|ImGuiTableFlags_SizingFixedFit|ImGuiTableFlags_ScrollX) |
| Shows GUI elements to display the coefficients of a matrix. | |
| template<typename Scalar, typename RowKeyType, int Rows> | |
| void | KeyedVectorView (const char *label, const KeyedVector< Scalar, RowKeyType, Rows > *matrix, float tableHeight=-1.0F, ImGuiTableFlags tableFlags=ImGuiTableFlags_Borders|ImGuiTableFlags_NoHostExtendX|ImGuiTableFlags_SizingFixedFit|ImGuiTableFlags_ScrollY) |
| Shows GUI elements to display the coefficients of a matrix. | |
| template<typename _Scalar, int _Rows, int _Cols> | |
| void | 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. | |
| bool | PositionInput (const char *str, PositionWithFrame &position, PositionInputLayout layout=PositionInputLayout::SINGLE_COLUMN, float itemWidth=140.0F) |
| Inputs to edit an Position object. | |
| template<typename U> | |
| InputWithUnitChange | SliderDouble2WithUnit (const char *label, float itemWidth, float unitWidth, double v[2], double v_min, double v_max, U &combo_current_item, const char *combo_items_separated_by_zeros, const char *format="%.6f", ImGuiSliderFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an Slider GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | SliderDouble3WithUnit (const char *label, float itemWidth, float unitWidth, double v[3], double v_min, double v_max, U &combo_current_item, const char *combo_items_separated_by_zeros, const char *format="%.6f", ImGuiSliderFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an Slider GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | SliderDouble4WithUnit (const char *label, float itemWidth, float unitWidth, double v[4], double v_min, double v_max, U &combo_current_item, const char *combo_items_separated_by_zeros, const char *format="%.6f", ImGuiSliderFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an Slider GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | SliderDoubleWithUnit (const char *label, float itemWidth, float unitWidth, double *v, double v_min, double v_max, U &combo_current_item, const char *combo_items_separated_by_zeros, const char *format="%.6f", ImGuiSliderFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an Slider GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | SliderFloat2WithUnit (const char *label, float itemWidth, float unitWidth, float v[2], float v_min, float v_max, U &combo_current_item, const char *combo_items_separated_by_zeros, const char *format="%.3f", ImGuiSliderFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an Slider GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | SliderFloat3WithUnit (const char *label, float itemWidth, float unitWidth, float v[3], float v_min, float v_max, U &combo_current_item, const char *combo_items_separated_by_zeros, const char *format="%.3f", ImGuiSliderFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an Slider GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | SliderFloat4WithUnit (const char *label, float itemWidth, float unitWidth, float v[4], float v_min, float v_max, U &combo_current_item, const char *combo_items_separated_by_zeros, const char *format="%.3f", ImGuiSliderFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an Slider GUI element to modify the provided value and also set its unit. | |
| template<typename U> | |
| InputWithUnitChange | SliderFloatWithUnit (const char *label, float itemWidth, float unitWidth, float *v, float v_min, float v_max, U &combo_current_item, const char *combo_items_separated_by_zeros, const char *format="%.3f", ImGuiSliderFlags flags=0, int combo_popup_max_height_in_items=-1) |
| Shows an Slider GUI element to modify the provided value and also set its unit. | |
| void | Spinner (const char *label, const ImU32 &color, float radius, float thickness=1.0F) |
| Shows a Spinner to signal that work is done. | |
| bool | Splitter (const char *str_id, bool split_vertically, float thickness, float *size1, float *size2, float min_size1, float min_size2, float splitter_long_axis_size=-1.0F) |
| Vertical or horizontal Screen Divider. | |
| bool | TimeEdit (const char *str_id, InsTime &insTime, TimeEditFormat &timeEditFormat, float itemWidth=170.0F) |
| Inputs to edit an InsTime object. | |
| void | to_json (json &j, const DynamicInputPins &obj) |
| Converts the provided object into json. | |
| void | to_json (json &j, const PositionWithFrame &position) |
| Converts the provided Object into a json object. | |
| void | to_json (json &j, const PositionWithFrame::ReferenceFrame &refFrame) |
| Converts the provided Object into a json object. | |
| void | to_json (json &j, const TimeEditFormat &timeEditFormat) |
| Converts the provided Object into a json object. | |
| enum NAV::gui::widgets::InputWithUnitChange : uint8_t |
Return value signaling that the input or the unit changed.
| Enumerator | |
|---|---|
| InputWithUnitChange_None | Nothing changed. |
| InputWithUnitChange_Input | The Input changed. |
| InputWithUnitChange_Unit | The Unit changed. |
Definition at line 44 of file InputWithUnit.hpp.
|
strong |
Layout options for the Position input.
| Enumerator | |
|---|---|
| SINGLE_COLUMN | All elements in a single column. |
| SINGLE_ROW | All elements in a single row. |
| TWO_ROWS | 2 rows |
Definition at line 84 of file PositionInput.hpp.
| bool NAV::gui::widgets::BeginHelpMarker | ( | const char * | symbol = "(?)", |
| float | textWrapLength = 35.0F ) |
Begins a Text Help Marker, e.g. '(?)', with custom content.
| [in] | symbol | Symbol to display |
| [in] | textWrapLength | Length to wrap symbols after (set to 0.0F to disable) |
Definition at line 28 of file HelpMarker.cpp.
| void NAV::gui::widgets::EndHelpMarker | ( | bool | wrapText = true | ) |
Ends a Text Help Marker with custom content.
| [in] | wrapText | Wether text was wrapped |
Definition at line 44 of file HelpMarker.cpp.
| bool NAV::gui::widgets::EnumCombo | ( | const char * | label, |
| T & | enumeration, | ||
| size_t | startIdx = 0 ) |
Combo representing an enumeration.
| T | Enumeration Type |
| [in] | label | Label to show beside the combo box. This has to be a unique id for ImGui. |
| [in] | enumeration | Reference to the enumeration variable to select |
| [in] | startIdx | Start Index in the enum (so skip first items) |
Definition at line 30 of file EnumCombo.hpp.
| bool NAV::gui::widgets::EnumCombo | ( | const char * | label, |
| T & | enumeration1, | ||
| T & | enumeration2, | ||
| const char * | previewAppendix = "" ) |
Combo representing two enumerations. Values will be displayed appended and set to the same value.
| T | Enumeration Type |
| [in] | label | Label to show beside the combo box. This has to be a unique id for ImGui. |
| [in] | enumeration1 | Reference to the first enumeration variable to select |
| [in] | enumeration2 | Reference to the second enumeration variable to set to the same value as the first one |
| [in] | previewAppendix | Additional text to show in the combo preview |
Definition at line 65 of file EnumCombo.hpp.
| bool NAV::gui::widgets::EnumComboAbbreviation | ( | const char * | label, |
| T & | enumeration, | ||
| size_t | startIdx = 0 ) |
Combo representing an enumeration and use abbreviations to display in the preview.
| T | Enumeration Type |
| [in] | label | Label to show beside the combo box. This has to be a unique id for ImGui. |
| [in] | enumeration | Reference to the enumeration variable to select |
| [in] | startIdx | Start Index in the enum (so skip first items) |
Definition at line 30 of file EnumComboWithAbbreviation.hpp.
| bool NAV::gui::widgets::EnumComboWithToolTip | ( | const char * | label, |
| T & | enumeration, | ||
| size_t | startIdx = 0 ) |
Combo representing an enumeration.
| T | Enumeration Type |
| [in] | label | Label to show beside the combo box. This has to be a unique id for ImGui. |
| [in] | enumeration | Reference to the enumeration variable to select |
| [in] | startIdx | Start Index in the enum (so skip first items) |
Definition at line 30 of file EnumComboWithTooltip.hpp.
| bool NAV::gui::widgets::FileDialogLoad | ( | std::string & | path, |
| const char * | vName, | ||
| const char * | vFilters, | ||
| const std::vector< std::string > & | extensions, | ||
| const std::filesystem::path & | startPath, | ||
| size_t | id, | ||
| const std::string & | nameId, | ||
| const char * | buttonText = "Choose" ) |
Shows an InputText and a button which opens a file dialog to select a path to load a file to.
| [in,out] | path | String to store the path in |
| [in] | vName | Window title |
| [in] | vFilters | Filter to apply for file names |
| [in] | extensions | Extensions to filter |
| [in] | startPath | Path to the directory to display initially |
| [in] | id | Unique id for creating the dialog uid |
| [in] | nameId | Name of the node triggering the window used for logging |
| [in] | buttonText | Text to display on the button |
Definition at line 68 of file FileDialog.cpp.
| bool NAV::gui::widgets::FileDialogSave | ( | std::string & | path, |
| const char * | vName, | ||
| const char * | vFilters, | ||
| const std::vector< std::string > & | extensions, | ||
| const std::filesystem::path & | startPath, | ||
| size_t | id, | ||
| const std::string & | nameId, | ||
| const char * | buttonText = "Choose" ) |
Shows an InputText and a button which opens a file dialog to select a path to save a file to.
| [in,out] | path | String to store the path in |
| [in] | vName | Window title |
| [in] | vFilters | Filter to apply for file names |
| [in] | extensions | Extensions to filter |
| [in] | startPath | Path to the directory to display initially |
| [in] | id | Unique id for creating the dialog uid |
| [in] | nameId | Name of the node triggering the window used for logging |
| [in] | buttonText | Text to display on the button |
Definition at line 21 of file FileDialog.cpp.
| void NAV::gui::widgets::from_json | ( | const json & | j, |
| DynamicInputPins & | obj, | ||
| Node * | node ) |
Converts the provided json object into a node object.
| [in] | j | Json object with the needed values |
| [out] | obj | Object to fill from the json |
| [in,out] | node | Pointer to the node calling this |
Definition at line 190 of file DynamicInputPins.cpp.
| void NAV::gui::widgets::from_json | ( | const json & | j, |
| PositionWithFrame & | position ) |
Converts the provided json object.
| [in] | j | Json object with the time system |
| [out] | position | Object to return |
Definition at line 171 of file PositionInput.cpp.
| void NAV::gui::widgets::from_json | ( | const json & | j, |
| PositionWithFrame::ReferenceFrame & | refFrame ) |
Converts the provided json object.
| [in] | j | Json object with the time system |
| [out] | refFrame | Object to return |
Definition at line 151 of file PositionInput.cpp.
| void NAV::gui::widgets::from_json | ( | const json & | j, |
| TimeEditFormat & | timeEditFormat ) |
Converts the provided json object.
| [in] | j | Json object with the time system |
| [out] | timeEditFormat | Object to return |
Definition at line 151 of file TimeEdit.cpp.
| void NAV::gui::widgets::HelpMarker | ( | const char * | desc, |
| const char * | symbol = "(?)" ) |
Text Help Marker, e.g. '(?)', with Tooltip.
| [in] | desc | Text to display as tooltip |
| [in] | symbol | Symbol to display |
Definition at line 14 of file HelpMarker.cpp.
| InputWithUnitChange NAV::gui::widgets::InputDouble2LWithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| double | v[2], | ||
| double | v_min, | ||
| double | v_max, | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| const char * | format = "%.6f", | ||
| ImGuiInputTextFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an InputText GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in] | v_min | Minimum value allowed |
| [in] | v_max | Maximum value allowed |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | format | Printf format to display the value with |
| [in] | flags | InputText flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 517 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::InputDouble2WithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| double | v[2], | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| const char * | format = "%.6f", | ||
| ImGuiInputTextFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an InputText GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | format | Printf format to display the value with |
| [in] | flags | InputText flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 305 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::InputDouble3LWithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| double | v[3], | ||
| double | v_min, | ||
| double | v_max, | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| const char * | format = "%.6f", | ||
| ImGuiInputTextFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an InputText GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in] | v_min | Minimum value allowed |
| [in] | v_max | Maximum value allowed |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | format | Printf format to display the value with |
| [in] | flags | InputText flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 547 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::InputDouble3WithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| double | v[3], | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| const char * | format = "%.6f", | ||
| ImGuiInputTextFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an InputText GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | format | Printf format to display the value with |
| [in] | flags | InputText flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 325 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::InputDouble4LWithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| double | v[4], | ||
| double | v_min, | ||
| double | v_max, | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| const char * | format = "%.6f", | ||
| ImGuiInputTextFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an InputText GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in] | v_min | Minimum value allowed |
| [in] | v_max | Maximum value allowed |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | format | Printf format to display the value with |
| [in] | flags | InputText flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 577 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::InputDouble4WithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| double | v[4], | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| const char * | format = "%.6f", | ||
| ImGuiInputTextFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an InputText GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | format | Printf format to display the value with |
| [in] | flags | InputText flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 345 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::InputDoubleLWithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| double * | v, | ||
| double | v_min, | ||
| double | v_max, | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| double | step = 0.0, | ||
| double | step_fast = 0.0, | ||
| const char * | format = "%.6f", | ||
| ImGuiInputTextFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an InputText GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in] | v_min | Minimum value allowed |
| [in] | v_max | Maximum value allowed |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | step | Step size of the InputText |
| [in] | step_fast | Fast step size of the InputText |
| [in] | format | Printf format to display the value with |
| [in] | flags | InputText flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 490 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::InputDoubleWithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| double * | v, | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| double | step = 0.0, | ||
| double | step_fast = 0.0, | ||
| const char * | format = "%.6f", | ||
| ImGuiInputTextFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an InputText GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | step | Step size of the InputText |
| [in] | step_fast | Fast step size of the InputText |
| [in] | format | Printf format to display the value with |
| [in] | flags | InputText flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 285 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::InputFloat2LWithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| float | v[2], | ||
| float | v_min, | ||
| float | v_max, | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| const char * | format = "%.3f", | ||
| ImGuiInputTextFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an InputText GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in] | v_min | Minimum value allowed |
| [in] | v_max | Maximum value allowed |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | format | Printf format to display the value with |
| [in] | flags | InputText flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 398 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::InputFloat2WithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| float | v[2], | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| const char * | format = "%.3f", | ||
| ImGuiInputTextFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an InputText GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | format | Printf format to display the value with |
| [in] | flags | InputText flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 223 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::InputFloat3LWithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| float | v[3], | ||
| float | v_min, | ||
| float | v_max, | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| const char * | format = "%.3f", | ||
| ImGuiInputTextFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an InputText GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in] | v_min | Minimum value allowed |
| [in] | v_max | Maximum value allowed |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | format | Printf format to display the value with |
| [in] | flags | InputText flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 428 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::InputFloat3WithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| float | v[3], | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| const char * | format = "%.3f", | ||
| ImGuiInputTextFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an InputText GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | format | Printf format to display the value with |
| [in] | flags | InputText flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 243 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::InputFloat4LWithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| float | v[4], | ||
| float | v_min, | ||
| float | v_max, | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| const char * | format = "%.3f", | ||
| ImGuiInputTextFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an InputText GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in] | v_min | Minimum value allowed |
| [in] | v_max | Maximum value allowed |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | format | Printf format to display the value with |
| [in] | flags | InputText flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 458 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::InputFloat4WithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| float | v[4], | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| const char * | format = "%.3f", | ||
| ImGuiInputTextFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an InputText GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | format | Printf format to display the value with |
| [in] | flags | InputText flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 263 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::InputFloatLWithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| float * | v, | ||
| float | v_min, | ||
| float | v_max, | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| float | step = 0.0, | ||
| float | step_fast = 0.0, | ||
| const char * | format = "%.3f", | ||
| ImGuiInputTextFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an InputText GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in] | v_min | Minimum value allowed |
| [in] | v_max | Maximum value allowed |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | step | Step size of the InputText |
| [in] | step_fast | Fast step size of the InputText |
| [in] | format | Printf format to display the value with |
| [in] | flags | InputText flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 371 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::InputFloatWithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| float * | v, | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| float | step = 0.0, | ||
| float | step_fast = 0.0, | ||
| const char * | format = "%.3f", | ||
| ImGuiInputTextFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an InputText GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | step | Step size of the InputText |
| [in] | step_fast | Fast step size of the InputText |
| [in] | format | Printf format to display the value with |
| [in] | flags | InputText flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 203 of file InputWithUnit.hpp.
| bool NAV::gui::widgets::InputKeyedMatrix | ( | const char * | label, |
| KeyedMatrix< Scalar, RowKeyType, ColKeyType, Rows, Cols > * | matrix, | ||
| float | tableHeight = -1.0F, | ||
| ImGuiTableFlags | tableFlags = ImGuiTableFlags_Borders | ImGuiTableFlags_NoHostExtendX | ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_ScrollX | ImGuiTableFlags_ScrollY, | ||
| double | step = 0.0, | ||
| double | step_fast = 0.0, | ||
| const char * | format = "%.4g", | ||
| ImGuiInputTextFlags | inputTextFlags = ImGuiInputTextFlags_None ) |
Shows GUI elements to modify the coefficients of a matrix with.
| Scalar | Numeric type, e.g. float, double, int or std::complex<float>. |
| RowKeyType | Type of the key used for row lookup |
| ColKeyType | Type of the key used for col lookup |
| Rows | Number of rows, or Dynamic |
| Cols | Number of columns, or Dynamic |
| [in] | label | Label to display beside. Has to be unique (use # to hide text afterwards to append an uid) |
| [in,out] | matrix | Pointer to the matrix to modify |
| [in] | tableHeight | Height of the Table to show scrollbar afterwards (-1 means no scrollbar) |
| [in] | tableFlags | Flags to modify the Table behaviour |
| [in] | step | Step size of the InputText |
| [in] | step_fast | Fast step size of the InputText |
| [in] | format | Printf format to display the value with |
| [in] | inputTextFlags | InputText flags to modify the behavior of the input fields |
Definition at line 216 of file KeyedMatrix.hpp.
| bool NAV::gui::widgets::InputKeyedRowVector | ( | const char * | label, |
| KeyedRowVector< Scalar, ColKeyType, Cols > * | matrix, | ||
| ImGuiTableFlags | tableFlags = ImGuiTableFlags_Borders | ImGuiTableFlags_NoHostExtendX | ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_ScrollX, | ||
| double | step = 0.0, | ||
| double | step_fast = 0.0, | ||
| const char * | format = "%.4g", | ||
| ImGuiInputTextFlags | inputTextFlags = ImGuiInputTextFlags_None ) |
Shows GUI elements to modify the coefficients of a matrix with.
| Scalar | Numeric type, e.g. float, double, int or std::complex<float>. |
| ColKeyType | Type of the key used for col lookup |
| Cols | Number of columns, or Dynamic |
| [in] | label | Label to display beside. Has to be unique (use # to hide text afterwards to append an uid) |
| [in,out] | matrix | Pointer to the matrix to modify |
| [in] | tableFlags | Flags to modify the Table behaviour |
| [in] | step | Step size of the InputText |
| [in] | step_fast | Fast step size of the InputText |
| [in] | format | Printf format to display the value with |
| [in] | inputTextFlags | InputText flags to modify the behavior of the input fields |
Definition at line 355 of file KeyedMatrix.hpp.
| bool NAV::gui::widgets::InputKeyedVector | ( | const char * | label, |
| KeyedVector< Scalar, RowKeyType, Rows > * | matrix, | ||
| float | tableHeight = -1.0F, | ||
| ImGuiTableFlags | tableFlags = ImGuiTableFlags_Borders | ImGuiTableFlags_NoHostExtendX | ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_ScrollY, | ||
| double | step = 0.0, | ||
| double | step_fast = 0.0, | ||
| const char * | format = "%.4g", | ||
| ImGuiInputTextFlags | inputTextFlags = ImGuiInputTextFlags_None ) |
Shows GUI elements to modify the coefficients of a matrix with.
| Scalar | Numeric type, e.g. float, double, int or std::complex<float>. |
| RowKeyType | Type of the key used for row lookup |
| Rows | Number of rows, or Dynamic |
| [in] | label | Label to display beside. Has to be unique (use # to hide text afterwards to append an uid) |
| [in,out] | matrix | Pointer to the matrix to modify |
| [in] | tableHeight | Height of the Table to show scrollbar afterwards (-1 means no scrollbar) |
| [in] | tableFlags | Flags to modify the Table behaviour |
| [in] | step | Step size of the InputText |
| [in] | step_fast | Fast step size of the InputText |
| [in] | format | Printf format to display the value with |
| [in] | inputTextFlags | InputText flags to modify the behavior of the input fields |
Definition at line 295 of file KeyedMatrix.hpp.
| 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.
| _Scalar | Data Type of the matrix |
| _Rows | Amount of rows of the matrix |
| _Cols | Amount of cols of the matrix |
| [in] | label | Label to display beside. Has to be unique (use # to hide text afterwards to append an uid) |
| [in,out] | matrix | Pointer to the matrix to modify |
| [in] | flags | Flags to modify the behavior of the whole element |
| [in] | tableFlags | Flags to modify the Table behaviour |
| [in] | inputTextWidth | With in px of each InputText |
| [in] | step | Step size of the InputText |
| [in] | step_fast | Fast step size of the InputText |
| [in] | format | Printf format to display the value with |
| [in] | inputTextFlags | InputText flags to modify the behavior of the input fields |
Definition at line 105 of file Matrix.hpp.
| void NAV::gui::widgets::KeyedMatrixView | ( | const char * | label, |
| const KeyedMatrix< Scalar, RowKeyType, ColKeyType, Rows, Cols > * | matrix, | ||
| float | tableHeight = -1.0F, | ||
| ImGuiTableFlags | tableFlags = ImGuiTableFlags_Borders | ImGuiTableFlags_NoHostExtendX | ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_ScrollX | ImGuiTableFlags_ScrollY ) |
Shows GUI elements to display the coefficients of a matrix.
| Scalar | Numeric type, e.g. float, double, int or std::complex<float>. |
| RowKeyType | Type of the key used for row lookup |
| ColKeyType | Type of the key used for col lookup |
| Rows | Number of rows, or Dynamic |
| Cols | Number of columns, or Dynamic |
| [in] | label | Label to display beside. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | matrix | Pointer to the matrix to display |
| [in] | tableHeight | Height of the Table to show scrollbar afterwards (-1 means no scrollbar) |
| [in] | tableFlags | Flags to modify the Table behaviour |
Definition at line 34 of file KeyedMatrix.hpp.
| void NAV::gui::widgets::KeyedRowVectorView | ( | const char * | label, |
| const KeyedRowVector< Scalar, ColKeyType, Cols > * | matrix, | ||
| ImGuiTableFlags | tableFlags = ImGuiTableFlags_Borders | ImGuiTableFlags_NoHostExtendX | ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_ScrollX ) |
Shows GUI elements to display the coefficients of a matrix.
| Scalar | Numeric type, e.g. float, double, int or std::complex<float>. |
| ColKeyType | Type of the key used for col lookup |
| Cols | Number of columns, or Dynamic |
| [in] | label | Label to display beside. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | matrix | Pointer to the matrix to display |
| [in] | tableFlags | Flags to modify the Table behaviour |
Definition at line 149 of file KeyedMatrix.hpp.
| void NAV::gui::widgets::KeyedVectorView | ( | const char * | label, |
| const KeyedVector< Scalar, RowKeyType, Rows > * | matrix, | ||
| float | tableHeight = -1.0F, | ||
| ImGuiTableFlags | tableFlags = ImGuiTableFlags_Borders | ImGuiTableFlags_NoHostExtendX | ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_ScrollY ) |
Shows GUI elements to display the coefficients of a matrix.
| Scalar | Numeric type, e.g. float, double, int or std::complex<float>. |
| RowKeyType | Type of the key used for row lookup |
| Rows | Number of rows, or Dynamic |
| [in] | label | Label to display beside. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | matrix | Pointer to the matrix to display |
| [in] | tableHeight | Height of the Table to show scrollbar afterwards (-1 means no scrollbar) |
| [in] | tableFlags | Flags to modify the Table behaviour |
Definition at line 100 of file KeyedMatrix.hpp.
| 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.
| _Scalar | Data Type of the matrix |
| _Rows | Amount of rows of the matrix |
| _Cols | Amount of cols of the matrix |
| [in] | label | Label to display beside. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | matrix | Pointer to the matrix to display |
| [in] | flags | Flags to modify the behavior of the whole element |
| [in] | tableFlags | Flags to modify the Table behaviour |
| [in] | format | Printf format to display the value with |
Definition at line 49 of file Matrix.hpp.
| bool NAV::gui::widgets::PositionInput | ( | const char * | str, |
| PositionWithFrame & | position, | ||
| PositionInputLayout | layout = PositionInputLayout::SINGLE_COLUMN, | ||
| float | itemWidth = 140.0F ) |
Inputs to edit an Position object.
| [in] | str | Text to display near the Frame selection (Unique id for the ImGui elements) |
| [in,out] | position | Position and reference frame object to modify |
| [in] | layout | Layout to use |
| [in] | itemWidth | Width of the widget items |
Definition at line 55 of file PositionInput.cpp.
| InputWithUnitChange NAV::gui::widgets::SliderDouble2WithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| double | v[2], | ||
| double | v_min, | ||
| double | v_max, | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| const char * | format = "%.6f", | ||
| ImGuiSliderFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an Slider GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in] | v_min | Minimum value allowed |
| [in] | v_max | Maximum value allowed |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | format | Printf format to display the value with |
| [in] | flags | Slider flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 719 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::SliderDouble3WithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| double | v[3], | ||
| double | v_min, | ||
| double | v_max, | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| const char * | format = "%.6f", | ||
| ImGuiSliderFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an Slider GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in] | v_min | Minimum value allowed |
| [in] | v_max | Maximum value allowed |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | format | Printf format to display the value with |
| [in] | flags | Slider flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 741 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::SliderDouble4WithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| double | v[4], | ||
| double | v_min, | ||
| double | v_max, | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| const char * | format = "%.6f", | ||
| ImGuiSliderFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an Slider GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in] | v_min | Minimum value allowed |
| [in] | v_max | Maximum value allowed |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | format | Printf format to display the value with |
| [in] | flags | Slider flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 763 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::SliderDoubleWithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| double * | v, | ||
| double | v_min, | ||
| double | v_max, | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| const char * | format = "%.6f", | ||
| ImGuiSliderFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an Slider GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in] | v_min | Minimum value allowed |
| [in] | v_max | Maximum value allowed |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | format | Printf format to display the value with |
| [in] | flags | Slider flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 697 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::SliderFloat2WithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| float | v[2], | ||
| float | v_min, | ||
| float | v_max, | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| const char * | format = "%.3f", | ||
| ImGuiSliderFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an Slider GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in] | v_min | Minimum value allowed |
| [in] | v_max | Maximum value allowed |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | format | Printf format to display the value with |
| [in] | flags | Slider flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 631 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::SliderFloat3WithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| float | v[3], | ||
| float | v_min, | ||
| float | v_max, | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| const char * | format = "%.3f", | ||
| ImGuiSliderFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an Slider GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in] | v_min | Minimum value allowed |
| [in] | v_max | Maximum value allowed |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | format | Printf format to display the value with |
| [in] | flags | Slider flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 653 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::SliderFloat4WithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| float | v[4], | ||
| float | v_min, | ||
| float | v_max, | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| const char * | format = "%.3f", | ||
| ImGuiSliderFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an Slider GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in] | v_min | Minimum value allowed |
| [in] | v_max | Maximum value allowed |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | format | Printf format to display the value with |
| [in] | flags | Slider flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 675 of file InputWithUnit.hpp.
| InputWithUnitChange NAV::gui::widgets::SliderFloatWithUnit | ( | const char * | label, |
| float | itemWidth, | ||
| float | unitWidth, | ||
| float * | v, | ||
| float | v_min, | ||
| float | v_max, | ||
| U & | combo_current_item, | ||
| const char * | combo_items_separated_by_zeros, | ||
| const char * | format = "%.3f", | ||
| ImGuiSliderFlags | flags = 0, | ||
| int | combo_popup_max_height_in_items = -1 ) |
Shows an Slider GUI element to modify the provided value and also set its unit.
| [in] | label | Label to display beside the input. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | itemWidth | Width of the input element(s) + unit combo |
| [in] | unitWidth | Width of the unit combo |
| [in,out] | v | Pointer to the value to modify |
| [in] | v_min | Minimum value allowed |
| [in] | v_max | Maximum value allowed |
| [in,out] | combo_current_item | The selected item in the unit combo |
| [in] | combo_items_separated_by_zeros | Items to display in the unit combo (separated by \0 and ends with \0\0) |
| [in] | format | Printf format to display the value with |
| [in] | flags | Slider flags to modify the behavior |
| [in] | combo_popup_max_height_in_items | Maximum height of the combo in number of items |
Definition at line 609 of file InputWithUnit.hpp.
| void NAV::gui::widgets::Spinner | ( | const char * | label, |
| const ImU32 & | color, | ||
| float | radius, | ||
| float | thickness = 1.0F ) |
Shows a Spinner to signal that work is done.
| [in] | label | Label for the spinner. Is not displayed. Has to be unique (use # to hide text afterwards to append an uid) |
| [in] | color | Color of the spinner |
| [in] | radius | Radius of the spinner |
| [in] | thickness | Thickness of the spinner |
Definition at line 15 of file Spinner.cpp.
| bool NAV::gui::widgets::Splitter | ( | const char * | str_id, |
| bool | split_vertically, | ||
| float | thickness, | ||
| float * | size1, | ||
| float * | size2, | ||
| float | min_size1, | ||
| float | min_size2, | ||
| float | splitter_long_axis_size = -1.0F ) |
Vertical or horizontal Screen Divider.
| [in] | str_id | Unique Id for splitter creation |
| [in] | split_vertically | Vertical or horizontal splitter |
| [in] | thickness | Thickness in Pixels |
| [in,out] | size1 | Size left or above the splitter |
| [in,out] | size2 | Size right or below the splitter |
| [in] | min_size1 | Minimum size left or above the splitter |
| [in] | min_size2 | Minimum size right or below the spliter |
| [in] | splitter_long_axis_size | Length of the splitter |
Definition at line 16 of file Splitter.cpp.
| bool NAV::gui::widgets::TimeEdit | ( | const char * | str_id, |
| InsTime & | insTime, | ||
| TimeEditFormat & | timeEditFormat, | ||
| float | itemWidth = 170.0F ) |
Inputs to edit an InsTime object.
| [in] | str_id | Unique id for the ImGui elements |
| [in,out] | insTime | Time object to modify |
| [in,out] | timeEditFormat | Format to modify the time in |
| [in] | itemWidth | Width of the widget items |
Definition at line 52 of file TimeEdit.cpp.
| void NAV::gui::widgets::to_json | ( | json & | j, |
| const DynamicInputPins & | obj ) |
Converts the provided object into json.
| [out] | j | Json object which gets filled with the info |
| [in] | obj | Object to convert into json |
Definition at line 184 of file DynamicInputPins.cpp.
| void NAV::gui::widgets::to_json | ( | json & | j, |
| const PositionWithFrame & | position ) |
Converts the provided Object into a json object.
| [out] | j | Return Json object |
| [in] | position | Object to convert |
Definition at line 157 of file PositionInput.cpp.
| void NAV::gui::widgets::to_json | ( | json & | j, |
| const PositionWithFrame::ReferenceFrame & | refFrame ) |
Converts the provided Object into a json object.
| [out] | j | Return Json object |
| [in] | refFrame | Object to convert |
Definition at line 146 of file PositionInput.cpp.
| void NAV::gui::widgets::to_json | ( | json & | j, |
| const TimeEditFormat & | timeEditFormat ) |
Converts the provided Object into a json object.
| [out] | j | Return Json object |
| [in] | timeEditFormat | Object to convert |
Definition at line 143 of file TimeEdit.cpp.