VAPoR  3.0.0
Public Member Functions | Static Public Member Functions | List of all members
VAPoR::ArrowRenderer Class Reference

Class that draws the barbs as specified by ArrowParams. More...

#include <arrowrenderer.h>

Inheritance diagram for VAPoR::ArrowRenderer:
VAPoR::Renderer VAPoR::RendererBase VetsUtil::MyBase

Public Member Functions

 ArrowRenderer (Visualizer *w, RenderParams *rp)
 
virtual ~ArrowRenderer ()
 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)
 
RenderParamsgetRenderParams ()
 
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 ()
 
VisualizerGetVisualizer ()
 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 RendererCreateInstance (Visualizer *v, RenderParams *rp)
 
- Static Public Member Functions inherited from VAPoR::Renderer
static void RegisterRenderer (string tag, RendererCreateMethod)
 
static RendererCreateInstance (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)
 

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 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)
 
- Protected Attributes inherited from VAPoR::RendererBase
Visualizer_visualizer
 
bool _initialized
 
size_t _timestep
 
string _rendererName
 
Params_params
 

Detailed Description

Class that draws the barbs as specified by ArrowParams.

Author
Alan Norton
Version
3.0
Date
February 2014

Definition at line 34 of file arrowrenderer.h.

Constructor & Destructor Documentation

VAPoR::ArrowRenderer::ArrowRenderer ( Visualizer w,
RenderParams rp 
)

Constructor, must invoke Renderer constructor

Parameters
[in]Visualizer*pointer to the visualizer where this will draw
[in]RenderParams*pointer to the ArrowParams describing this renderer
virtual VAPoR::ArrowRenderer::~ArrowRenderer ( )
virtual

Destructor.

Member Function Documentation

static Renderer* VAPoR::ArrowRenderer::CreateInstance ( Visualizer v,
RenderParams rp 
)
inlinestatic

CreateInstance: Static method to create a renderer given the associated Params instance and visualizer

Parameters
[in]Visualizer*pointer to the visualizer where this will draw
[in]RenderParams*pointer to the ArrowParams associated with this renderer

Definition at line 50 of file arrowrenderer.h.


The documentation for this class was generated from the following file: