fw4spl
fwTest::generator::SeriesDB Class Reference

Static Public Member Functions

static FWTEST_API std::shared_ptr< ::fwMedData::SeriesDBcreateSeriesDB (const unsigned char nbImgSeries, const unsigned char nbModelSeries, const unsigned char nbActivitySeries)
 Creates a SeriesDB. More...
 
static FWTEST_API std::shared_ptr< ::fwMedData::PatientcreatePatient ()
 Returns a Patient with dummy informations.
 
static FWTEST_API std::shared_ptr< ::fwMedData::StudycreateStudy ()
 Returns a Study with dummy informations.
 
static FWTEST_API std::shared_ptr< ::fwMedData::EquipmentcreateEquipement ()
 Returns an Equipment with dummy informations.
 
static FWTEST_API void generateSeriesInformation (std::shared_ptr< ::fwMedData::Series > series)
 Generates dummy informations for the series.
 
static FWTEST_API std::shared_ptr< ::fwMedData::ImageSeriescreateImageSeries ()
 Returns an ImageSeries with a randomized image.
 
static FWTEST_API std::shared_ptr< ::fwMedData::ModelSeriescreateModelSeries (unsigned char nbReconstruction)
 Returns a ModelSeries containing random Reconstructions. More...
 
static FWTEST_API std::shared_ptr< ::fwMedData::ActivitySeriescreateActivitySeries ()
 Returns an ActivitySeries with dummy data.
 
static FWTEST_API void generateReconstruction (std::shared_ptr< ::fwData::Reconstruction > rec)
 Generate a reconstruction. More...
 

Detailed Description

Member Function Documentation

fwMedData::ModelSeries::sptr fwTest::generator::SeriesDB::createModelSeries ( unsigned char  nbReconstruction)
static

Returns a ModelSeries containing random Reconstructions.

Parameters
nbReconstructionnumber of Reconstrutions to add in the ModelSeries

Definition at line 180 of file tests/fwTest/src/fwTest/generator/SeriesDB.cpp.

References generateReconstruction(), and generateSeriesInformation().

Referenced by createSeriesDB().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

fwMedData::SeriesDB::sptr fwTest::generator::SeriesDB::createSeriesDB ( const unsigned char  nbImgSeries,
const unsigned char  nbModelSeries,
const unsigned char  nbActivitySeries 
)
static

Creates a SeriesDB.

Parameters
nbImgSeriesnumber of ImageSeries to add in seriesDB
nbModelSeriesnumber of ModelSeries to add in seriesDB
nbActivitySeriesnumber of ActivitySeries to add in seriesDB
Returns
The created SeriesDB

Definition at line 39 of file tests/fwTest/src/fwTest/generator/SeriesDB.cpp.

References createActivitySeries(), createImageSeries(), createModelSeries(), and fwTest::generator::Image::initRand().

+ Here is the call graph for this function:

void fwTest::generator::SeriesDB::generateReconstruction ( std::shared_ptr< ::fwData::Reconstruction rec)
static

Generate a reconstruction.

Parameters
recreconstruction to generate

Definition at line 220 of file tests/fwTest/src/fwTest/generator/SeriesDB.cpp.

References fwTest::generator::Mesh::generateMesh(), and fwTest::generator::Image::generateRandomImage().

Referenced by createModelSeries(), and fwTest::generator::Object::generateResection().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


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