cartodata  5.0.5
volumeref_d_instantiate.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 #ifndef CARTODATA_VOLUME_VOLUMEREF_D_INSTANTIATE_H
35 #define CARTODATA_VOLUME_VOLUMEREF_D_INSTANTIATE_H
36 
37 //--- cartodata --------------------------------------------------------------
39 //--- cartobase --------------------------------------------------------------
40 #include <cartobase/type/types.h>
43 //----------------------------------------------------------------------------
44 
45 namespace carto
46 {
47 
48 //============================================================================
49 // I N S T A N C I A T I O N
50 //============================================================================
51 
52  extern template class Creator<VolumeRef<int8_t> >;
53  extern template class Creator<VolumeRef<uint8_t> >;
54  // ### remove after everything has been moved to intN_t/uintN_t
55 #if !defined(__sun__) || !defined(_CHAR_IS_SIGNED)
56  extern template class Creator<VolumeRef<char> >;
57 #endif
58  extern template class Creator<VolumeRef<int16_t> >;
59  extern template class Creator<VolumeRef<uint16_t> >;
60  extern template class Creator<VolumeRef<int32_t> >;
61  extern template class Creator<VolumeRef<uint32_t> >;
62  extern template class Creator<VolumeRef<int64_t> >;
63  extern template class Creator<VolumeRef<uint64_t> >;
64  extern template class Creator<VolumeRef<float> >;
65  extern template class Creator<VolumeRef<double> >;
66  extern template class Creator<VolumeRef<cfloat> >;
67  extern template class Creator<VolumeRef<cdouble> >;
68  extern template class Creator<VolumeRef< std::map<int, float> > >;
69  extern template class Creator<VolumeRef<soma::VoxelRGB> >;
70  extern template class Creator<VolumeRef<soma::VoxelRGBA> >;
71  extern template class Creator<VolumeRef<soma::VoxelHSV> >;
72  extern template class Creator<VolumeRef<Point3df> >;
73  extern template class Creator<VolumeRef<Point3d> >;
74  extern template class Creator<VolumeRef<Point3dd> >;
75  extern template class Creator<VolumeRef<Point2d> >;
76  extern template class Creator<VolumeRef<AimsVector<float, 6> > >;
77 #ifdef CARTO_LONG_IS_DISTINCT
78  extern template class Creator<VolumeRef<long> >;
79  extern template class Creator<VolumeRef<unsigned long> >;
80 #endif
81 
82  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< int8_t > )
83  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< uint8_t > )
84 #if !defined(__sun__) || !defined(_CHAR_IS_SIGNED)
85  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< char > )
86 #endif
87  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< int16_t > )
88  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< uint16_t > )
89  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< int32_t > )
90  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< uint32_t > )
91  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< int64_t > )
92  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< uint64_t > )
93  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< float > )
94  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< double > )
95  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< cfloat > )
96  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< cdouble > )
97  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< soma::VoxelRGB > )
98  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< soma::VoxelRGBA > )
99  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< soma::VoxelHSV > )
100  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< Point3df > )
101  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< Point3d > )
102  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< Point3dd > )
103  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< Point2d > )
104 #define CARTO_COMA ,
106 #undef CARTO_COMA
107 #ifdef CARTO_LONG_IS_DISTINCT
108  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< long > )
109  DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< unsigned long > )
110 #endif
111 
112 } // namespace carto
113 
114 #endif // CARTODATA_VOLUME_VOLUMEREF_D_INSTANTIATE_H
#define DECLARE_GENERIC_OBJECT_TYPE(T)