OpenVDB  0.104.0
Static Public Member Functions | List of all members
MeanCurvature< MapType, DiffScheme2, DiffScheme1 > Struct Template Reference

Compute the Mean Curvature. More...

#include <Operators.h>

Static Public Member Functions

template<typename Accessor >
static void compute (const MapType &map, const Accessor &grid, const Coord &ijk, double &alpha, double &beta)
 
template<typename Accessor >
static Accessor::ValueType result (const MapType &map, const Accessor &grid, const Coord &ijk)
 
template<typename Accessor >
static Accessor::ValueType normGrad (const MapType &map, const Accessor &grid, const Coord &ijk)
 
template<typename StencilT >
static void compute (const MapType &map, const StencilT &stencil, double &alpha, double &beta)
 
template<typename StencilT >
static StencilT::ValueType result (const MapType &map, const StencilT stencil)
 
template<typename StencilT >
static StencilT::ValueType normGrad (const MapType &map, const StencilT stencil)
 

Detailed Description

template<typename MapType, DDScheme DiffScheme2, DScheme DiffScheme1>
struct openvdb::v0_104_0::math::MeanCurvature< MapType, DiffScheme2, DiffScheme1 >

Compute the Mean Curvature.

Returns
the mean curvature in two parts, alpha is the numerator in Div( Grad phi / Norm(Grad phi) ), and beta is Norm(Grad phi).

Member Function Documentation

static void compute ( const MapType &  map,
const Accessor &  grid,
const Coord ijk,
double &  alpha,
double &  beta 
)
inlinestatic
static void compute ( const MapType &  map,
const StencilT &  stencil,
double &  alpha,
double &  beta 
)
inlinestatic
static Accessor::ValueType normGrad ( const MapType &  map,
const Accessor &  grid,
const Coord ijk 
)
inlinestatic
static StencilT::ValueType normGrad ( const MapType &  map,
const StencilT  stencil 
)
inlinestatic
static Accessor::ValueType result ( const MapType &  map,
const Accessor &  grid,
const Coord ijk 
)
inlinestatic
static StencilT::ValueType result ( const MapType &  map,
const StencilT  stencil 
)
inlinestatic

The documentation for this struct was generated from the following file: