fw4spl
|
Static Public Member Functions | |
static FWTEST_API std::shared_ptr< ::fwMedData::SeriesDB > | createSeriesDB (const unsigned char nbImgSeries, const unsigned char nbModelSeries, const unsigned char nbActivitySeries) |
Creates a SeriesDB. More... | |
static FWTEST_API std::shared_ptr< ::fwMedData::Patient > | createPatient () |
Returns a Patient with dummy informations. | |
static FWTEST_API std::shared_ptr< ::fwMedData::Study > | createStudy () |
Returns a Study with dummy informations. | |
static FWTEST_API std::shared_ptr< ::fwMedData::Equipment > | createEquipement () |
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::ImageSeries > | createImageSeries () |
Returns an ImageSeries with a randomized image. | |
static FWTEST_API std::shared_ptr< ::fwMedData::ModelSeries > | createModelSeries (unsigned char nbReconstruction) |
Returns a ModelSeries containing random Reconstructions. More... | |
static FWTEST_API std::shared_ptr< ::fwMedData::ActivitySeries > | createActivitySeries () |
Returns an ActivitySeries with dummy data. | |
static FWTEST_API void | generateReconstruction (std::shared_ptr< ::fwData::Reconstruction > rec) |
Generate a reconstruction. More... | |
Definition at line 43 of file tests/fwTest/include/fwTest/generator/SeriesDB.hpp.
|
static |
Returns a ModelSeries containing random Reconstructions.
nbReconstruction | number 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().
|
static |
Creates a SeriesDB.
nbImgSeries | number of ImageSeries to add in seriesDB |
nbModelSeries | number of ModelSeries to add in seriesDB |
nbActivitySeries | number of ActivitySeries to add in seriesDB |
Definition at line 39 of file tests/fwTest/src/fwTest/generator/SeriesDB.cpp.
References createActivitySeries(), createImageSeries(), createModelSeries(), and fwTest::generator::Image::initRand().
|
static |
Generate a reconstruction.
rec | reconstruction 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().