#pragma once #include "isdfinterpolator.h" class TrilinearSdfInterp : public ISdfInterpolator { public: TrilinearSdfInterp(void); ~TrilinearSdfInterp(void); void setNode(octreeNode *node); double interpolate(const Point &from); private: /* * The node we're currently interpolating for. * Trilinear interpolation doesn't need much more state than this. */ octreeNode *node; };