Links
Flow visualization
TFlowBg Class
TFlowBg = class(TSprite);

Class that manages the background images

Field 
Description 
anim 
Access to the TAnimation structure. 
unused 
Number of current displayed attribute 
data 
Access to the TDataSet structure. 
unused 
Half of the x dimension of the data set 
If false then visible. 
unused 
mesh 
unused 
part 
unused 
tex 
textures for the attributes in all time steps
in the newest version only tex[time,0] used 
Memory for loading the textures by swapping 
Size of the loaded textures by swapping 
unused 
unused 
Texture pointer to the transfer textures 
unused 
Memory for loading the transfer functions 
Size of the transfer textures 
wh 
Dimensions correction for non-equal dimx and dimy 
Method 
Description 
Creates the Background texture for additional attribute 1 
Creates the Background texture for additional attribute 2 
Binds textures loaded from swap to memory with the graphic memory. 
Constructor, requests creation of background textures. 
unused 
If no swap exists, creates swapped background textures. 
Deletes no more used textures form memory (when swapped away) 
Frees all the memory 
Creates the Background texture for Direction 
Returns true, if swapped texture exists 
unused 
Init 
Initializes the texture shaders and register combiners 
Loads a texture form swap 
Load a Transfer function texture 
Loads transfer function textures 
Called once per frame, draws all the background textures 
unused 
unused 
Saves background textures to swap 
Handles the swapping by switching attributes to be shown (direction, speed ...) 
Creates a background texture for the speed attribute 
unused 
Creates a background texture for the X direction 
Creates a background texture for the X direction 
Creates a background texture for the X direction 
 
Data Member 
 
Method 
 
virtual 
Created with a demo version of Doc-O-Matic. This version is supplied for evaluation purposes only, do not distribute this documentation. To obtain a commercial license please see http://www.doc-o-matic.com/purchase.html.
Copyright (c) 2005. All rights reserved.
What do you think about this topic? Send feedback!