GACEN  0.0.3
Public Member Functions | List of all members
gacen::DataContainer Class Reference

Manage data. More...

#include <DataContainer.h>

Collaboration diagram for gacen::DataContainer:
Collaboration graph

Public Member Functions

 DataContainer ()
 Constructor. More...
 
 DataContainer (int ndet, int size)
 Constructor with initialization. More...
 
virtual ~DataContainer ()
 Destructor. More...
 
void set_data ()
 Set the data. More...
 
int get_img_size ()
 Get the image size. More...
 
int get_nb_img ()
 Get the number of image. More...
 
float get_pix_val (int n, int i, int j)
 Get the value of one pixel. More...
 

Detailed Description

Manage data.

class to manage data

Constructor & Destructor Documentation

gacen::DataContainer::DataContainer ( )

Constructor.

Empty Constructor

gacen::DataContainer::DataContainer ( int  ndet,
int  size 
)

Constructor with initialization.

Initialize the data to n zero images

virtual gacen::DataContainer::~DataContainer ( )
virtual

Destructor.

Delete allocated memory:

  • ImgList

Member Function Documentation

int gacen::DataContainer::get_img_size ( )

Get the image size.

Returns
image size
int gacen::DataContainer::get_nb_img ( )

Get the number of image.

Returns
number of image
float gacen::DataContainer::get_pix_val ( int  n,
int  i,
int  j 
)

Get the value of one pixel.

Returns
pixel value
void gacen::DataContainer::set_data ( )

Set the data.

For now, just generate random value


The documentation for this class was generated from the following file: