The PointMarkerOrthoViewRendererCache class stores and replays point marker geometry information using a QPainter.
More...
#include "PointMarkerOrthoViewRenderer.hh"
The PointMarkerOrthoViewRendererCache class stores and replays point marker geometry information using a QPainter.
Definition at line 47 of file PointMarkerOrthoViewRenderer.hh.
◆ PointMarkerOrthoViewRendererCache() [1/2]
PointMarkerOrthoViewRendererCache::PointMarkerOrthoViewRendererCache |
( |
| ) |
|
◆ PointMarkerOrthoViewRendererCache() [2/2]
◆ ~PointMarkerOrthoViewRendererCache()
virtual PointMarkerOrthoViewRendererCache::~PointMarkerOrthoViewRendererCache |
( |
| ) |
|
|
virtual |
◆ clone()
◆ render()
virtual void PointMarkerOrthoViewRendererCache::render |
( |
QPainter * |
painter | ) |
const |
|
virtual |
◆ setCross()
void PointMarkerOrthoViewRendererCache::setCross |
( |
blitz::TinyVector< QLineF, 2 > const & |
cross | ) |
|
Set the cross lines to the given lines.
This implicitely changes the rendering mode to cross rendering.
- Parameters
-
cross | The QLines defining the cross to draw. |
◆ setPoint()
void PointMarkerOrthoViewRendererCache::setPoint |
( |
QPointF const & |
point | ) |
|
Set the point to the given QPoint.
This implicitely changes the rendering mode to point rendering.
- Parameters
-
◆ setActive()
void MarkerOrthoViewRendererCache::setActive |
( |
bool |
active | ) |
|
|
inherited |
Set the active flag of this cache.
If the cache is inactive a call to the render() method is a noop.
- Parameters
-
active | The new active flag value |
◆ active()
bool MarkerOrthoViewRendererCache::active |
( |
| ) |
const |
|
inherited |
Get the active flag of this cache.
- Returns
- The current active flag
◆ setShowHelperLines()
void MarkerOrthoViewRendererCache::setShowHelperLines |
( |
bool |
showHelperLines | ) |
|
|
inherited |
Set the showHelperLines flag of this cache.
If this flag is set additional helper lines for specific marker types are drawn.
- Parameters
-
showHelperLines | The new showHelperLines flag value |
◆ showHelperLines()
bool MarkerOrthoViewRendererCache::showHelperLines |
( |
| ) |
const |
|
inherited |
Get the showHelperLines flag of this cache.
- Returns
- The current showHelperLines flag
◆ setFontSize()
void MarkerOrthoViewRendererCache::setFontSize |
( |
int |
fontSize | ) |
|
|
inherited |
Set the font size for text drawn by this cache.
- Parameters
-
fontSize | The font size to use for drawing text |
◆ fontSize()
int MarkerOrthoViewRendererCache::fontSize |
( |
| ) |
const |
|
inherited |
Get the font size for text drawn by this cache.
- Returns
- The font size to use for drawing text
◆ _showCross
bool PointMarkerOrthoViewRendererCache::_showCross |
|
protected |
◆ _cross
blitz::TinyVector<QLineF,2> PointMarkerOrthoViewRendererCache::_cross |
|
protected |
◆ _point
QPointF PointMarkerOrthoViewRendererCache::_point |
|
protected |
◆ _active
bool MarkerOrthoViewRendererCache::_active |
|
protectedinherited |
◆ _showHelperLines
bool MarkerOrthoViewRendererCache::_showHelperLines |
|
protectedinherited |
◆ _fontSize
int MarkerOrthoViewRendererCache::_fontSize |
|
protectedinherited |
The documentation for this class was generated from the following file: