GlobeEngine
BSpline.h
Go to the documentation of this file.
1 #ifndef GlobeEngine_BSpline_h
2 #define GlobeEngine_BSpline_h
3 
4 #include <vmmlib/vmmlib.hpp>
5 
6 namespace geData {
7  class BSpline
8  {
9  public:
10  BSpline();
11  ~BSpline();
12  void clear();
13  void create(int n, int t, vmml::Vector3d* control, vmml::Vector3d* output, int num_output);
14 
15  private:
16  void computeIntervals(int* u, int n, int t);
17  double blend(int k, int t, int* u, double v);
18  double blend_N0(int k, int *u, double v);
19  double blend_N1(int k, int *u, double v);
20  double blend_N2(int k, int *u, double v);
21  vmml::Vector3d computePoint(int* u, int n, int t, double v, vmml::Vector3d* control);
22 
23  private:
24 
25  };
26 }
27 #endif
Definition: BSpline.h:7
~BSpline()
Definition: BSpline.cpp:10
Definition: AvalancheTrainingSimulationEngine.h:39
BSpline()
Definition: BSpline.cpp:5
void clear()
Definition: BSpline.cpp:15
void create(int n, int t, vmml::Vector3d *control, vmml::Vector3d *output, int num_output)
Definition: BSpline.cpp:35