Render a slice of a scalar field given on a grid in uniform cartesian coordinates, supporting mesh refinement. More...
#include <OrthoSlice.hpp>
Render a slice of a scalar field given on a grid in uniform cartesian coordinates, supporting mesh refinement.
void Wizt::OrthoSlice::render | ( | VGLRenderContext & | Context | ) | const [virtual] |
Render an slice, called with an opengl rendering context.
Set global rendering parameters, and delegates rendering of each fragment to the respective blocks.
Implements Wizt::VGLRenderObject.
bool Wizt::OrthoSlice::update | ( | VRequest & | Context, | |
double | precision | |||
) | [virtual] |
The update() function: prepare data for rendering as orthoslice.
TODO: Currently the data are re-created and re-loaded at update(). This is not efficient, take care of an existing cache.
Reimplemented from Wizt::VObject.