HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VelocityFields.h File Reference

Defines two simple wrapper classes for advection velocity fields as well as VelocitySampler and VelocityIntegrator. More...

#include <tbb/parallel_reduce.h>
#include <openvdb/Platform.h>
#include "Interpolation.h"
#include <openvdb/math/FiniteDifference.h>
#include <hboost/math/constants/constants.hpp>
+ Include dependency graph for VelocityFields.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openvdb::OPENVDB_VERSION_NAME::tools::DiscreteField< VelGridT, Interpolator >
 Thin wrapper class for a velocity grid. More...
 
class  openvdb::OPENVDB_VERSION_NAME::tools::EnrightField< ScalarT >
 Analytical, divergence-free and periodic velocity field. More...
 
class  openvdb::OPENVDB_VERSION_NAME::tools::VelocitySampler< GridT, Staggered, Order >
 
class  openvdb::OPENVDB_VERSION_NAME::tools::VelocityIntegrator< GridT, Staggered, SampleOrder >
 Performs Runge-Kutta time integration of variable order in a static velocity field. More...
 

Namespaces

 openvdb
 
 openvdb::OPENVDB_VERSION_NAME
 
 openvdb::OPENVDB_VERSION_NAME::tools
 

Detailed Description

Defines two simple wrapper classes for advection velocity fields as well as VelocitySampler and VelocityIntegrator.

Author
Ken Museth

DiscreteField wraps a velocity grid and EnrightField is mostly intended for debugging (it's an analytical divergence free and periodic field). They both share the same API required by the LevelSetAdvection class defined in LevelSetAdvect.h. Thus, any class with this API should work with LevelSetAdvection.

Warning
Note the Field wrapper classes below always assume the velocity is represented in the world-frame of reference. For DiscreteField this implies the input grid must contain velocities in world coordinates.

Definition in file VelocityFields.h.