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

Compute the mean curvature in index space. More...

#include <Operators.h>

Static Public Member Functions

template<typename Accessor >
static bool result (const Accessor &grid, const Coord &ijk, typename Accessor::ValueType &alpha, typename Accessor::ValueType &beta)
 random access version More...
 
template<typename StencilT >
static bool result (const StencilT &stencil, typename StencilT::ValueType &alpha, typename StencilT::ValueType &beta)
 stencil access version More...
 

Detailed Description

template<DDScheme DiffScheme2, DScheme DiffScheme1>
struct openvdb::OPENVDB_VERSION_NAME::math::ISMeanCurvature< DiffScheme2, DiffScheme1 >

Compute the mean curvature in index space.

Definition at line 555 of file Operators.h.

Member Function Documentation

template<DDScheme DiffScheme2, DScheme DiffScheme1>
template<typename Accessor >
static bool openvdb::OPENVDB_VERSION_NAME::math::ISMeanCurvature< DiffScheme2, DiffScheme1 >::result ( const Accessor &  grid,
const Coord ijk,
typename Accessor::ValueType &  alpha,
typename Accessor::ValueType &  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 562 of file Operators.h.

template<DDScheme DiffScheme2, DScheme DiffScheme1>
template<typename StencilT >
static bool openvdb::OPENVDB_VERSION_NAME::math::ISMeanCurvature< DiffScheme2, DiffScheme1 >::result ( const StencilT &  stencil,
typename StencilT::ValueType &  alpha,
typename StencilT::ValueType &  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 600 of file Operators.h.


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