aimsdata  5.1.2
Neuroimaging data handling
data.h
Go to the documentation of this file.
1 /* This software and supporting documentation are distributed by
2  * Institut Federatif de Recherche 49
3  * CEA/NeuroSpin, Batiment 145,
4  * 91191 Gif-sur-Yvette cedex
5  * France
6  *
7  * This software is governed by the CeCILL-B license under
8  * French law and abiding by the rules of distribution of free software.
9  * You can use, modify and/or redistribute the software under the
10  * terms of the CeCILL-B license as circulated by CEA, CNRS
11  * and INRIA at the following URL "http://www.cecill.info".
12  *
13  * As a counterpart to the access to the source code and rights to copy,
14  * modify and redistribute granted by the license, users are provided only
15  * with a limited warranty and the software's author, the holder of the
16  * economic rights, and the successive licensors have only limited
17  * liability.
18  *
19  * In this respect, the user's attention is drawn to the risks associated
20  * with loading, using, modifying and/or developing or reproducing the
21  * software by the user in light of its specific status of free software,
22  * that may mean that it is complicated to manipulate, and that also
23  * therefore means that it is reserved for developers and experienced
24  * professionals having in-depth computer knowledge. Users are therefore
25  * encouraged to load and test the software's suitability as regards their
26  * requirements in conditions enabling the security of their systems and/or
27  * data to be ensured and, more generally, to use and operate it in the
28  * same conditions as regards security.
29  *
30  * The fact that you are presently reading this means that you have had
31  * knowledge of the CeCILL-B license and that you accept its terms.
32  */
33 
34 /*
35  * 4D-data template class
36  */
37 #ifndef AIMS_DATA_DATA_H
38 #define AIMS_DATA_DATA_H
39 
41 #include <aims/rgb/rgb.h>
42 #include <aims/hsv/hsv.h>
43 
44 // this part will not be always included in future releases
45 #include <aims/data/volumemanip.h>
46 
47 namespace carto {
48 
60 DECLARE_GENERIC_OBJECT_TYPE( AimsData< std::complex<float> > )
61 DECLARE_GENERIC_OBJECT_TYPE( AimsData< std::complex<double> > )
62 DECLARE_GENERIC_OBJECT_TYPE( AimsData<AimsRGB> )
63 DECLARE_GENERIC_OBJECT_TYPE( AimsData<AimsRGBA> )
64 DECLARE_GENERIC_OBJECT_TYPE( AimsData<AimsHSV> )
65 DECLARE_GENERIC_OBJECT_TYPE( AimsData<Point3d> )
66 DECLARE_GENERIC_OBJECT_TYPE( AimsData<Point3df> )
67 DECLARE_GENERIC_OBJECT_TYPE( AimsData<Point3dd> )
68 #define _TMP_ AimsData< AimsVector<float, 6> >
70 #undef _TMP_
71 #ifdef CARTO_LONG_IS_DISTINCT
74 #endif
75 
77 DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<int8_t> > )
78 DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<uint8_t> > )
79 DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<int16_t> > )
80 DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<uint16_t> > )
81 DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<int32_t> > )
82 DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<uint32_t> > )
83 DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<int64_t> > )
84 DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<uint64_t> > )
85 DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<float> > )
86 DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<double> > )
87 DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData< std::complex<double> > > )
88 DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData< std::complex<float> > > )
89 DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<AimsRGB> > )
90 DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<AimsRGBA> > )
91 DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<AimsHSV> > )
92 DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<Point3d> > )
93 DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<Point3df> > )
94 DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<Point3dd> > )
95 #define _TMP_ rc_ptr< AimsData< AimsVector<float, 6> > >
97 #undef _TMP_
98 #ifdef CARTO_LONG_IS_DISTINCT
100 DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<unsigned long> > )
101 #endif
102 
103 } // namespace carto
104 
105 
106 #endif
#define _TMP_
Definition: data.h:95
#define DECLARE_GENERIC_OBJECT_TYPE(T)