FlowVis.Rendering.TextureManager Class Reference

Creates textures from flowvis data. More...

List of all members.

Public Member Functions

int CreateDirectionTexture (Data.FlowChannel xChannel, Data.FlowChannel yChannel, Data.FlowChannel zChannel, Data.FlowGeometry geometry, int res)
 Create a texture with 3 values which define the direction. The direction is gathered from the x-,y-,z-channels.
int CreateVelocityTexture (Data.FlowChannel xChannel, Data.FlowChannel yChannel, Data.FlowChannel zChannel, Data.FlowGeometry geometry, int res)
 Creates a texture from the data stored in the flow channel.
int CreateChannelTexture (Data.FlowChannel channel, Data.FlowGeometry geometry, int res)
 Creates a texture from the data stored in the flow channel.
int CreateTransferFunctionTexture (Data.TransferFunction tf)
 Creates a texture for the given transfer function.


Detailed Description

Creates textures from flowvis data.


Member Function Documentation

int FlowVis.Rendering.TextureManager.CreateDirectionTexture ( Data.FlowChannel  xChannel,
Data.FlowChannel  yChannel,
Data.FlowChannel  zChannel,
Data.FlowGeometry  geometry,
int  res 
)

Create a texture with 3 values which define the direction. The direction is gathered from the x-,y-,z-channels.

Parameters:
xChannel Channel containing the flow in x-direction
yChannel Channel containing the flow in y-direction
zChannel Channel containing the flow in z-direction
geometry Geometry containing grid for the channels
res Resolution of created texture
Returns:
OpenGl texture handle

int FlowVis.Rendering.TextureManager.CreateVelocityTexture ( Data.FlowChannel  xChannel,
Data.FlowChannel  yChannel,
Data.FlowChannel  zChannel,
Data.FlowGeometry  geometry,
int  res 
)

Creates a texture from the data stored in the flow channel.

Parameters:
xChannel Channel containing the flow in x-direction
yChannel Channel containing the flow in y-direction
zChannel Channel containing the flow in z-direction
geometry Geometry containing grid for the channels
res Resolution of created texture
Returns:
OpenGl texture handle

int FlowVis.Rendering.TextureManager.CreateChannelTexture ( Data.FlowChannel  channel,
Data.FlowGeometry  geometry,
int  res 
)

Creates a texture from the data stored in the flow channel.

Parameters:
channel Channel used for the new texture
geometry Geometry containing the grid for the channel
res Resolution of generated texture
Returns:
OpenGl texture handle

int FlowVis.Rendering.TextureManager.CreateTransferFunctionTexture ( Data.TransferFunction  tf  ) 

Creates a texture for the given transfer function.

Parameters:
tf Transfer function contains the values for the new texture
Returns:
OpenGl texture handle


The documentation for this class was generated from the following file:
Generated on Mon Jan 21 16:09:36 2008 for FlowVis by  doxygen 1.5.1-p1