46 #include <pcl/pcl_macros.h>
54 using uint8_t PCL_DEPRECATED(1, 12,
"use std::uint8_t instead of pcl::uint8_t") = std::uint8_t;
55 using int8_t PCL_DEPRECATED(1, 12,
"use std::int8_t instead of pcl::int8_t") = std::int8_t;
56 using uint16_t PCL_DEPRECATED(1, 12,
"use std::uint16_t instead of pcl::uint16_t") = std::uint16_t;
57 using int16_t PCL_DEPRECATED(1, 12,
"use std::uint16_t instead of pcl::int16_t") = std::int16_t;
58 using uint32_t PCL_DEPRECATED(1, 12,
"use std::uint32_t instead of pcl::uint32_t") = std::uint32_t;
59 using int32_t PCL_DEPRECATED(1, 12,
"use std::int32_t instead of pcl::int32_t") = std::int32_t;
60 using uint64_t PCL_DEPRECATED(1, 12,
"use std::uint64_t instead of pcl::uint64_t") = std::uint64_t;
61 using int64_t PCL_DEPRECATED(1, 12,
"use std::int64_t instead of pcl::int64_t") = std::int64_t;
62 using int_fast16_t PCL_DEPRECATED(1, 12,
"use std::int_fast16_t instead of pcl::int_fast16_t") = std::int_fast16_t;
66 #ifndef PCL_INDEX_SIZE
67 #if PCL_MINOR_VERSION <= 11
69 #define PCL_INDEX_SIZE (sizeof(int) * 8)
71 #define PCL_INDEX_SIZE 32
72 #endif // PCL_MINOR_VERSION
73 #endif // PCL_INDEX_SIZE
75 #ifndef PCL_INDEX_SIGNED
76 #define PCL_INDEX_SIGNED true
85 template <std::
size_t Bits,
bool Signed = true>
92 template <std::
size_t Bits,
bool Signed = true>
137 static_assert(!std::is_void<index_t>::value,
"`index_t` can't have type `void`");
142 using Indices = std::vector<index_t>;
int_type::type refers to an integral type that satisfies template parameters
constexpr std::uint8_t index_type_size
number of bits in PCL's index type
detail::int_type_t< detail::index_type_size, detail::index_type_signed > index_t
Type used for an index in PCL.
typename int_type< Bits, Signed >::type int_type_t
helper type to use for int_type::type
std::int_fast16_t int_fast16_t
constexpr bool index_type_signed
signed/unsigned nature of PCL's index type For PCL 1.11, please use PCL_INDEX_SIGNED to choose a type...