aimsdata 6.0.0
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
46
47namespace carto {
48
49DECLARE_GENERIC_OBJECT_TYPE( AimsData<bool> )
50DECLARE_GENERIC_OBJECT_TYPE( AimsData<int8_t> )
51DECLARE_GENERIC_OBJECT_TYPE( AimsData<uint8_t> )
52DECLARE_GENERIC_OBJECT_TYPE( AimsData<int16_t> )
53DECLARE_GENERIC_OBJECT_TYPE( AimsData<uint16_t> )
54DECLARE_GENERIC_OBJECT_TYPE( AimsData<int32_t> )
55DECLARE_GENERIC_OBJECT_TYPE( AimsData<uint32_t> )
56DECLARE_GENERIC_OBJECT_TYPE( AimsData<int64_t> )
57DECLARE_GENERIC_OBJECT_TYPE( AimsData<uint64_t> )
58DECLARE_GENERIC_OBJECT_TYPE( AimsData<float> )
59DECLARE_GENERIC_OBJECT_TYPE( AimsData<double> )
60DECLARE_GENERIC_OBJECT_TYPE( AimsData< std::complex<float> > )
61DECLARE_GENERIC_OBJECT_TYPE( AimsData< std::complex<double> > )
62DECLARE_GENERIC_OBJECT_TYPE( AimsData<AimsRGB> )
63DECLARE_GENERIC_OBJECT_TYPE( AimsData<AimsRGBA> )
64DECLARE_GENERIC_OBJECT_TYPE( AimsData<AimsHSV> )
65DECLARE_GENERIC_OBJECT_TYPE( AimsData<Point3d> )
66DECLARE_GENERIC_OBJECT_TYPE( AimsData<Point3df> )
67DECLARE_GENERIC_OBJECT_TYPE( AimsData<Point3dd> )
68#define _TMP_ AimsData< AimsVector<float, 6> >
70#undef _TMP_
71#ifdef CARTO_LONG_IS_DISTINCT
74#endif
75
77DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<int8_t> > )
78DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<uint8_t> > )
79DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<int16_t> > )
80DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<uint16_t> > )
81DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<int32_t> > )
82DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<uint32_t> > )
83DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<int64_t> > )
84DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<uint64_t> > )
85DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<float> > )
86DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<double> > )
87DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData< std::complex<double> > > )
88DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData< std::complex<float> > > )
95#define _TMP_ rc_ptr< AimsData< AimsVector<float, 6> > >
97#undef _TMP_
98#ifdef CARTO_LONG_IS_DISTINCT
100DECLARE_GENERIC_OBJECT_TYPE( rc_ptr< AimsData<unsigned long> > )
101#endif
102
103} // namespace carto
104
105
106#endif
#define _TMP_
Definition data.h:68
carto::VoxelHSV AimsHSV
Definition hsv.h:41
STL namespace.
#define DECLARE_GENERIC_OBJECT_TYPE(T)
carto::VoxelRGBA AimsRGBA
Definition rgb.h:44
carto::VoxelRGB AimsRGB
Definition rgb.h:43
AimsVector< float, 3 > Point3df
AimsVector< int16_t, 3 > Point3d
AimsVector< double, 3 > Point3dd