HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 532 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 nonzero, in which case the mean curvature is returned in two parts, alpha and beta, where alpha is the numerator in ∇ (∇Φ / |∇Φ|) and beta is |∇Φ|.

Definition at line 539 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 nonzero, in which case the mean curvature is returned in two parts, alpha and beta, where alpha is the numerator in ∇ (∇Φ / |∇Φ|) and beta is |∇Φ|.

Definition at line 577 of file Operators.h.


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