OpenVDB 7.0.0

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 {
18 OPENVDB_USE_VERSION_NAMESPACE
19 namespace OPENVDB_VERSION_NAME {
20
22 using BoolTree = tree::Tree4<bool, 5, 4, 3>::Type;
23 using DoubleTree = tree::Tree4<double, 5, 4, 3>::Type;
24 using FloatTree = tree::Tree4<float, 5, 4, 3>::Type;
25 using Int32Tree = tree::Tree4<int32_t, 5, 4, 3>::Type;
26 using Int64Tree = tree::Tree4<int64_t, 5, 4, 3>::Type;
27 using MaskTree = tree::Tree4<ValueMask, 5, 4, 3>::Type;
28 using StringTree = tree::Tree4<std::string, 5, 4, 3>::Type;
29 using UInt32Tree = tree::Tree4<uint32_t, 5, 4, 3>::Type;
30 using Vec2DTree = tree::Tree4<Vec2d, 5, 4, 3>::Type;
31 using Vec2ITree = tree::Tree4<Vec2i, 5, 4, 3>::Type;
32 using Vec2STree = tree::Tree4<Vec2s, 5, 4, 3>::Type;
33 using Vec3DTree = tree::Tree4<Vec3d, 5, 4, 3>::Type;
34 using Vec3ITree = tree::Tree4<Vec3i, 5, 4, 3>::Type;
35 using Vec3STree = tree::Tree4<Vec3f, 5, 4, 3>::Type;
36 using ScalarTree = FloatTree;
37 using TopologyTree = MaskTree;
38 using Vec3dTree = Vec3DTree;
39 using Vec3fTree = Vec3STree;
40 using VectorTree = Vec3fTree;
41
43 using BoolGrid = Grid<BoolTree>;
44 using DoubleGrid = Grid<DoubleTree>;
45 using FloatGrid = Grid<FloatTree>;
46 using Int32Grid = Grid<Int32Tree>;
47 using Int64Grid = Grid<Int64Tree>;
48 using MaskGrid = Grid<MaskTree>;
49 using StringGrid = Grid<StringTree>;
50 using Vec3DGrid = Grid<Vec3DTree>;
51 using Vec3IGrid = Grid<Vec3ITree>;
52 using Vec3SGrid = Grid<Vec3STree>;
53 using ScalarGrid = FloatGrid;
54 using TopologyGrid = MaskGrid;
55 using Vec3dGrid = Vec3DGrid;
56 using Vec3fGrid = Vec3SGrid;
57 using VectorGrid = Vec3fGrid;
58
60 OPENVDB_API void initialize();
61
63 OPENVDB_API void uninitialize();
64
65 } // namespace OPENVDB_VERSION_NAME
66 } // namespace openvdb
67
68 #endif // OPENVDB_OPENVDB_HAS_BEEN_INCLUDED
openvdb::v7_0::FloatTree
tree::Tree4< float, 5, 4, 3 >::Type FloatTree
Definition: openvdb.h:24
Metadata.h
openvdb::v7_0::Vec3fGrid
Vec3SGrid Vec3fGrid
Definition: openvdb.h:56
openvdb::v7_0::Vec3DTree
tree::Tree4< Vec3d, 5, 4, 3 >::Type Vec3DTree
Definition: openvdb.h:33
Types.h
Transform.h
openvdb::v7_0::MaskTree
tree::Tree4< ValueMask, 5, 4, 3 >::Type MaskTree
Definition: openvdb.h:27
Platform.h
Grid.h
openvdb::v7_0::Vec3STree
tree::Tree4< Vec3f, 5, 4, 3 >::Type Vec3STree
Definition: openvdb.h:35
openvdb::v7_0::Grid
Container class that associates a tree with a transform and metadata.
Definition: Grid.h:28
OPENVDB_API
#define OPENVDB_API
Helper macros for defining library symbol visibility.
Definition: Platform.h:230
openvdb::v7_0::FloatGrid
Grid< FloatTree > FloatGrid
Definition: openvdb.h:45
openvdb::v7_0::Vec3SGrid
Grid< Vec3STree > Vec3SGrid
Definition: openvdb.h:52
OPENVDB_USE_VERSION_NAMESPACE
#define OPENVDB_USE_VERSION_NAMESPACE
Definition: version.h:154
Maps.h
Tree.h
openvdb::v7_0::MaskGrid
Grid< MaskTree > MaskGrid
Definition: openvdb.h:48
openvdb::v7_0::uninitialize
OPENVDB_IMPORT void uninitialize()
Global deregistration of basic types.
OPENVDB_VERSION_NAME
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
Definition: version.h:102
openvdb::v7_0::Vec3DGrid
Grid< Vec3DTree > Vec3DGrid
Definition: openvdb.h:50
openvdb
Definition: Exceptions.h:13
openvdb::v7_0::Vec3fTree
Vec3STree Vec3fTree
Definition: openvdb.h:39
File.h
openvdb::v7_0::initialize
OPENVDB_IMPORT void initialize()
Global registration of basic types.
openvdb::v7_0::tree::Tree
Definition: Tree.h:176