OpenVDB  9.0.1
openvdb.h
Go to the documentation of this file.
1 // Copyright Contributors to the OpenVDB Project
2 // SPDX-License-Identifier: MPL-2.0
3 
4 #ifndef OPENVDB_OPENVDB_HAS_BEEN_INCLUDED
5 #define OPENVDB_OPENVDB_HAS_BEEN_INCLUDED
6 
7 #include "Platform.h"
8 #include "Types.h"
9 #include "Metadata.h"
10 #include "math/Maps.h"
11 #include "math/Transform.h"
12 #include "Grid.h"
13 #include "tree/Tree.h"
14 #include "io/File.h"
15 
16 
17 namespace openvdb {
19 namespace OPENVDB_VERSION_NAME {
20 
21 /// Common tree types
40 
41 /// Common grid types
56 
57 /// Global registration of basic types
58 OPENVDB_API void initialize();
59 
60 /// Global deregistration of basic types
62 
63 
64 // Deprecated types
65 /// @note Customizing the type of a VDB tree to an arbitrary class is still
66 /// supported however std::string Trees will, in the future, no longer be
67 /// provided as a native type by OpenVDB.
68 using StringTree OPENVDB_DEPRECATED_MESSAGE("Support for std::string Trees "
69  "as a native type will be dropped in future versions. Please feedback with any concerns.")
71 using StringGrid OPENVDB_DEPRECATED_MESSAGE("Support for std::string Grids "
72  "as a native type will be dropped in future versions. Please feedback with any concerns.")
74 
75 } // namespace OPENVDB_VERSION_NAME
76 } // namespace openvdb
77 
78 #endif // OPENVDB_OPENVDB_HAS_BEEN_INCLUDED
tree::Tree4< Vec3f, 5, 4, 3 >::Type Vec3STree
Definition: openvdb.h:34
#define OPENVDB_API
Definition: Platform.h:254
Vec3STree Vec3fTree
Definition: openvdb.h:38
Grid< Vec3DTree > Vec3DGrid
Definition: openvdb.h:48
Grid< FloatTree > FloatGrid
Definition: openvdb.h:44
Vec3SGrid Vec3fGrid
Definition: openvdb.h:54
OPENVDB_IMPORT void initialize()
Global registration of basic types.
tree::Tree4< ValueMask, 5, 4, 3 >::Type MaskTree
Definition: openvdb.h:27
tree::Tree4< Vec3d, 5, 4, 3 >::Type Vec3DTree
Definition: openvdb.h:32
Definition: Exceptions.h:13
Container class that associates a tree with a transform and metadata.
Definition: Grid.h:28
Definition: Tree.h:175
Grid< Vec3STree > Vec3SGrid
Definition: openvdb.h:50
OPENVDB_IMPORT void uninitialize()
Global deregistration of basic types.
Grid< MaskTree > MaskGrid
Definition: openvdb.h:47
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
Definition: version.h.in:116
#define OPENVDB_DEPRECATED_MESSAGE(msg)
Definition: Platform.h:123
tree::Tree4< float, 5, 4, 3 >::Type FloatTree
Definition: openvdb.h:24
#define OPENVDB_USE_VERSION_NAMESPACE
Definition: version.h.in:202