#include <openvdb/math/Operators.h>
|
| template<typename Accessor> |
| static Accessor::ValueType | result (const UniformScaleTranslateMap &map, const Accessor &grid, const Coord &ijk) |
| template<typename Accessor> |
| static Accessor::ValueType | normGrad (const UniformScaleTranslateMap &map, const Accessor &grid, const Coord &ijk) |
| template<typename StencilT> |
| static StencilT::ValueType | result (const UniformScaleTranslateMap &map, const StencilT &stencil) |
| template<typename StencilT> |
| static StencilT::ValueType | normGrad (const UniformScaleTranslateMap &map, const StencilT &stencil) |
| static bool | compute (const UniformScaleTranslateMap &map, const Accessor &grid, const Coord &ijk, double &alpha, double &beta) |
| | Random access version.
|
◆ compute()
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 |∇Φ|.
◆ normGrad() [1/2]
template<typename Accessor>
◆ normGrad() [2/2]
template<typename StencilT>
◆ result() [1/2]
template<typename Accessor>
◆ result() [2/2]
template<typename StencilT>