OpenVDB  2.1.0
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions | Variables
Types.h File Reference
#include "version.h"
#include "Platform.h"
#include <OpenEXR/half.h>
#include <openvdb/math/Math.h>
#include <openvdb/math/BBox.h>
#include <openvdb/math/Quat.h>
#include <openvdb/math/Vec2.h>
#include <openvdb/math/Vec3.h>
#include <openvdb/math/Vec4.h>
#include <openvdb/math/Mat3.h>
#include <openvdb/math/Mat4.h>
#include <openvdb/math/Coord.h>
#include <openvdb/math/Hermite.h>

Go to the source code of this file.

Classes

struct  VecTraits< T >
 
struct  VecTraits< math::Vec2< T > >
 
struct  VecTraits< math::Vec3< T > >
 
struct  VecTraits< math::Vec4< T > >
 
class  CombineArgs< ValueType >
 This struct collects both input and output arguments to "grid combiner" functors used with the tree::TypedGrid::combineExtended() and combine2Extended() methods. ValueType is the value type of the two grids being combined. More...
 
struct  SwappedCombineOp< ValueType, CombineOp >
 
class  ShallowCopy
 
class  TopologyCopy
 

Namespaces

 openvdb
 
 openvdb::v2_1_0
 

Macros

#define OPENVDB_START_THREADSAFE_STATIC_REFERENCE
 
#define OPENVDB_FINISH_THREADSAFE_STATIC_REFERENCE
 
#define OPENVDB_START_THREADSAFE_STATIC_WRITE
 
#define OPENVDB_FINISH_THREADSAFE_STATIC_WRITE
 
#define OPENVDB_START_THREADSAFE_STATIC_ADDRESS
 
#define OPENVDB_FINISH_THREADSAFE_STATIC_ADDRESS
 
#define OPENVDB_START_NON_THREADSAFE_STATIC_REFERENCE
 
#define OPENVDB_FINISH_NON_THREADSAFE_STATIC_REFERENCE
 
#define OPENVDB_START_NON_THREADSAFE_STATIC_WRITE
 
#define OPENVDB_FINISH_NON_THREADSAFE_STATIC_WRITE
 
#define OPENVDB_START_NON_THREADSAFE_STATIC_ADDRESS
 
#define OPENVDB_FINISH_NON_THREADSAFE_STATIC_ADDRESS
 
#define OPENVDB_THREADSAFE_STATIC_REFERENCE(CODE)   CODE
 
#define OPENVDB_THREADSAFE_STATIC_WRITE(CODE)   CODE
 
#define OPENVDB_THREADSAFE_STATIC_ADDRESS(CODE)   CODE
 

Typedefs

typedef uint32_t Index32
 
typedef uint64_t Index64
 
typedef Index32 Index
 
typedef int16_t Int16
 
typedef int32_t Int32
 
typedef int64_t Int64
 
typedef Int32 Int
 
typedef unsigned char Byte
 
typedef double Real
 
typedef math::Vec2< Real > Vec2R
 
typedef math::Vec2< Index32 > Vec2I
 
typedef math::Vec2< float > Vec2f
 
typedef math::Vec2< half > Vec2H
 
typedef math::Vec3< Real > Vec3R
 
typedef math::Vec3< Index32 > Vec3I
 
typedef math::Vec3< float > Vec3f
 
typedef math::Vec3< half > Vec3H
 
typedef math::BBox< Vec3d > BBoxd
 
typedef math::Vec4< Real > Vec4R
 
typedef math::Vec4< Index32 > Vec4I
 
typedef math::Vec4< float > Vec4f
 
typedef math::Vec4< half > Vec4H
 
typedef math::Mat3< Real > Mat3R
 
typedef math::Mat4< Real > Mat4R
 
typedef math::Mat4< double > Mat4d
 
typedef math::Mat4< float > Mat4s
 
typedef math::Hermite Hermite
 
typedef math::Quat< Real > QuatR
 

Enumerations

enum  GridClass { GRID_UNKNOWN = 0, GRID_LEVEL_SET, GRID_FOG_VOLUME, GRID_STAGGERED }
 
enum  { NUM_GRID_CLASSES = GRID_STAGGERED + 1 }
 
enum  VecType {
  VEC_INVARIANT = 0, VEC_COVARIANT, VEC_COVARIANT_NORMALIZE, VEC_CONTRAVARIANT_RELATIVE,
  VEC_CONTRAVARIANT_ABSOLUTE
}
 
enum  { NUM_VEC_TYPES = VEC_CONTRAVARIANT_ABSOLUTE + 1 }
 
enum  MergePolicy { MERGE_ACTIVE_STATES = 0, MERGE_NODES, MERGE_ACTIVE_STATES_AND_NODES }
 
enum  CopyPolicy { CP_NEW, CP_SHARE, CP_COPY }
 

Functions

template<typename T >
const char * typeNameAsString ()
 
template<>
const char * typeNameAsString< bool > ()
 
template<>
const char * typeNameAsString< float > ()
 
template<>
const char * typeNameAsString< double > ()
 
template<>
const char * typeNameAsString< int32_t > ()
 
template<>
const char * typeNameAsString< uint32_t > ()
 
template<>
const char * typeNameAsString< int64_t > ()
 
template<>
const char * typeNameAsString< Hermite > ()
 
template<>
const char * typeNameAsString< Vec2i > ()
 
template<>
const char * typeNameAsString< Vec2s > ()
 
template<>
const char * typeNameAsString< Vec2d > ()
 
template<>
const char * typeNameAsString< Vec3i > ()
 
template<>
const char * typeNameAsString< Vec3f > ()
 
template<>
const char * typeNameAsString< Vec3d > ()
 
template<>
const char * typeNameAsString< std::string > ()
 
template<>
const char * typeNameAsString< Mat4s > ()
 
template<>
const char * typeNameAsString< Mat4d > ()
 

Variables

static const Real LEVEL_SET_HALF_WIDTH = 3
 

Macro Definition Documentation

#define OPENVDB_FINISH_NON_THREADSAFE_STATIC_ADDRESS
#define OPENVDB_FINISH_NON_THREADSAFE_STATIC_REFERENCE
#define OPENVDB_FINISH_NON_THREADSAFE_STATIC_WRITE
#define OPENVDB_FINISH_THREADSAFE_STATIC_ADDRESS
#define OPENVDB_FINISH_THREADSAFE_STATIC_REFERENCE
#define OPENVDB_FINISH_THREADSAFE_STATIC_WRITE
#define OPENVDB_START_NON_THREADSAFE_STATIC_ADDRESS
#define OPENVDB_START_NON_THREADSAFE_STATIC_REFERENCE
#define OPENVDB_START_NON_THREADSAFE_STATIC_WRITE
#define OPENVDB_START_THREADSAFE_STATIC_ADDRESS
#define OPENVDB_START_THREADSAFE_STATIC_REFERENCE
#define OPENVDB_START_THREADSAFE_STATIC_WRITE
#define OPENVDB_THREADSAFE_STATIC_ADDRESS (   CODE)    CODE
#define OPENVDB_THREADSAFE_STATIC_REFERENCE (   CODE)    CODE
#define OPENVDB_THREADSAFE_STATIC_WRITE (   CODE)    CODE