|
Omnidome
Fulldome Mapping Software Toolkit
|
Visualizer for drawing a circle with VBO. More...
#include <Circle.h>

Public Member Functions | |
| Circle () | |
| void | drawLine (QPointF const &_pos, float _rX, float _rY) const |
| Draw lined circle. More... | |
| void | drawFill (QPointF const &_pos, float _rX, float _rY) const |
| Draw filled circle with triangle fan. More... | |
| void | update () |
| Update circle mesh. More... | |
Static Public Attributes | |
| static constexpr std::size_t | numberSegments = 32 |
| Standard number of segments. More... | |
Private Attributes | |
| VBO | vertexVbo_ |
| std::array< QVector2D, numberSegments+2 > | vertices_ |
Visualizer for drawing a circle with VBO.
| omni::visual::Circle::Circle | ( | ) |
| void omni::visual::Circle::drawFill | ( | QPointF const & | _pos, |
| float | _rX, | ||
| float | _rY | ||
| ) | const |
Draw filled circle with triangle fan.
| void omni::visual::Circle::drawLine | ( | QPointF const & | _pos, |
| float | _rX, | ||
| float | _rY | ||
| ) | const |
Draw lined circle.
| void omni::visual::Circle::update | ( | ) |
Update circle mesh.
|
static |
Standard number of segments.
|
private |
|
private |
1.8.6