ISpline.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include <ionCore.h>
5 
6 
7 namespace ion
8 {
9  namespace Animation
10  {
11 
12  template <typename TSplineNode>
13  class ISpline
14  {
15 
16  public:
17 
18  virtual vector<TSplineNode> const & GetNodes() const = 0;
19  virtual vector<TSplineNode> & GetNodes() = 0;
20 
21  virtual bool IsLooping() const = 0;
22  virtual int SanitizeIndex(int Index) const = 0;
23 
24  virtual TSplineNode const & GetNode(int const Index) const = 0;
25 
26  };
27 
28  }
29 }
virtual vector< TSplineNode > const & GetNodes() const =0
Definition: CCatmullRomAdvancedSplineInterpolator.h:7
Definition: ISpline.h:13
virtual TSplineNode const & GetNode(int const Index) const =0
virtual int SanitizeIndex(int Index) const =0
virtual bool IsLooping() const =0