Class that draws the isolines (contours) as specified by IsolineParams.
More...
#include <isolinerenderer.h>
|
| | IsolineRenderer (Visualizer *, RenderParams *) |
| |
| | ~IsolineRenderer () |
| |
| virtual int | _initializeGL () |
| | Required virtual method performs any needed OpenGL initialization. More...
|
| |
| virtual int | _paintGL (DataMgrV3_0 *dmgr) |
| |
| virtual void | setAllDataDirty () |
| |
| void | invalidateLineCache (int timestep) |
| |
| virtual void | invalidateCache () |
| | Virtual method results in entire cache being invalidated. More...
|
| |
| bool | cacheIsValid (int timestep) |
| |
| int | buildLineCache (DataMgrV3_0 *dmgr) |
| |
| const std::map< pair< int, int >, vector< float * > > & | GetLineCache () |
| |
| | 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) |
| |
| void | buildLocal2DTransform (int dataOrientation, float a[2], float b[2], float *constVal, int mappedDims[3]) |
| |
| void | getLocalContainingRegion (float regMin[3], float regMax[3]) |
| |
| | 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 |
| |
| | MyBase () |
| |
| const string & | getClassName () const |
| |
|
| static Renderer * | CreateInstance (Visualizer *v, RenderParams *rp) |
| |
| 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 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) |
| |
Class that draws the isolines (contours) as specified by IsolineParams.
- Author
- Alan Norton
- Version
- 3.0
- Date
- March 2014
Definition at line 42 of file isolinerenderer.h.
| VAPoR::IsolineRenderer::~IsolineRenderer |
( |
| ) |
|
| virtual int VAPoR::IsolineRenderer::_initializeGL |
( |
| ) |
|
|
virtual |
Required virtual method performs any needed OpenGL initialization.
Implements VAPoR::RendererBase.
| virtual int VAPoR::IsolineRenderer::_paintGL |
( |
DataMgrV3_0 * |
dmgr | ) |
|
|
virtual |
Required virtual method, renders the isolines.
- Parameters
-
Implements VAPoR::Renderer.
| int VAPoR::IsolineRenderer::buildLineCache |
( |
DataMgrV3_0 * |
dmgr | ) |
|
Rebuild the entire line cache at the current time step
- Parameters
-
| bool VAPoR::IsolineRenderer::cacheIsValid |
( |
int |
timestep | ) |
|
|
inline |
Check if the current cache is valid
- Parameters
-
| [in] | timestep | time step to be checked. |
- Returns
- true if cache is valid
Definition at line 73 of file isolinerenderer.h.
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 IsolineParams associated with this renderer |
- Returns
- IsolineRenderer* new IsolineRenderer instance.
Definition at line 54 of file isolinerenderer.h.
| const std::map<pair<int,int>,vector<float*> >& VAPoR::IsolineRenderer::GetLineCache |
( |
| ) |
|
|
inline |
Obtain the current line cache. Each timestep and isovalue is associated with a vector of triples of floats.
- Returns
- current lineCache
Definition at line 81 of file isolinerenderer.h.
| virtual void VAPoR::IsolineRenderer::invalidateCache |
( |
| ) |
|
|
virtual |
Virtual method results in entire cache being invalidated.
Reimplemented from VAPoR::Renderer.
| void VAPoR::IsolineRenderer::invalidateLineCache |
( |
int |
timestep | ) |
|
Invalidate the cache of isolines at a single time step
- Parameters
-
| [in] | timestep | is the Time Step to be invalidated. |
| virtual void VAPoR::IsolineRenderer::setAllDataDirty |
( |
| ) |
|
|
inlinevirtual |
Invalidate cache when necessary to re-obtain data Must be called whenever parameters are changed so as to require a new generation of isolines
Reimplemented from VAPoR::Renderer.
Definition at line 64 of file isolinerenderer.h.
The documentation for this class was generated from the following file: