Representation of a transferfunction that maps an input [density] to [r, g, b, a] and stores this mapping in a 1D Texture on the GPU for fast lookups. More...
#include <TransferFunction.h>
Public Slots | |
void | updateTransferTexture (unsigned char *new_data) |
Public Member Functions | |
GLuint | getTextureName () |
Static Public Member Functions | |
static TransferFunction * | instance () |
Representation of a transferfunction that maps an input [density] to [r, g, b, a] and stores this mapping in a 1D Texture on the GPU for fast lookups.