Class that draws various geometry as specified by AnnotationParams.
More...
#include <AnnotationRenderer.h>
|
| AnnotationRenderer (const ParamsMgr *pm, const DataStatus *dataStatus, string winName) |
| Constructor, must invoke Renderer constructor.
|
|
void | InitializeGL (GLManager *glManager) |
| Method to initialize GL rendering. Must be called from a GL context.
|
|
virtual | ~AnnotationRenderer () |
| Destructor.
|
|
void | InScenePaint (size_t ts) |
| Render the in-scene features.
|
|
void | OverlayPaint (size_t ts) |
| Render the overlay features.
|
|
void | AddText (string text, int x, int y, int size, float color[3], int type=0) |
|
void | AddTextNormalizedCoords (string text, float x, float y, int size, float color[3], int type=0) |
|
void | DrawText () |
|
void | DrawText (vector< billboard > billboards) |
|
void | ClearText (int type=-1) |
|
void | DrawAxisArrows () |
| Draw Axis arrows.
|
|
| MyBase () |
|
const string & | getClassName () const |
|
Class that draws various geometry as specified by AnnotationParams.
- Author
- Alan Norton
- Version
- 3.0
- Date
- July 2015
Definition at line 40 of file AnnotationRenderer.h.
◆ AnnotationRenderer()
VAPoR::AnnotationRenderer::AnnotationRenderer |
( |
const ParamsMgr * |
pm, |
|
|
const DataStatus * |
dataStatus, |
|
|
string |
winName |
|
) |
| |
Constructor, must invoke Renderer constructor.
◆ ~AnnotationRenderer()
virtual VAPoR::AnnotationRenderer::~AnnotationRenderer |
( |
| ) |
|
|
virtual |
◆ AddText()
void VAPoR::AnnotationRenderer::AddText |
( |
string |
text, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
size, |
|
|
float |
color[3], |
|
|
int |
type = 0 |
|
) |
| |
◆ AddTextNormalizedCoords()
void VAPoR::AnnotationRenderer::AddTextNormalizedCoords |
( |
string |
text, |
|
|
float |
x, |
|
|
float |
y, |
|
|
int |
size, |
|
|
float |
color[3], |
|
|
int |
type = 0 |
|
) |
| |
◆ ClearText()
void VAPoR::AnnotationRenderer::ClearText |
( |
int |
type = -1 | ) |
|
◆ DrawAxisArrows()
void VAPoR::AnnotationRenderer::DrawAxisArrows |
( |
| ) |
|
◆ DrawText() [1/2]
void VAPoR::AnnotationRenderer::DrawText |
( |
| ) |
|
◆ DrawText() [2/2]
void VAPoR::AnnotationRenderer::DrawText |
( |
vector< billboard > |
billboards | ) |
|
◆ InitializeGL()
void VAPoR::AnnotationRenderer::InitializeGL |
( |
GLManager * |
glManager | ) |
|
Method to initialize GL rendering. Must be called from a GL context.
◆ InScenePaint()
void VAPoR::AnnotationRenderer::InScenePaint |
( |
size_t |
ts | ) |
|
Render the in-scene features.
◆ OverlayPaint()
void VAPoR::AnnotationRenderer::OverlayPaint |
( |
size_t |
ts | ) |
|
Render the overlay features.
The documentation for this class was generated from the following file: