27 #include <vapor/common.h>
56 virtual int initializeGL();
67 const string getMyName()
const {
return(_rendererName);};
76 virtual int _initializeGL() = 0;
113 static void RegisterRenderer(
string tag, RendererCreateMethod);
139 void setBypass(
int timestep) {
if(_currentRenderParams)_currentRenderParams->setBypass(timestep);}
145 void setPartialBypass(
int timestep) {
if(_currentRenderParams)_currentRenderParams->setPartialBypass(timestep);}
151 void setAllBypass(
bool val){
if (_currentRenderParams) _currentRenderParams->setAllBypass(val);}
156 bool doBypass(
int timestep) {
return (_currentRenderParams && _currentRenderParams->doBypass(timestep));}
163 return (_currentRenderParams && _currentRenderParams->doAlwaysBypass(timestep));
175 Renderer* iRender = ControlExec::GetVisualizer(ControlExec::GetActiveVizIndex())->getRenderer(rp);
196 const vector<string>& varnames,
197 const double extents[6],
218 static void UndoRedo(
bool isUndo,
int instance,
Params* beforeP,
Params* afterP,
Params* auxPrev = 0,
Params* auxNext = 0);
228 void buildLocal2DTransform(
int dataOrientation,
float a[2],
float b[2],
float* constVal,
int mappedDims[3]);
233 void getLocalContainingRegion(
float regMin[3],
float regMax[3]);
245 void enableClippingPlanes(
const double extents[6]);
248 void enableFullClippingPlanes();
251 void enableRegionClippingPlanes();
254 void enable2DClippingPlanes();
257 void disableClippingPlanes();
264 #ifndef DOXYGEN_SKIP_THIS
265 static map<string,RendererCreateMethod> _createRendererMap;
272 #endif //DOXYGEN_SKIP_THIS
RenderParams * getRenderParams()
static void invalidateRenderCache(RenderParams *rp)
A pure virtual class for managing parameters used in visualization.
A Params subclass for managing parameters used by Renderers.
void setAllBypass(bool val)
bool doBypass(int timestep)
A base class for Renderer classes.
virtual void setAllDataDirty()
const string getMyName() const
bool doAlwaysBypass(int timestep)
Visualizer * GetVisualizer()
Obtain the Visualizer associated with this Renderer.
size_t GetCurrentTimestep()
void setPartialBypass(int timestep)
A class for performing OpenGL rendering in VAPOR GUI Window.
virtual void invalidateCache()
virtual void setRenderParams(RenderParams *rp)
virtual void invalidateCache()
void setBypass(int timestep)
A cache based data reader.
A class that performs rendering in a Visualizer.