Handles one scalar field of floats defined for each cell. More...
More dimensional vectors are split into components. E.g. a 3D velocity vector gets stored in three FlowChannels. A FlowChannel stores data only from one time step, it is not aware of any time related information.
void FlowChannel::copyValues | ( | float * | rawdata, | |
int | vtxSize, | |||
int | offset | |||
) |
takes an array containing all attributes for a vertex and copies the j-th attribute to this channel
This methos is used by the loading of data sets.
rawdata | data gained directly from the file, without any processing. It contains all channels for all cells. Please note, there is no time information considered here. | |
vtxSize | number of channels per cell (incl. velocity vector size) | |
offset | offset of the parameter loaded into this channel |