VAPOR3 3.9.4
|
Class that draws the barbs as specified by BarbParams. More...
#include <BarbRenderer.h>
Public Member Functions | |
BarbRenderer (const ParamsMgr *pm, string winName, string dataSetName, string instName, DataMgr *dataMgr) | |
virtual | ~BarbRenderer () |
Public Member Functions inherited from VAPoR::Renderer | |
Renderer (const ParamsMgr *pm, string winName, string dataSetName, string paramsType, string classType, string instName, DataMgr *dataMgr) | |
virtual | ~Renderer () |
double | GetDefaultZ (DataMgr *dataMgr, size_t ts) const |
virtual int | paintGL (bool fast) |
void | ClearCache () |
void | renderColorbar () |
Render the colorbar for this renderer (if it has one) | |
RenderParams * | GetActiveParams () const |
ViewpointParams * | GetViewpointParams () const |
AnnotationParams * | GetAnnotationParams () const |
Transform * | GetDatasetTransform () const |
Public Member Functions inherited from VAPoR::RendererBase | |
RendererBase (const ParamsMgr *pm, string winName, string dataSetName, string paramsType, string classType, string instName, DataMgr *dataMgr) | |
virtual | ~RendererBase () |
virtual int | initializeGL (GLManager *glManager) |
string | GetVisualizer () |
Obtain the Visualizer associated with this Renderer. | |
string | GetMyName () const |
string | GetInstanceName () const |
string | GetMyType () const |
string | GetMyParamsType () const |
string | GetMyDatasetName () const |
bool | IsGLInitialized () const |
void | FlagForDeletion () |
bool | IsFlaggedForDeletion () const |
RendererBase () | |
Public Member Functions inherited from Wasp::MyBase | |
MyBase () | |
const string & | getClassName () const |
Static Public Member Functions | |
static string | GetClassType () |
Static Public Member Functions inherited from VAPoR::Renderer | |
static void | ApplyTransform (GLManager *gl, const Transform *dataset, const Transform *renderer) |
static void | ApplyDatasetTransform (GLManager *gl, const Transform *dataset) |
Static Public Member Functions inherited from Wasp::MyBase | |
static void | SetErrMsg (const char *format,...) |
Record a formatted error message. | |
static void | SetErrMsg (int errcode, const char *format,...) |
Record a formatted error message and an error code. | |
static const char * | GetErrMsg () |
static void | SetErrCode (int err_code) |
Record an error code. | |
static int | GetErrCode () |
Retrieve the current error code. | |
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. | |
static const char * | GetDiagMsg () |
static void | SetDiagMsgCB (DiagMsgCB_T cb) |
static DiagMsgCB_T | GetDiagMsgCB () |
static void | SetDiagMsgFilePtr (FILE *fp) |
static bool | EnableErrMsg (bool enable) |
static bool | GetEnableErrMsg () |
Protected Member Functions | |
virtual std::string | _getColorbarVariableName () const |
Protected Member Functions inherited from VAPoR::Renderer | |
Renderer () | |
virtual std::string | _getColorbarVariableName () const |
virtual int | _paintGL (bool fast)=0 |
All OpenGL rendering is performed in the pure virtual paintGL method. | |
void | EnableClipToBox (ShaderProgram *shader, float haloFrac=0.0) const |
void | DisableClippingPlanes () |
void | GetClippingPlanes (float planes[24]) const |
virtual bool | VariableExists (size_t ts, std::vector< string > &varnames, int level, int lod, bool zeroOK) const |
virtual void | _clearCache ()=0 |
virtual int | _initializeGL ()=0 |
Protected Member Functions inherited from Wasp::MyBase | |
void | SetClassName (const string &name) |
Additional Inherited Members | |
Public Types inherited from Wasp::MyBase | |
typedef void(* | ErrMsgCB_T) (const char *msg, int err_code) |
typedef void(* | DiagMsgCB_T) (const char *msg) |
Static Public Attributes inherited from Wasp::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::Renderer | |
unsigned char * | _colorbarTexture |
string | _fontName |
Protected Attributes inherited from VAPoR::RendererBase | |
const ParamsMgr * | _paramsMgr |
string | _winName |
string | _dataSetName |
string | _paramsType |
string | _classType |
string | _instName |
DataMgr * | _dataMgr |
GLManager * | _glManager |
Static Protected Attributes inherited from VAPoR::Renderer | |
static const int | _imgHgt |
static const int | _imgWid |
Class that draws the barbs as specified by BarbParams.
Definition at line 27 of file BarbRenderer.h.
VAPoR::BarbRenderer::BarbRenderer | ( | const ParamsMgr * | pm, |
string | winName, | ||
string | dataSetName, | ||
string | instName, | ||
DataMgr * | dataMgr | ||
) |
|
virtual |
|
protectedvirtual |
Reimplemented from VAPoR::Renderer.
|
inlinestatic |
Definition at line 33 of file BarbRenderer.h.
Referenced by BarbEventRouter::GetClassType().
float VAPoR::BarbRenderer::alphaSamples[10] |
Definition at line 154 of file BarbRenderer.h.
vector<double> VAPoR::BarbRenderer::boxMax |
Definition at line 150 of file BarbRenderer.h.
vector<double> VAPoR::BarbRenderer::boxMin |
Definition at line 150 of file BarbRenderer.h.
float VAPoR::BarbRenderer::colorSamples[10][3] |
Definition at line 153 of file BarbRenderer.h.
string VAPoR::BarbRenderer::colorVarName |
Definition at line 140 of file BarbRenderer.h.
float VAPoR::BarbRenderer::constantColor[3] |
Definition at line 145 of file BarbRenderer.h.
vector<string> VAPoR::BarbRenderer::fieldVarNames |
Definition at line 138 of file BarbRenderer.h.
vector<long> VAPoR::BarbRenderer::grid |
Definition at line 149 of file BarbRenderer.h.
string VAPoR::BarbRenderer::heightVarName |
Definition at line 139 of file BarbRenderer.h.
double VAPoR::BarbRenderer::lengthScale |
Definition at line 148 of file BarbRenderer.h.
int VAPoR::BarbRenderer::level |
Definition at line 142 of file BarbRenderer.h.
double VAPoR::BarbRenderer::lineThickness |
Definition at line 146 of file BarbRenderer.h.
int VAPoR::BarbRenderer::lod |
Definition at line 143 of file BarbRenderer.h.
float VAPoR::BarbRenderer::maxMapValue |
Definition at line 152 of file BarbRenderer.h.
float VAPoR::BarbRenderer::minMapValue |
Definition at line 151 of file BarbRenderer.h.
bool VAPoR::BarbRenderer::needToRecalc |
Definition at line 155 of file BarbRenderer.h.
double VAPoR::BarbRenderer::opacity |
Definition at line 147 of file BarbRenderer.h.
size_t VAPoR::BarbRenderer::ts |
Definition at line 141 of file BarbRenderer.h.
bool VAPoR::BarbRenderer::useSingleColor |
Definition at line 144 of file BarbRenderer.h.