Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes

Wizt::OrthoSlice Class Reference
[Fish Objects to render scalar fields]

Render a slice of a scalar field given on a grid in uniform cartesian coordinates, supporting mesh refinement. More...

#include <OrthoSlice.hpp>

List of all members.

Classes

Public Types

Public Member Functions

Static Public Member Functions

Public Attributes


Detailed Description

Render a slice of a scalar field given on a grid in uniform cartesian coordinates, supporting mesh refinement.


Member Function Documentation

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.