VAPoR
3.0.0
|
Class that draws a line as specified by HelloParams. More...
#include <hellorenderer.h>
Public Member Functions | |
HelloRenderer (Visualizer *w, RenderParams *rp) | |
virtual | ~HelloRenderer () |
Destructor. More... | |
Public Member Functions inherited from VAPoR::Renderer | |
Renderer (Visualizer *vw, RenderParams *rp, string name) | |
virtual | ~Renderer () |
virtual int | paintGL (DataMgrV3_0 *dataMgr) |
virtual void | setRenderParams (RenderParams *rp) |
RenderParams * | getRenderParams () |
void | setBypass (int timestep) |
void | setPartialBypass (int timestep) |
void | setAllBypass (bool val) |
bool | doBypass (int timestep) |
bool | doAlwaysBypass (int timestep) |
virtual void | setAllDataDirty () |
virtual void | invalidateCache () |
void | buildLocal2DTransform (int dataOrientation, float a[2], float b[2], float *constVal, int mappedDims[3]) |
void | getLocalContainingRegion (float regMin[3], float regMax[3]) |
Public Member Functions inherited from VAPoR::RendererBase | |
RendererBase (Visualizer *vw, Params *p, string name) | |
virtual | ~RendererBase () |
virtual int | initializeGL () |
Visualizer * | GetVisualizer () |
Obtain the Visualizer associated with this Renderer. More... | |
bool | isInitialized () |
const string | getMyName () const |
Public Member Functions inherited from VetsUtil::MyBase | |
MyBase () | |
const string & | getClassName () const |
Static Public Member Functions | |
static Renderer * | CreateInstance (Visualizer *v, RenderParams *rp) |
Static Public Member Functions inherited from VAPoR::Renderer | |
static void | RegisterRenderer (string tag, RendererCreateMethod) |
static Renderer * | CreateInstance (RenderParams *p, Visualizer *viz) |
static void | invalidateRenderCache (RenderParams *rp) |
static int | getGrids (DataMgrV3_0 *dataMgr, size_t ts, const vector< string > &varnames, const double extents[6], int *refLevel, int *lod, RegularGrid **grids) |
static void | UndoRedo (bool isUndo, int instance, Params *beforeP, Params *afterP, Params *auxPrev=0, Params *auxNext=0) |
Static Public Member Functions inherited from VetsUtil::MyBase | |
static void | SetErrMsg (const char *format,...) |
Record a formatted error message. More... | |
static void | SetErrMsg (int errcode, const char *format,...) |
Record a formatted error message and an error code. More... | |
static const char * | GetErrMsg () |
static void | SetErrCode (int err_code) |
Record an error code. More... | |
static int | GetErrCode () |
Retrieve the current error code. More... | |
static void | SetErrMsgCB (ErrMsgCB_T cb) |
static ErrMsgCB_T | GetErrMsgCB () |
static void | SetErrMsgFilePtr (FILE *fp) |
static const FILE * | SetErrMsgFilePtr () |
static void | SetDiagMsg (const char *format,...) |
Record a formatted diagnostic message. More... | |
static const char * | GetDiagMsg () |
static void | SetDiagMsgCB (DiagMsgCB_T cb) |
static DiagMsgCB_T | GetDiagMsgCB () |
static void | SetDiagMsgFilePtr (FILE *fp) |
static bool | EnableErrMsg (bool enable) |
Protected Member Functions | |
virtual int | _initializeGL () |
Virtual method performs any OpenGL initialization, sets the _initialized flag. More... | |
virtual int | _paintGL (DataMgrV3_0 *) |
Protected Member Functions inherited from VAPoR::Renderer | |
void | enableClippingPlanes (const double extents[6]) |
void | enableFullClippingPlanes () |
void | enableRegionClippingPlanes () |
void | enable2DClippingPlanes () |
void | disableClippingPlanes () |
size_t | GetCurrentTimestep () |
Protected Member Functions inherited from VetsUtil::MyBase | |
void | SetClassName (const string &name) |
Additional Inherited Members | |
Public Types inherited from VAPoR::Renderer | |
typedef Renderer *(* | RendererCreateMethod) (Visualizer *, RenderParams *) |
typedef defining Renderer CreateInstance() methods. More... | |
Public Types inherited from VetsUtil::MyBase | |
typedef void(* | ErrMsgCB_T) (const char *msg, int err_code) |
typedef void(* | DiagMsgCB_T) (const char *msg) |
Static Public Attributes inherited from VetsUtil::MyBase | |
static char * | ErrMsg |
static int | ErrCode |
static int | ErrMsgSize |
static FILE * | ErrMsgFilePtr |
static ErrMsgCB_T | ErrMsgCB |
static char * | DiagMsg |
static int | DiagMsgSize |
static FILE * | DiagMsgFilePtr |
static DiagMsgCB_T | DiagMsgCB |
static bool | Enabled |
Protected Attributes inherited from VAPoR::RendererBase | |
Visualizer * | _visualizer |
bool | _initialized |
size_t | _timestep |
string | _rendererName |
Params * | _params |
Class that draws a line as specified by HelloParams.
Definition at line 34 of file hellorenderer.h.
VAPoR::HelloRenderer::HelloRenderer | ( | Visualizer * | w, |
RenderParams * | rp | ||
) |
Constructor, must invoke Renderer constructor
[in] | Visualizer* | pointer to the visualizer where this will draw |
[in] | RenderParams* | pointer to the HelloParams describing this renderer |
|
virtual |
Destructor.
|
protectedvirtual |
Virtual method performs any OpenGL initialization, sets the _initialized flag.
Implements VAPoR::RendererBase.
|
protectedvirtual |
Virtual method issues all the OpenGL calls to draw the Hellos in user coordinates.
[in] | DataMgr* | current DataMgr that owns the data being rendered. |
[in] | Params* | Params* that is associated with this Renderer |
Implements VAPoR::Renderer.
|
inlinestatic |
CreateInstance: Static method to create a renderer given the associated Params instance and visualizer
[in] | Visualizer* | pointer to the visualizer where this will draw |
[in] | RenderParams* | pointer to the HelloParams associated with this renderer |
Definition at line 50 of file hellorenderer.h.