43 #ifndef OPENVDB_VERSION_HAS_BEEN_INCLUDED
44 #define OPENVDB_VERSION_HAS_BEEN_INCLUDED
59 #define OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER 11
61 #define OPENVDB_LIBRARY_MINOR_VERSION_NUMBER 0
63 #define OPENVDB_LIBRARY_PATCH_VERSION_NUMBER 0
71 #ifndef OPENVDB_ABI_VERSION_NUMBER
74 #define OPENVDB_ABI_VERSION_NUMBER 11
82 #define OPENVDB_LIBRARY_VERSION_STRING "11.0.0"
89 #define OPENVDB_LIBRARY_ABI_VERSION_STRING "11.0.0abi11"
93 #define OPENVDB_LIBRARY_VERSION_NUMBER 184549376
97 #define OPENVDB_PACKAGE_URL "https://github.com/sideeffects/openvdb_dev.git"
98 #define OPENVDB_PACKAGE_REVISION "1ad2266321b982b218e76625fdf6514327104264"
118 #if OPENVDB_ABI_VERSION_NUMBER == OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
119 #define OPENVDB_VERSION_NAME v11_0_sesi
121 #define OPENVDB_VERSION_NAME v11_0_sesi_abi11
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_USE_EXPLICIT_INSTANTIATION
148 #define OPENVDB_USE_EXPLICIT_INSTANTIATION
152 #define OPENVDB_INSTANTIATE extern template OPENVDB_TEMPLATE_IMPORT
153 #define OPENVDB_INSTANTIATE_CLASS extern template class OPENVDB_TEMPLATE_IMPORT
154 #define OPENVDB_INSTANTIATE_STRUCT extern template struct OPENVDB_TEMPLATE_IMPORT
157 #define OPENVDB_REAL_TREE_INSTANTIATE(Function) \
158 OPENVDB_INSTANTIATE Function(FloatTree); \
159 OPENVDB_INSTANTIATE Function(DoubleTree);
160 #define OPENVDB_NUMERIC_TREE_INSTANTIATE(Function) \
161 OPENVDB_INSTANTIATE Function(Int32Tree); \
162 OPENVDB_INSTANTIATE Function(Int64Tree); \
163 OPENVDB_INSTANTIATE Function(FloatTree); \
164 OPENVDB_INSTANTIATE Function(DoubleTree);
165 #define OPENVDB_VEC3_TREE_INSTANTIATE(Function) \
166 OPENVDB_INSTANTIATE Function(Vec3STree); \
167 OPENVDB_INSTANTIATE Function(Vec3DTree); \
168 OPENVDB_INSTANTIATE Function(Vec3ITree);
169 #define OPENVDB_VOLUME_TREE_INSTANTIATE(Function) \
170 OPENVDB_INSTANTIATE Function(BoolTree); \
171 OPENVDB_INSTANTIATE Function(Int32Tree); \
172 OPENVDB_INSTANTIATE Function(Int64Tree); \
173 OPENVDB_INSTANTIATE Function(FloatTree); \
174 OPENVDB_INSTANTIATE Function(DoubleTree); \
175 OPENVDB_INSTANTIATE Function(Vec3STree); \
176 OPENVDB_INSTANTIATE Function(Vec3DTree); \
177 OPENVDB_INSTANTIATE Function(Vec3ITree);
178 #define OPENVDB_ALL_TREE_INSTANTIATE(Function) \
179 OPENVDB_INSTANTIATE Function(MaskTree); \
180 OPENVDB_INSTANTIATE Function(points::PointDataTree); \
181 OPENVDB_INSTANTIATE Function(BoolTree); \
182 OPENVDB_INSTANTIATE Function(Int32Tree); \
183 OPENVDB_INSTANTIATE Function(Int64Tree); \
184 OPENVDB_INSTANTIATE Function(FloatTree); \
185 OPENVDB_INSTANTIATE Function(DoubleTree); \
186 OPENVDB_INSTANTIATE Function(Vec3STree); \
187 OPENVDB_INSTANTIATE Function(Vec3DTree); \
188 OPENVDB_INSTANTIATE Function(Vec3ITree);
194 #if OPENVDB_ABI_VERSION_NUMBER > OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
199 #if OPENVDB_ABI_VERSION_NUMBER == 12
200 #ifndef OPENVDB_USE_FUTURE_ABI_12
201 PRAGMA(
message(
"NOTE: ABI = 12 is still in active development and has not been finalized, "
202 "define OPENVDB_USE_FUTURE_ABI_11 to suppress this message"))
205 #error expected OPENVDB_ABI_VERSION_NUMBER <= OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
213 #ifndef OPENVDB_USE_DEPRECATED_ABI_9
214 #if OPENVDB_ABI_VERSION_NUMBER == 9
215 PRAGMA(
message(
"NOTE: ABI = 9 is deprecated, define OPENVDB_USE_DEPRECATED_ABI_9 "
216 "to suppress this message"))
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"))
234 #ifdef OPENVDB_REQUIRE_VERSION_NAME
235 #define OPENVDB_USE_VERSION_NAMESPACE
239 #define OPENVDB_USE_VERSION_NAMESPACE \
240 namespace OPENVDB_VERSION_NAME {} \
241 using namespace OPENVDB_VERSION_NAME;
309 #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.