OpenVDB: openvdb.h Source File

OpenVDB 7.1.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_1::Vec3SGrid
Grid< Vec3STree > Vec3SGrid
Definition: openvdb.h:52
Metadata.h
Types.h
Transform.h
openvdb::v7_1::MaskGrid
Grid< MaskTree > MaskGrid
Definition: openvdb.h:48
Platform.h
openvdb::v7_1::Vec3fTree
Vec3STree Vec3fTree
Definition: openvdb.h:39
Grid.h
openvdb::v7_1::initialize
OPENVDB_IMPORT void initialize()
Global registration of basic types.
openvdb::v7_1::tree::Tree
Definition: Tree.h:175
openvdb::v7_1::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_1::FloatTree
tree::Tree4< float, 5, 4, 3 >::Type FloatTree
Definition: openvdb.h:24
openvdb::v7_1::Vec3DGrid
Grid< Vec3DTree > Vec3DGrid
Definition: openvdb.h:50
openvdb::v7_1::Vec3DTree
tree::Tree4< Vec3d, 5, 4, 3 >::Type Vec3DTree
Definition: openvdb.h:33
openvdb::v7_1::Vec3fGrid
Vec3SGrid Vec3fGrid
Definition: openvdb.h:56
OPENVDB_USE_VERSION_NAMESPACE
#define OPENVDB_USE_VERSION_NAMESPACE
Definition: version.h:146
Maps.h
Tree.h
openvdb::v7_1::uninitialize
OPENVDB_IMPORT void uninitialize()
Global deregistration of basic types.
openvdb::v7_1::Vec3STree
tree::Tree4< Vec3f, 5, 4, 3 >::Type Vec3STree
Definition: openvdb.h:35
OPENVDB_VERSION_NAME
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
Definition: version.h:94
openvdb::v7_1::FloatGrid
Grid< FloatTree > FloatGrid
Definition: openvdb.h:45
openvdb
Definition: Exceptions.h:13
openvdb::v7_1::MaskTree
tree::Tree4< ValueMask, 5, 4, 3 >::Type MaskTree
Definition: openvdb.h:27
File.h