This class represents a data layers. More...
#include <DataLayer.hpp>
Public Member Functions | |
DataLayer (const std::string &name, const unsigned &xsize, const unsigned &ysize, const unsigned &zsize, const std::vector< float > &data) | |
DataLayer (const DataLayer &layer) | |
DataLayer & | operator= (const DataLayer &layer) |
void | setName (const std::string &name) |
const std::string & | getName () const |
void | normalise (const float &scale, const float &offset) |
float & | getData (const unsigned &indexx, const unsigned &indexy, const unsigned &indexz) |
float * | getArray () |
std::vector< float > & | getDataVector () |
const float & | getMin () const |
const float & | getMax () const |
const unsigned & | getXSize () const |
const unsigned & | getYSize () const |
const unsigned & | getZSize () const |
const unsigned | getSize () const |
This class represents a data layers.
Contains all the float data of a single layer.