HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
openvdb::OPENVDB_VERSION_NAME::math::MeanCurvature< MapType, DiffScheme2, DiffScheme1 > Struct Template Reference

Compute the mean curvature. More...

#include <Operators.h>

Static Public Member Functions

template<typename Accessor >
static bool compute (const MapType &map, const Accessor &grid, const Coord &ijk, double &alpha, double &beta)
 random access version More...
 
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 bool compute (const MapType &map, const StencilT &stencil, double &alpha, double &beta)
 stencil access version More...
 
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::OPENVDB_VERSION_NAME::math::MeanCurvature< MapType, DiffScheme2, DiffScheme1 >

Compute the mean curvature.

Returns
the mean curvature in two parts: alpha is the numerator in $\nabla \cdot (\nabla \phi / |\nabla \phi|)$, and beta is $|\nabla \phi|$.

Definition at line 1751 of file Operators.h.

Member Function Documentation

template<typename MapType , DDScheme DiffScheme2, DScheme DiffScheme1>
template<typename Accessor >
static bool openvdb::OPENVDB_VERSION_NAME::math::MeanCurvature< MapType, DiffScheme2, DiffScheme1 >::compute ( const MapType &  map,
const Accessor &  grid,
const Coord ijk,
double &  alpha,
double &  beta 
)
inlinestatic

random access version

Returns
true if the gradient is none-zero, in which case the mean curvature is computed as two parts: alpha is the numerator in $\nabla \cdot (\nabla \phi / |\nabla \phi|)$, and beta is $|\nabla \phi|$.

Definition at line 1758 of file Operators.h.

template<typename MapType , DDScheme DiffScheme2, DScheme DiffScheme1>
template<typename StencilT >
static bool openvdb::OPENVDB_VERSION_NAME::math::MeanCurvature< MapType, DiffScheme2, DiffScheme1 >::compute ( const MapType &  map,
const StencilT &  stencil,
double &  alpha,
double &  beta 
)
inlinestatic

stencil access version

Returns
true if the gradient is none-zero, in which case the mean curvature is computed as two parts: alpha is the numerator in $\nabla \cdot (\nabla \phi / |\nabla \phi|)$, and beta is $|\nabla \phi|$.

Definition at line 1837 of file Operators.h.

template<typename MapType , DDScheme DiffScheme2, DScheme DiffScheme1>
template<typename Accessor >
static Accessor::ValueType openvdb::OPENVDB_VERSION_NAME::math::MeanCurvature< MapType, DiffScheme2, DiffScheme1 >::normGrad ( const MapType &  map,
const Accessor &  grid,
const Coord ijk 
)
inlinestatic

Definition at line 1823 of file Operators.h.

template<typename MapType , DDScheme DiffScheme2, DScheme DiffScheme1>
template<typename StencilT >
static StencilT::ValueType openvdb::OPENVDB_VERSION_NAME::math::MeanCurvature< MapType, DiffScheme2, DiffScheme1 >::normGrad ( const MapType &  map,
const StencilT  stencil 
)
inlinestatic

Definition at line 1902 of file Operators.h.

template<typename MapType , DDScheme DiffScheme2, DScheme DiffScheme1>
template<typename Accessor >
static Accessor::ValueType openvdb::OPENVDB_VERSION_NAME::math::MeanCurvature< MapType, DiffScheme2, DiffScheme1 >::result ( const MapType &  map,
const Accessor &  grid,
const Coord ijk 
)
inlinestatic

Definition at line 1813 of file Operators.h.

template<typename MapType , DDScheme DiffScheme2, DScheme DiffScheme1>
template<typename StencilT >
static StencilT::ValueType openvdb::OPENVDB_VERSION_NAME::math::MeanCurvature< MapType, DiffScheme2, DiffScheme1 >::result ( const MapType &  map,
const StencilT  stencil 
)
inlinestatic

Definition at line 1893 of file Operators.h.


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