FlowVis 1.0

LayerRenderable Class Reference

Renderable Layer. More...

#include <LayerRenderable.h>

List of all members.

Public Member Functions

void setType (int type)
 Setter for type.
void setChannel (int channel)
 Setter for channel.
void setTransferFunction (const QImage &image)
 Setter for transfer function.
void draw (GLuint *textures, QVector< Shader * > shaders, GLuint *dispLists, float aspect, bool glyph=false, bool texture=false)
 Renders the layer.

Private Attributes

int ltype
int lchannel
GLuint transferTexture

Detailed Description

Renderable Layer.

This class provides functions to configure and render a layer.

Date:
15.01.2011

Definition at line 15 of file LayerRenderable.h.


Member Function Documentation

void LayerRenderable::draw ( GLuint *  textures,
QVector< Shader * >  shaders,
GLuint *  dispLists,
float  aspect,
bool  glyph = false,
bool  texture = false 
)

Renders the layer.

This functions renders the layer.

Date:
15.01.2011
Parameters:
texturesarray containing the OpenGL texture IDs
shadersvector containing the shader objects
dispListsarray containing the precompiled OpenGL display lists
aspectaspect ration of the dataset
glyphif true glyphs are rendered instead of lines in streamline mode
textureif true streamlines are rendered in texture mode

Definition at line 24 of file LayerRenderable.cpp.

void LayerRenderable::setChannel ( int  channel) [inline]

Setter for channel.

This functions sets the channel of the layer.

Date:
15.01.2011
Parameters:
channelnew channel

Definition at line 46 of file LayerRenderable.h.

void LayerRenderable::setTransferFunction ( const QImage &  image)

Setter for transfer function.

This functions sets the 1D image representing the transfer function of the layer.

Date:
15.01.2011
Parameters:
imagenew 1D image representing the transfer function

Definition at line 13 of file LayerRenderable.cpp.

void LayerRenderable::setType ( int  type) [inline]

Setter for type.

This functions sets the type of the layer.

Date:
15.01.2011
Parameters:
typenew type

Definition at line 34 of file LayerRenderable.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Friends