43 #ifndef OPENVDB_VERSION_HAS_BEEN_INCLUDED
44 #define OPENVDB_VERSION_HAS_BEEN_INCLUDED
59 #define OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER 12
61 #define OPENVDB_LIBRARY_MINOR_VERSION_NUMBER 0
63 #define OPENVDB_LIBRARY_PATCH_VERSION_NUMBER 1
71 #ifndef OPENVDB_ABI_VERSION_NUMBER
74 #define OPENVDB_ABI_VERSION_NUMBER 12
82 #define OPENVDB_LIBRARY_VERSION_STRING "12.0.1"
89 #define OPENVDB_LIBRARY_ABI_VERSION_STRING "12.0.1abi12"
93 #define OPENVDB_LIBRARY_VERSION_NUMBER 201326593
97 #define OPENVDB_PACKAGE_URL "https://github.com/sideeffects/openvdb_dev.git"
98 #define OPENVDB_PACKAGE_REVISION "bade7829a098a3e4066740cfc49588ad7cf668c7"
118 #if OPENVDB_ABI_VERSION_NUMBER == OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
119 #define OPENVDB_VERSION_NAME v12_0_sesi
121 #define OPENVDB_VERSION_NAME v12_0_sesi_abi12
125 #ifndef OPENVDB_USE_IMATH_HALF
132 #ifndef OPENVDB_USE_BLOSC
133 #define OPENVDB_USE_BLOSC
137 #ifndef OPENVDB_USE_ZLIB
138 #define OPENVDB_USE_ZLIB
142 #ifndef OPENVDB_USE_DELAYED_LOADING
143 #define OPENVDB_USE_DELAYED_LOADING
147 #ifndef OPENVDB_ENABLE_ASSERTS
152 #ifndef OPENVDB_USE_EXPLICIT_INSTANTIATION
153 #define OPENVDB_USE_EXPLICIT_INSTANTIATION
157 #define OPENVDB_INSTANTIATE extern template OPENVDB_TEMPLATE_IMPORT
158 #define OPENVDB_INSTANTIATE_CLASS extern template class OPENVDB_TEMPLATE_IMPORT
159 #define OPENVDB_INSTANTIATE_STRUCT extern template struct OPENVDB_TEMPLATE_IMPORT
162 #define OPENVDB_REAL_TREE_INSTANTIATE(Function) \
163 OPENVDB_INSTANTIATE Function(FloatTree); \
164 OPENVDB_INSTANTIATE Function(DoubleTree);
165 #define OPENVDB_NUMERIC_TREE_INSTANTIATE(Function) \
166 OPENVDB_INSTANTIATE Function(Int32Tree); \
167 OPENVDB_INSTANTIATE Function(Int64Tree); \
168 OPENVDB_INSTANTIATE Function(FloatTree); \
169 OPENVDB_INSTANTIATE Function(DoubleTree);
170 #define OPENVDB_VEC3_TREE_INSTANTIATE(Function) \
171 OPENVDB_INSTANTIATE Function(Vec3STree); \
172 OPENVDB_INSTANTIATE Function(Vec3DTree); \
173 OPENVDB_INSTANTIATE Function(Vec3ITree);
174 #define OPENVDB_VOLUME_TREE_INSTANTIATE(Function) \
175 OPENVDB_INSTANTIATE Function(BoolTree); \
176 OPENVDB_INSTANTIATE Function(Int32Tree); \
177 OPENVDB_INSTANTIATE Function(Int64Tree); \
178 OPENVDB_INSTANTIATE Function(FloatTree); \
179 OPENVDB_INSTANTIATE Function(DoubleTree); \
180 OPENVDB_INSTANTIATE Function(Vec3STree); \
181 OPENVDB_INSTANTIATE Function(Vec3DTree); \
182 OPENVDB_INSTANTIATE Function(Vec3ITree);
183 #define OPENVDB_ALL_TREE_INSTANTIATE(Function) \
184 OPENVDB_INSTANTIATE Function(MaskTree); \
185 OPENVDB_INSTANTIATE Function(points::PointDataTree); \
186 OPENVDB_INSTANTIATE Function(BoolTree); \
187 OPENVDB_INSTANTIATE Function(Int32Tree); \
188 OPENVDB_INSTANTIATE Function(Int64Tree); \
189 OPENVDB_INSTANTIATE Function(FloatTree); \
190 OPENVDB_INSTANTIATE Function(DoubleTree); \
191 OPENVDB_INSTANTIATE Function(Vec3STree); \
192 OPENVDB_INSTANTIATE Function(Vec3DTree); \
193 OPENVDB_INSTANTIATE Function(Vec3ITree);
200 #if OPENVDB_ABI_VERSION_NUMBER > OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
205 #if OPENVDB_ABI_VERSION_NUMBER == 13
206 #ifndef OPENVDB_USE_FUTURE_ABI_13
207 PRAGMA(
message(
"NOTE: ABI = 13 is still in active development and has not been finalized, "
208 "define OPENVDB_USE_FUTURE_ABI_13 to suppress this message"))
211 #error expected OPENVDB_ABI_VERSION_NUMBER <= OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
219 #ifndef OPENVDB_USE_DEPRECATED_ABI_10
220 #if OPENVDB_ABI_VERSION_NUMBER == 10
221 PRAGMA(
message(
"NOTE: ABI = 10 is deprecated, define OPENVDB_USE_DEPRECATED_ABI_10 "
222 "to suppress this message"))
225 #ifndef OPENVDB_USE_DEPRECATED_ABI_11
226 #if OPENVDB_ABI_VERSION_NUMBER == 11
227 PRAGMA(
message(
"NOTE: ABI = 11 is deprecated, define OPENVDB_USE_DEPRECATED_ABI_11 "
228 "to suppress this message"))
240 #ifdef OPENVDB_REQUIRE_VERSION_NAME
241 #define OPENVDB_USE_VERSION_NAMESPACE
245 #define OPENVDB_USE_VERSION_NAMESPACE \
246 namespace OPENVDB_VERSION_NAME {} \
247 using namespace OPENVDB_VERSION_NAME;
315 #endif // OPENVDB_VERSION_HAS_BEEN_INCLUDED
#define OPENVDB_LIBRARY_MINOR_VERSION_NUMBER
Library major, minor and patch version numbers.
GLuint GLsizei const GLchar * message
constexpr const char * getLibraryAbiVersionString()
Return a library version number string of the form "<major>.<minor>.<patch>abi<abi>".
const int32_t OPENVDB_MAGIC
The magic number is stored in the first four bytes of every VDB file.
const uint32_t OPENVDB_LIBRARY_PATCH_VERSION
#define OPENVDB_LIBRARY_PATCH_VERSION_NUMBER
Library major, minor and patch version numbers.
#define OPENVDB_LIBRARY_VERSION_STRING
Library version number string of the form "<major>.<minor>.<patch>".
#define OPENVDB_USE_VERSION_NAMESPACE
constexpr const char * getPackageRevision()
#define OPENVDB_PACKAGE_URL
Where this version was compiled from if it comes from a git repo.
#define OPENVDB_ABI_VERSION_NUMBER
The ABI version that OpenVDB was built with.
#define OPENVDB_LIBRARY_VERSION_NUMBER
Library version number as a packed integer ("%02x%02x%04x", major, minor, patch)
const uint32_t OPENVDB_LIBRARY_VERSION
constexpr const char * getPackageUrl()
VersionId(uint32_t major, uint32_t minor)
const uint32_t OPENVDB_LIBRARY_MAJOR_VERSION
#define OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
Library major, minor and patch version numbers.
#define OPENVDB_PACKAGE_REVISION
#define OPENVDB_LIBRARY_ABI_VERSION_STRING
Library version number string of the form "<major>.<minor>.<patch>abi<abi>".
const uint32_t OPENVDB_LIBRARY_MINOR_VERSION
const uint32_t OPENVDB_ABI_VERSION
constexpr const char * getLibraryVersionString()
Return a library version number string of the form "<major>.<minor>.<patch>".
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
const uint32_t OPENVDB_FILE_VERSION
The current version number of the VDB file format.