Signals | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
lvr2::LVRPlotter Class Reference

#include <LVRPlotter.hpp>

Inheritance diagram for lvr2::LVRPlotter:
Inheritance graph
[legend]

Signals

void mouseRelease ()
 

Public Member Functions

 LVRPlotter (QWidget *parent=(QWidget *) nullptr)
 
void removePoints ()
 
void setPlotMode (PlotMode mode)
 
void setPoints (floatArr points, size_t numPoints)
 
void setPoints (floatArr points, size_t numPoints, float min, float max)
 
void setXRange (int min, int max)
 
virtual ~LVRPlotter ()
 

Protected Member Functions

virtual void mouseReleaseEvent (QMouseEvent *event)
 
void paintEvent (QPaintEvent *event)
 Create axes, labeling and draw graph or bar chart. More...
 

Private Attributes

float m_max
 
int m_maxX
 
float m_min
 
int m_minX
 
PlotMode m_mode
 
size_t m_numPoints
 
floatArr m_points
 

Detailed Description

Definition at line 44 of file LVRPlotter.hpp.

Constructor & Destructor Documentation

◆ LVRPlotter()

lvr2::LVRPlotter::LVRPlotter ( QWidget *  parent = (QWidget*)nullptr)

Definition at line 36 of file LVRPlotter.cpp.

◆ ~LVRPlotter()

lvr2::LVRPlotter::~LVRPlotter ( )
virtual

Definition at line 42 of file LVRPlotter.cpp.

Member Function Documentation

◆ mouseRelease

void lvr2::LVRPlotter::mouseRelease ( )
signal

◆ mouseReleaseEvent()

void lvr2::LVRPlotter::mouseReleaseEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 47 of file LVRPlotter.cpp.

◆ paintEvent()

void lvr2::LVRPlotter::paintEvent ( QPaintEvent *  event)
protected

Create axes, labeling and draw graph or bar chart.

Definition at line 92 of file LVRPlotter.cpp.

◆ removePoints()

void lvr2::LVRPlotter::removePoints ( )

Definition at line 79 of file LVRPlotter.cpp.

◆ setPlotMode()

void lvr2::LVRPlotter::setPlotMode ( PlotMode  mode)

Definition at line 52 of file LVRPlotter.cpp.

◆ setPoints() [1/2]

void lvr2::LVRPlotter::setPoints ( floatArr  points,
size_t  numPoints 
)

Definition at line 57 of file LVRPlotter.cpp.

◆ setPoints() [2/2]

void lvr2::LVRPlotter::setPoints ( floatArr  points,
size_t  numPoints,
float  min,
float  max 
)

Definition at line 70 of file LVRPlotter.cpp.

◆ setXRange()

void lvr2::LVRPlotter::setXRange ( int  min,
int  max 
)

Definition at line 86 of file LVRPlotter.cpp.

Member Data Documentation

◆ m_max

float lvr2::LVRPlotter::m_max
private

Definition at line 71 of file LVRPlotter.hpp.

◆ m_maxX

int lvr2::LVRPlotter::m_maxX
private

Definition at line 74 of file LVRPlotter.hpp.

◆ m_min

float lvr2::LVRPlotter::m_min
private

Definition at line 70 of file LVRPlotter.hpp.

◆ m_minX

int lvr2::LVRPlotter::m_minX
private

Definition at line 73 of file LVRPlotter.hpp.

◆ m_mode

PlotMode lvr2::LVRPlotter::m_mode
private

Definition at line 72 of file LVRPlotter.hpp.

◆ m_numPoints

size_t lvr2::LVRPlotter::m_numPoints
private

Definition at line 69 of file LVRPlotter.hpp.

◆ m_points

floatArr lvr2::LVRPlotter::m_points
private

Definition at line 68 of file LVRPlotter.hpp.


The documentation for this class was generated from the following files:


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:27