fw4spl
tests/fwTest/include/fwTest/generator/SeriesDB.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2015.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #ifndef __FWTEST_GENERATOR_SERIESDB_HPP__
8 #define __FWTEST_GENERATOR_SERIESDB_HPP__
9 
10 #include "fwTest/config.hpp"
11 
12 #include <fwCore/base.hpp>
13 
14 
15 namespace fwData
16 {
17 class Reconstruction;
18 }
19 
20 namespace fwMedData
21 {
22 class SeriesDB;
23 class Series;
24 class Patient;
25 class Study;
26 class Equipment;
27 class ImageSeries;
28 class ModelSeries;
29 class ActivitySeries;
30 }
31 
32 namespace fwTest
33 {
34 namespace generator
35 {
36 
37 
43 class SeriesDB
44 {
45 
46 public:
47 
55  FWTEST_API static SPTR(::fwMedData::SeriesDB) createSeriesDB(const unsigned char nbImgSeries,
56  const unsigned char nbModelSeries,
57  const unsigned char nbActivitySeries);
58 
59 
61  FWTEST_API static SPTR(::fwMedData::Patient) createPatient();
62 
63 
65  FWTEST_API static SPTR(::fwMedData::Study) createStudy();
66 
68  FWTEST_API static SPTR(::fwMedData::Equipment) createEquipement();
69 
71  FWTEST_API static void generateSeriesInformation(SPTR(::fwMedData::Series) series);
72 
74  FWTEST_API static SPTR(::fwMedData::ImageSeries) createImageSeries();
75 
80  FWTEST_API static SPTR(::fwMedData::ModelSeries) createModelSeries(unsigned char nbReconstruction);
81 
83  FWTEST_API static SPTR(::fwMedData::ActivitySeries) createActivitySeries();
84 
89  FWTEST_API static void generateReconstruction(SPTR(::fwData::Reconstruction) rec);
90 
91 
92 };
93 
94 } // namespace generator
95 } // namespace fwTest
96 
97 #endif // __FWTEST_GENERATOR_SERIESDB_HPP__
#define SPTR(_cls_)
This class contains helper to generate Medical Data (SeriesDB, ImageSeries, ...). ...
This class defines a reconstruction object.
Namespace containing medical data.
Definition: Data.hpp:15
Contains the representation of the data objects used in the framework.