#include <PolarGridGraphicsItem.h>
Public Member Functions | |
| QRectF | boundingRect () const |
| const QColor & | getColor () const |
| const std::vector< std::vector < double > > * | getGrid () const |
| const std::vector< double > * | getPhiEdges () const |
| const std::vector< double > * | getRhoEdges () const |
| const QString & | getText () const |
| virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) |
| PolarGridGraphicsItem (const std::vector< std::vector< double > > *grid, const std::vector< double > *phiEdges, const std::vector< double > *rhoEdges, QGraphicsItem *parent=0) | |
| void | setColor (const QColor &color) |
| void | setColor (float _red, float _green, float _blue, float _alpha=1.0f) |
| void | setGrid (const std::vector< std::vector< double > > *grid, const std::vector< double > *phiEdges, const std::vector< double > *rhoEdges) |
| void | setText (const QString &text) |
| QPainterPath | shape () const |
Protected Attributes | |
| QColor | m_color |
| const std::vector< std::vector < double > > * | m_grid |
| double | m_maxValue |
| const std::vector< double > * | m_phiEdges |
| const std::vector< double > * | m_rhoEdges |
| QString | m_text |
Definition at line 32 of file PolarGridGraphicsItem.h.
| PolarGridGraphicsItem::PolarGridGraphicsItem | ( | const std::vector< std::vector< double > > * | grid, | |
| const std::vector< double > * | phiEdges, | |||
| const std::vector< double > * | rhoEdges, | |||
| QGraphicsItem * | parent = 0 | |||
| ) |
Definition at line 7 of file PolarGridGraphicsItem.cpp.
| QRectF PolarGridGraphicsItem::boundingRect | ( | ) | const |
Definition at line 76 of file PolarGridGraphicsItem.cpp.
| const QColor& PolarGridGraphicsItem::getColor | ( | ) | const [inline] |
Definition at line 41 of file PolarGridGraphicsItem.h.
| const std::vector< std::vector<double> >* PolarGridGraphicsItem::getGrid | ( | ) | const [inline] |
Definition at line 46 of file PolarGridGraphicsItem.h.
| const std::vector<double>* PolarGridGraphicsItem::getPhiEdges | ( | ) | const [inline] |
Definition at line 49 of file PolarGridGraphicsItem.h.
| const std::vector<double>* PolarGridGraphicsItem::getRhoEdges | ( | ) | const [inline] |
Definition at line 52 of file PolarGridGraphicsItem.h.
| const QString& PolarGridGraphicsItem::getText | ( | ) | const [inline] |
Definition at line 55 of file PolarGridGraphicsItem.h.
| void PolarGridGraphicsItem::paint | ( | QPainter * | painter, | |
| const QStyleOptionGraphicsItem * | option, | |||
| QWidget * | widget = 0 | |||
| ) | [virtual] |
Definition at line 48 of file PolarGridGraphicsItem.cpp.
| void PolarGridGraphicsItem::setColor | ( | const QColor & | color | ) | [inline] |
Definition at line 38 of file PolarGridGraphicsItem.h.
| void PolarGridGraphicsItem::setColor | ( | float | _red, | |
| float | _green, | |||
| float | _blue, | |||
| float | _alpha = 1.0f | |||
| ) | [inline] |
Definition at line 36 of file PolarGridGraphicsItem.h.
| void PolarGridGraphicsItem::setGrid | ( | const std::vector< std::vector< double > > * | grid, | |
| const std::vector< double > * | phiEdges, | |||
| const std::vector< double > * | rhoEdges | |||
| ) |
Definition at line 29 of file PolarGridGraphicsItem.cpp.
| void PolarGridGraphicsItem::setText | ( | const QString & | text | ) | [inline] |
Definition at line 58 of file PolarGridGraphicsItem.h.
| QPainterPath PolarGridGraphicsItem::shape | ( | ) | const |
Definition at line 80 of file PolarGridGraphicsItem.cpp.
QColor PolarGridGraphicsItem::m_color [protected] |
Definition at line 74 of file PolarGridGraphicsItem.h.
const std::vector< std::vector<double> >* PolarGridGraphicsItem::m_grid [protected] |
Definition at line 70 of file PolarGridGraphicsItem.h.
double PolarGridGraphicsItem::m_maxValue [protected] |
Definition at line 73 of file PolarGridGraphicsItem.h.
const std::vector<double>* PolarGridGraphicsItem::m_phiEdges [protected] |
Definition at line 71 of file PolarGridGraphicsItem.h.
const std::vector<double>* PolarGridGraphicsItem::m_rhoEdges [protected] |
Definition at line 72 of file PolarGridGraphicsItem.h.
QString PolarGridGraphicsItem::m_text [protected] |
Definition at line 75 of file PolarGridGraphicsItem.h.