43 #ifndef OPENVDB_VERSION_HAS_BEEN_INCLUDED
44 #define OPENVDB_VERSION_HAS_BEEN_INCLUDED
59 #define OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER 13
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 13
82 #define OPENVDB_LIBRARY_VERSION_STRING "13.0.0"
89 #define OPENVDB_LIBRARY_ABI_VERSION_STRING "13.0.0abi13"
93 #define OPENVDB_LIBRARY_VERSION_NUMBER 218103808
97 #define OPENVDB_PACKAGE_URL "https://github.com/sideeffects/openvdb_dev.git"
98 #define OPENVDB_PACKAGE_REVISION "ca51e1fb0a7ac9c22d163d743690e285499a23ec"
118 #if OPENVDB_ABI_VERSION_NUMBER == OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
119 #define OPENVDB_VERSION_NAME v13_0_sesi
121 #define OPENVDB_VERSION_NAME v13_0_sesi_abi13
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(HalfTree); \
186 OPENVDB_INSTANTIATE Function(points::PointDataTree); \
187 OPENVDB_INSTANTIATE Function(BoolTree); \
188 OPENVDB_INSTANTIATE Function(Int32Tree); \
189 OPENVDB_INSTANTIATE Function(Int64Tree); \
190 OPENVDB_INSTANTIATE Function(FloatTree); \
191 OPENVDB_INSTANTIATE Function(DoubleTree); \
192 OPENVDB_INSTANTIATE Function(Vec3STree); \
193 OPENVDB_INSTANTIATE Function(Vec3DTree); \
194 OPENVDB_INSTANTIATE Function(Vec3ITree);
201 #if OPENVDB_ABI_VERSION_NUMBER > OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
206 #if OPENVDB_ABI_VERSION_NUMBER == 14
207 #ifndef OPENVDB_USE_FUTURE_ABI_14
208 PRAGMA(
message(
"NOTE: ABI = 14 is still in active development and has not been finalized, "
209 "define OPENVDB_USE_FUTURE_ABI_14 to suppress this message"))
212 #error expected OPENVDB_ABI_VERSION_NUMBER <= OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
220 #ifndef OPENVDB_USE_DEPRECATED_ABI_11
221 #if OPENVDB_ABI_VERSION_NUMBER == 11
222 PRAGMA(
message(
"NOTE: ABI = 11 is deprecated, define OPENVDB_USE_DEPRECATED_ABI_11 "
223 "to suppress this message"))
226 #ifndef OPENVDB_USE_DEPRECATED_ABI_12
227 #if OPENVDB_ABI_VERSION_NUMBER == 12
228 PRAGMA(
message(
"NOTE: ABI = 12 is deprecated, define OPENVDB_USE_DEPRECATED_ABI_12 "
229 "to suppress this message"))
241 #ifdef OPENVDB_REQUIRE_VERSION_NAME
242 #define OPENVDB_USE_VERSION_NAMESPACE
246 #define OPENVDB_USE_VERSION_NAMESPACE \
247 namespace OPENVDB_VERSION_NAME {} \
248 using namespace OPENVDB_VERSION_NAME;
317 #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.