iMSTK
Interactive Medical Simulation Toolkit
Public Member Functions | Protected Attributes | List of all members
imstk::StructuredCentralGradient Struct Reference

Gradient given by central finite differences. More...

#include <imstkImplicitFunctionFiniteDifferenceFunctor.h>

Inheritance diagram for imstk::StructuredCentralGradient:
Inheritance graph
[legend]
Collaboration diagram for imstk::StructuredCentralGradient:
Collaboration graph
[legend]

Public Member Functions

Vec3d operator() (const Vec3d &pos) const override
 
void setDx (const Vec3i &dx, const Vec3d &dxs)
 
- Public Member Functions inherited from imstk::ImplicitFunctionGradient
virtual void setDx (const Vec3d &dx)
 
const Vec3d & getDx () const
 
void setFunction (std::shared_ptr< ImplicitGeometry > func)
 
std::shared_ptr< ImplicitGeometrygetFunction () const
 

Protected Attributes

Vec3i m_dxi
 
- Protected Attributes inherited from imstk::ImplicitFunctionGradient
std::shared_ptr< ImplicitGeometrym_func
 
Vec3d m_dx = Vec3d(1.0, 1.0, 1.0)
 
Vec3d m_invDx = Vec3d(1.0, 1.0, 1.0)
 

Detailed Description

Gradient given by central finite differences.

Definition at line 68 of file imstkImplicitFunctionFiniteDifferenceFunctor.h.


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