OpenVDB  9.1.0
Namespaces | Typedefs | Functions
openvdb.h File Reference
#include "Platform.h"
#include "Types.h"
#include "TypeList.h"
#include "Metadata.h"
#include "math/Maps.h"
#include "math/Transform.h"
#include "Grid.h"
#include "tree/Tree.h"
#include "points/PointDataGrid.h"
#include "io/File.h"

Go to the source code of this file.

Namespaces

 openvdb
 
 openvdb::v9_1
 
 openvdb::v9_1::io
 
 openvdb::v9_1::internal
 

Typedefs

using BoolTree = tree::Tree4< bool, 5, 4, 3 >::Type
 Common tree types. More...
 
using DoubleTree = tree::Tree4< double, 5, 4, 3 >::Type
 
using FloatTree = tree::Tree4< float, 5, 4, 3 >::Type
 
using Int32Tree = tree::Tree4< int32_t, 5, 4, 3 >::Type
 
using Int64Tree = tree::Tree4< int64_t, 5, 4, 3 >::Type
 
using MaskTree = tree::Tree4< ValueMask, 5, 4, 3 >::Type
 
using UInt32Tree = tree::Tree4< uint32_t, 5, 4, 3 >::Type
 
using Vec2DTree = tree::Tree4< Vec2d, 5, 4, 3 >::Type
 
using Vec2ITree = tree::Tree4< Vec2i, 5, 4, 3 >::Type
 
using Vec2STree = tree::Tree4< Vec2s, 5, 4, 3 >::Type
 
using Vec3DTree = tree::Tree4< Vec3d, 5, 4, 3 >::Type
 
using Vec3ITree = tree::Tree4< Vec3i, 5, 4, 3 >::Type
 
using Vec3STree = tree::Tree4< Vec3f, 5, 4, 3 >::Type
 
using ScalarTree = FloatTree
 
using TopologyTree = MaskTree
 
using Vec3dTree = Vec3DTree
 
using Vec3fTree = Vec3STree
 
using VectorTree = Vec3fTree
 
using BoolGrid = Grid< BoolTree >
 Common grid types. More...
 
using DoubleGrid = Grid< DoubleTree >
 
using FloatGrid = Grid< FloatTree >
 
using Int32Grid = Grid< Int32Tree >
 
using Int64Grid = Grid< Int64Tree >
 
using MaskGrid = Grid< MaskTree >
 
using Vec3DGrid = Grid< Vec3DTree >
 
using Vec3IGrid = Grid< Vec3ITree >
 
using Vec3SGrid = Grid< Vec3STree >
 
using ScalarGrid = FloatGrid
 
using TopologyGrid = MaskGrid
 
using Vec3dGrid = Vec3DGrid
 
using Vec3fGrid = Vec3SGrid
 
using VectorGrid = Vec3fGrid
 
template<typename T >
using ToTreeType = typename T::TreeType
 
using MapTypes = TypeList< math::AffineMap, math::UnitaryMap, math::ScaleMap, math::UniformScaleMap, math::TranslationMap, math::ScaleTranslateMap, math::UniformScaleTranslateMap, math::NonlinearFrustumMap >
 The Map types which OpenVDB will register by default. More...
 
using MetaTypes = TypeList< BoolMetadata, DoubleMetadata, FloatMetadata, Int32Metadata, Int64Metadata, StringMetadata, Vec2IMetadata, Vec2SMetadata, Vec2DMetadata, Vec3IMetadata, Vec3SMetadata, Vec3DMetadata, Vec4IMetadata, Vec4SMetadata, Vec4DMetadata, Mat4SMetadata, Mat4DMetadata, io::DelayedLoadMetadata >
 The Metadata types which OpenVDB will register by default. More...
 
using StringTree = tree::Tree4< std::string, 5, 4, 3 >::Type
 
using StringGrid = Grid< tree::Tree4< std::string, 5, 4, 3 >::Type >
 
Lists of native Grid Types

The floating point Grid types which OpenVDB will register by default.

using RealGridTypes = TypeList< FloatGrid, DoubleGrid >
 The integer Grid types which OpenVDB will register by default. More...
 
using IntegerGridTypes = TypeList< Int32Grid, Int64Grid >
 The integer Grid types which OpenVDB will register by default. More...
 
using NumericGridTypes = RealGridTypes::Append< IntegerGridTypes >
 
using Vec3GridTypes = TypeList< Vec3IGrid, Vec3SGrid, Vec3DGrid >
 The Vec3 Grid types which OpenVDB will register by default. More...
 
using GridTypes = NumericGridTypes::Append< Vec3GridTypes >::Append< tools::PointIndexGrid >::Append< points::PointDataGrid >::Append< BoolGrid, MaskGrid >
 The Grid types which OpenVDB will register by default. More...
 
Lists of native Tree Types
using RealTreeTypes = RealGridTypes::Transform< internal::ToTreeType >
 
using IntegerTreeTypes = IntegerGridTypes::Transform< internal::ToTreeType >
 
using NumericTreeTypes = NumericGridTypes::Transform< internal::ToTreeType >
 
using Vec3TreeTypes = Vec3GridTypes::Transform< internal::ToTreeType >
 
using TreeTypes = GridTypes::Transform< internal::ToTreeType >
 
Lists of native TypedAttributeArray Types (for PointDataGrids)

The floating point attribute array types which OpenVDB will register by default.

using RealAttributeTypes = TypeList< points::TypedAttributeArray< float >, points::TypedAttributeArray< double >, points::TypedAttributeArray< float, points::TruncateCodec >, points::TypedAttributeArray< float, points::FixedPointCodec< true, points::UnitRange >>, points::TypedAttributeArray< float, points::FixedPointCodec< false, points::UnitRange >> >
 The integer attribute array types which OpenVDB will register by default. More...
 
using IntegerAttributeTypes = TypeList< points::TypedAttributeArray< int8_t >, points::TypedAttributeArray< int16_t >, points::TypedAttributeArray< int32_t >, points::TypedAttributeArray< int64_t > >
 The integer attribute array types which OpenVDB will register by default. More...
 
using NumericAttributeTypes = RealAttributeTypes::Append< IntegerAttributeTypes >
 
using Vec3AttributeTypes = TypeList< points::TypedAttributeArray< math::Vec3< int32_t >>, points::TypedAttributeArray< math::Vec3< float >>, points::TypedAttributeArray< math::Vec3< double >>, points::TypedAttributeArray< math::Vec3< float >, points::TruncateCodec >, points::TypedAttributeArray< math::Vec3< float >, points::FixedPointCodec< true, points::PositionRange >>, points::TypedAttributeArray< math::Vec3< float >, points::FixedPointCodec< false, points::PositionRange >>, points::TypedAttributeArray< math::Vec3< float >, points::FixedPointCodec< true, points::UnitRange >>, points::TypedAttributeArray< math::Vec3< float >, points::FixedPointCodec< false, points::UnitRange >>, points::TypedAttributeArray< math::Vec3< float >, points::UnitVecCodec > >
 The Vec3 attribute array types which OpenVDB will register by default. More...
 
using Mat3AttributeTypes = TypeList< points::TypedAttributeArray< math::Mat3< float >>, points::TypedAttributeArray< math::Mat3< double >> >
 The Mat3 attribute array types which OpenVDB will register by default. More...
 
using Mat4AttributeTypes = TypeList< points::TypedAttributeArray< math::Mat4< float >>, points::TypedAttributeArray< math::Mat4< double >> >
 The Mat4 attribute array types which OpenVDB will register by default. More...
 
using QuatAttributeTypes = TypeList< points::TypedAttributeArray< math::Quat< float >>, points::TypedAttributeArray< math::Quat< double >> >
 The Quat attribute array types which OpenVDB will register by default. More...
 
using AttributeTypes = NumericAttributeTypes::Append< Vec3AttributeTypes >::Append< Mat3AttributeTypes >::Append< Mat4AttributeTypes >::Append< QuatAttributeTypes >::Append< points::GroupAttributeArray >::Append< points::StringAttributeArray >::Append< points::TypedAttributeArray< bool >>
 The attribute array types which OpenVDB will register by default. More...
 

Functions

OPENVDB_IMPORT void initialize ()
 Global registration of native Grid, Transform, Metadata and Point attribute types. Also initializes blosc (if enabled). More...
 
OPENVDB_IMPORT void uninitialize ()
 Global deregistration of native Grid, Transform, Metadata and Point attribute types. More...