40 static BSHP<InterpLinear>
New();
44 virtual void SetPtsTris(BSHP<VecPt3d> a_, BSHP<VecInt> a_tris)
override = 0;
45 virtual void SetScalars(
const float* a_scalar,
size_t a_n)
override = 0;
46 virtual void SetScalars(BSHP<VecFlt> a_scalar)
override = 0;
47 virtual float InterpToPt(
const Pt3d& a_pt)
override = 0;
48 virtual void InterpToPts(
const VecPt3d& a_pts,
49 VecFlt& a_scalars)
override = 0;
50 virtual void SetPtActivity(
DynBitset& a_activity)
override = 0;
52 virtual void SetTriActivity(
DynBitset& a_activity)
override = 0;
53 virtual const BSHP<VecPt3d> GetPts()
const override = 0;
54 virtual const BSHP<VecInt> GetTris()
const override = 0;
55 virtual const BSHP<VecFlt> GetScalars()
const override = 0;
56 virtual DynBitset GetPtActivity()
const override = 0;
57 virtual DynBitset GetTriActivity()
const override = 0;
58 virtual VecInt GetExtrapolationPointIndexes()
const = 0;
61 virtual int TriContainingPt(
const Pt3d& a_pt) = 0;
62 virtual void TriEnvelopsContainingPt(
const Pt3d& a_pt, std::vector<int>& a_tris) = 0;
64 virtual bool InterpWeights(
const Pt3d& a_pt,
69 virtual void SetExtrapVal(
double a_val) = 0;
70 virtual void SetTrunc(
double a_sMax,
double a_sMin)
override = 0;
71 virtual void SetUseCloughTocher(
bool a_, BSHP<Observer> a_prog) = 0;
72 virtual void SetUseNatNeigh(
bool a_,
75 int a_ndFuncNumNearestPts,
77 BSHP<Observer> a_prog) = 0;
79 virtual double GetExtrapVal()
const = 0;
80 virtual bool GetTruncateInterpolatedValues()
const = 0;
81 virtual double GetTruncMin()
const = 0;
82 virtual double GetTruncMax()
const = 0;
83 virtual bool GetUseCloughTocher()
const = 0;
84 virtual bool GetUseNatNeigh()
const = 0;
85 virtual int GetNatNeighNodalFunc()
const = 0;
86 virtual int GetNatNeighNodalFuncNearestPtsOption()
const = 0;
87 virtual int GetNatNeighNodalFuncNumNearestPts()
const = 0;
88 virtual bool GetNatNeighBlendWeights()
const = 0;
91 virtual std::string ToString()
const override = 0;
std::vector< int > VecInt
std::vector< double > VecDbl
std::vector< float > VecFlt
boost::dynamic_bitset< size_t > DynBitset
Class that performs linear interpolation.
#define XM_DISALLOW_COPY_AND_ASSIGN(TypeName)
Base class for interpolation methods.
static BSHP< InterpLinear > New()
Creates an TriSearch class.
std::vector< Pt3d > VecPt3d