0.4.1
Loading...
Searching...
No Matches
NAV::Plot::PlotInfo Struct Reference

Information specifying the look of each plot. More...

Data Structures

struct  PlotItem
 Info needed to draw a data set. More...
 

Public Member Functions

 PlotInfo ()=default
 Default constructor.
 
 PlotInfo (const std::string &title, size_t nInputPins)
 Constructor.
 

Data Fields

std::string headerText
 Title of the CollapsingHeader.
 
float leftPaneWidth
 Width of plot Data content.
 
ImPlotLineFlags lineFlags
 Line Flags for all items (each item can override the selection)
 
bool overrideXAxisLabel
 Flag, whether to override the x axis label.
 
int plotFlags
 Flags which are passed to the plot.
 
std::vector< PlotItemplotItems
 List containing all elements which should be plotted.
 
float rightPaneWidth
 Width of the plot.
 
size_t selectedPin
 Selected pin in the GUI for the Drag & Drop Data.
 
std::vector< size_t > selectedXdata
 Key: PinIndex, Value: plotData to use for x-Axis.
 
ImVec2 size
 Size of the plot.
 
std::string title
 Title of the ImPlot.
 
std::vector< PlotTooltiptooltips
 List of tooltip windows to show.
 
bool visible
 Flag whether the whole plot is visible. If not, then it should be deleted.
 
ImPlotAxisFlags xAxisFlags
 Flags for the x-Axis.
 
std::string xAxisLabel
 X axis label.
 
ImPlotScale xAxisScale
 Scale for the x-Axis.
 
std::string y1AxisLabel
 Y1 axis label.
 
std::string y2AxisLabel
 Y2 axis label.
 
std::string y3AxisLabel
 Y3 axis label.
 
std::array< ImPlotScale, 3 > yAxesScale
 Scale for the y-Axes.
 
ImPlotAxisFlags yAxisFlags
 Flags for the y-Axes.
 

Detailed Description

Information specifying the look of each plot.

Definition at line 180 of file Plot.hpp.

Constructor & Destructor Documentation

◆ PlotInfo() [1/2]

NAV::Plot::PlotInfo::PlotInfo ( )
default

Default constructor.

◆ PlotInfo() [2/2]

NAV::Plot::PlotInfo::PlotInfo ( const std::string & title,
size_t nInputPins )
inline

Constructor.

Parameters
[in]titleTitle of the ImPlot
[in]nInputPinsAmount of inputPins

Definition at line 248 of file Plot.hpp.

Field Documentation

◆ headerText

std::string NAV::Plot::PlotInfo::headerText

Title of the CollapsingHeader.

Definition at line 257 of file Plot.hpp.

◆ leftPaneWidth

float NAV::Plot::PlotInfo::leftPaneWidth

Width of plot Data content.

Definition at line 290 of file Plot.hpp.

◆ lineFlags

ImPlotLineFlags NAV::Plot::PlotInfo::lineFlags

Line Flags for all items (each item can override the selection)

Definition at line 281 of file Plot.hpp.

◆ overrideXAxisLabel

bool NAV::Plot::PlotInfo::overrideXAxisLabel

Flag, whether to override the x axis label.

Definition at line 259 of file Plot.hpp.

◆ plotFlags

int NAV::Plot::PlotInfo::plotFlags

Flags which are passed to the plot.

Definition at line 271 of file Plot.hpp.

◆ plotItems

std::vector<PlotItem> NAV::Plot::PlotInfo::plotItems

List containing all elements which should be plotted.

Definition at line 287 of file Plot.hpp.

◆ rightPaneWidth

float NAV::Plot::PlotInfo::rightPaneWidth

Width of the plot.

Definition at line 292 of file Plot.hpp.

◆ selectedPin

size_t NAV::Plot::PlotInfo::selectedPin

Selected pin in the GUI for the Drag & Drop Data.

Definition at line 269 of file Plot.hpp.

◆ selectedXdata

std::vector<size_t> NAV::Plot::PlotInfo::selectedXdata

Key: PinIndex, Value: plotData to use for x-Axis.

Definition at line 284 of file Plot.hpp.

◆ size

ImVec2 NAV::Plot::PlotInfo::size

Size of the plot.

Definition at line 252 of file Plot.hpp.

◆ title

std::string NAV::Plot::PlotInfo::title

Title of the ImPlot.

Definition at line 255 of file Plot.hpp.

◆ tooltips

std::vector<PlotTooltip> NAV::Plot::PlotInfo::tooltips

List of tooltip windows to show.

Definition at line 298 of file Plot.hpp.

◆ visible

bool NAV::Plot::PlotInfo::visible

Flag whether the whole plot is visible. If not, then it should be deleted.

Definition at line 295 of file Plot.hpp.

◆ xAxisFlags

ImPlotAxisFlags NAV::Plot::PlotInfo::xAxisFlags

Flags for the x-Axis.

Definition at line 273 of file Plot.hpp.

◆ xAxisLabel

std::string NAV::Plot::PlotInfo::xAxisLabel

X axis label.

Definition at line 261 of file Plot.hpp.

◆ xAxisScale

ImPlotScale NAV::Plot::PlotInfo::xAxisScale

Scale for the x-Axis.

Definition at line 277 of file Plot.hpp.

◆ y1AxisLabel

std::string NAV::Plot::PlotInfo::y1AxisLabel

Y1 axis label.

Definition at line 263 of file Plot.hpp.

◆ y2AxisLabel

std::string NAV::Plot::PlotInfo::y2AxisLabel

Y2 axis label.

Definition at line 265 of file Plot.hpp.

◆ y3AxisLabel

std::string NAV::Plot::PlotInfo::y3AxisLabel

Y3 axis label.

Definition at line 267 of file Plot.hpp.

◆ yAxesScale

std::array<ImPlotScale, 3> NAV::Plot::PlotInfo::yAxesScale

Scale for the y-Axes.

Definition at line 279 of file Plot.hpp.

◆ yAxisFlags

ImPlotAxisFlags NAV::Plot::PlotInfo::yAxisFlags

Flags for the y-Axes.

Definition at line 275 of file Plot.hpp.


The documentation for this struct was generated from the following file: