33 static BSHP<NodalFunc>
New(
int a_type,
35 boost::shared_ptr<GmPtSearch> a_ptSearch,
36 const std::vector<Pt3d>& a_pts,
37 const std::vector<float>& a_scalar,
41 bool a_modifiedShepardWeights,
42 boost::shared_ptr<Observer> a_p,
47 virtual double ScalarFromPtIdx(
int a_ptIdx,
const Pt3d& a_loc)
const = 0;
48 virtual void GradientFromPtIdx(
int a_ptIdx,
Pt3d& a_grad)
const = 0;
49 virtual void ComputeNodalFuncs() = 0;
50 virtual std::string ToString()
const = 0;
51 virtual int GetType()
const = 0;
52 virtual int GetNearestPointsOption()
const = 0;
53 virtual int GetNumNearestPoints()
const = 0;
54 virtual bool GetUseModifiedShepardWeights()
const = 0;
55 virtual bool GetUseQuadrantSearch()
const = 0;
static BSHP< NodalFunc > New(int a_type, bool a_2d, boost::shared_ptr< GmPtSearch > a_ptSearch, const std::vector< Pt3d > &a_pts, const std::vector< float > &a_scalar, int a_nNearest, bool a_quad_oct, double a_power, bool a_modifiedShepardWeights, boost::shared_ptr< Observer > a_p, InterpNatNeigh *a_natNeigh)
Creates a NodalFunc class.
#define XM_DISALLOW_COPY_AND_ASSIGN(TypeName)
virtual ~NodalFunc()
Destructor.
Class to compute gradient plane and quadratic nodal functions for interpolation.
Class that performs natural neighbor interpolation.