cartodata 6.0.0
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>
41#include <cartobase/type/voxelrgb.h>
42#include <cartobase/type/voxelhsv.h>
43//----------------------------------------------------------------------------
44
45namespace 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<bool> >;
53 extern template class Creator<VolumeRef<int8_t> >;
54 extern template class Creator<VolumeRef<uint8_t> >;
55 // ### remove after everything has been moved to intN_t/uintN_t
56#if !defined(__sun__) || !defined(_CHAR_IS_SIGNED)
57 extern template class Creator<VolumeRef<char> >;
58#endif
59 extern template class Creator<VolumeRef<int16_t> >;
60 extern template class Creator<VolumeRef<uint16_t> >;
61 extern template class Creator<VolumeRef<int32_t> >;
62 extern template class Creator<VolumeRef<uint32_t> >;
63 extern template class Creator<VolumeRef<int64_t> >;
64 extern template class Creator<VolumeRef<uint64_t> >;
65 extern template class Creator<VolumeRef<float> >;
66 extern template class Creator<VolumeRef<double> >;
67 extern template class Creator<VolumeRef<cfloat> >;
68 extern template class Creator<VolumeRef<cdouble> >;
69 extern template class Creator<VolumeRef< std::map<int, float> > >;
70 extern template class Creator<VolumeRef<soma::VoxelRGB> >;
71 extern template class Creator<VolumeRef<soma::VoxelRGBA> >;
72 extern template class Creator<VolumeRef<soma::VoxelHSV> >;
73 extern template class Creator<VolumeRef<Point3df> >;
74 extern template class Creator<VolumeRef<Point3d> >;
75 extern template class Creator<VolumeRef<Point3dd> >;
76 extern template class Creator<VolumeRef<Point2d> >;
77 extern template class Creator<VolumeRef<AimsVector<float, 6> > >;
78#ifdef CARTO_LONG_IS_DISTINCT
79 extern template class Creator<VolumeRef<long> >;
80 extern template class Creator<VolumeRef<unsigned long> >;
81#endif
82
86#if !defined(__sun__) || !defined(_CHAR_IS_SIGNED)
88#endif
106#define CARTO_COMA ,
108#undef CARTO_COMA
109#ifdef CARTO_LONG_IS_DISTINCT
110 DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< long > )
111 DECLARE_GENERIC_OBJECT_TYPE( VolumeRef< unsigned long > )
112#endif
113
114} // namespace carto
115
116#endif // CARTODATA_VOLUME_VOLUMEREF_D_INSTANTIATE_H
Convenient handle for a Volume - this is normally the entry point for all volumes handling.
Definition volumeref.h:60
#define DECLARE_GENERIC_OBJECT_TYPE(T)