VAPOR3 3.9.4
HelloRenderer.h
Go to the documentation of this file.
1//-- HelloRenderer.h ----------------------------------------------------------
2//
3// Copyright (C) 2011
4// University Corporation for Atmospheric Research
5// All Rights Reserved
6//
7//----------------------------------------------------------------------------
8//
9// File: HelloRenderer.h
10//
11// Author: Alan Norton
12//
13//
14// Description: Definition of HelloRenderer class
15//
16//
17//
18//----------------------------------------------------------------------------
19
20#ifndef HELLORENDERER_H
21#define HELLORENDERER_H
22
23#include <vapor/Grid.h>
24#include <vapor/Renderer.h>
25#include <vapor/HelloParams.h>
26
27namespace VAPoR {
28
34
36public:
37 HelloRenderer(const ParamsMgr *pm, string winName, string dataSetName, string instName, DataMgr *dataMgr);
38
40
41 // Get static string identifier for this Render class
42 //
43 static string GetClassType() { return ("Hello"); }
44
45protected:
47 virtual int _initializeGL();
48
50 virtual int _paintGL(bool fast);
51
52private:
53 void _clearCache() {}
54};
55}; // namespace VAPoR
56
57#endif // HELLORENDERER_H
A cache based data reader.
Definition: DataMgr.h:110
Class that draws a line as specified by HelloParams.
Definition: HelloRenderer.h:35
HelloRenderer(const ParamsMgr *pm, string winName, string dataSetName, string instName, DataMgr *dataMgr)
virtual int _initializeGL()
static string GetClassType()
Definition: HelloRenderer.h:43
virtual int _paintGL(bool fast)
All OpenGL rendering is performed in the pure virtual paintGL method.
A singleton class for managing Params instances.
Definition: ParamsMgr.h:53
A class that performs rendering in a Visualizer.
Definition: Renderer.h:121
#define RENDER_API
Definition: common.h:78