This class holds the complete data with all frames and layers. More...
#include <FlowData.hpp>
Public Member Functions | |
void | load (CLoadingDialog &dlg, const std::string &gridfile) |
Loads the data from a gridfile. | |
void | unload () |
bool | isLoaded () const |
void | normalise () |
Normalises all the data over all frames per layer. | |
float * | getGridArray () |
Returns the grid array. | |
const unsigned * | getXYZGridSize () const |
const unsigned | getGridSize () const |
const float | getLength () |
const float | getWidth () |
const float | getHeight () |
DataFrame & | getDataFrame (const unsigned &index) |
const unsigned & | getNumFrames () |
const float & | getFrameTime () const |
vmml::vec3f | getPosition (const unsigned &u, const unsigned &v, const unsigned &w) |
std::vector< float > | getHistogram (const unsigned &layer, const int &size) |
This class holds the complete data with all frames and layers.