INOS
cinosmovepathinterpolatorblend.h
Go to the documentation of this file.
1//******************************************************************************
26//******************************************************************************
27#ifndef INC_CINOSMOVEPATHINTERPOLATORBLEND_H
28#define INC_CINOSMOVEPATHINTERPOLATORBLEND_H
29//------------------------------------------------------------------------------
30// defines
31//------------------------------------------------------------------------------
32//
33//------------------------------------------------------------------------------
34// includes
35//------------------------------------------------------------------------------
36//
37// system
38#include <inos.h>
40//
41// C++
42//
43// project
44//
45//------------------------------------------------------------------------------
46// blend class definition
47//------------------------------------------------------------------------------
48//
50
52 double m_dStart;
53 double m_dEnd;
54 double m_dFactor;
55
57 TINOSMovePathVec m_dB1;
58 TINOSMovePathVec m_dM1;
59 TINOSMovePathVec m_dB2;
60 TINOSMovePathVec m_dM2;
61
64};
65
66//------------------------------------------------------------------------------
67// class definition
68//------------------------------------------------------------------------------
69//
71{
72 //--- user interface ---------------------------------------------------
73
74 // public member functions
75 public :
76
79 TINOSMovePathVec& ovPos) override;
80
82 virtual uint32 Prepare() override;
83
84 //--- internals --------------------------------------------------------
85
86 // constructor / destructor
87 public :
94 BlendCleanup();
95 };
96
97 // protected member functions
98 protected :
100 virtual void Cleanup() override;
101
102 // private member functions
103 private:
105 void BlendCleanup();
106
107 // protected members
108 protected :
111 struct SINOSMovePathInterpolatorBlendSegment* m_pLstBlend;
112 struct SINOSMovePathInterpolatorBlendSegment* m_pActBlend;
113
114 // dynamic
116};
117
118//------------------------------------------------------------------------------
119// end of file
120//------------------------------------------------------------------------------
121
122#endif // INC_CINOSMOVEPATHINTERPOLATORBLEND_H
The CINOSMovePathInterpolator class.
#define DECLARE_DYNAMIC(aClass)
Definition cinospartitionmemory.h:328
Definition cinosmcmodule.h:1900
Definition cinosmovepathcurve.h:56
Definition cinosmovepathinterpolatorblend.h:71
CINOSMovePathInterpolatorBlend(CINOSMovePathCurve *apCurve, CINOSMovePath *apPath=NULL)
constructor
virtual void Cleanup() override
cleanup
virtual ~CINOSMovePathInterpolatorBlend()
destructor
Definition cinosmovepathinterpolatorblend.h:93
struct SINOSMovePathInterpolatorBlendSegment * m_pFstBlend
blend chain
Definition cinosmovepathinterpolatorblend.h:110
virtual uint32 Prepare() override
do precalculation
virtual void GetPosition(double adP, CINOSMovePathSegment *&opSegment, TINOSMovePathVec &ovPos) override
get position vector at 'adP'
Definition cinosmovepathinterpolator.h:82
Definition cinosmovepathsegment.h:45
Definition cinosmovepath.h:566
Definition cinosmovepathinterpolatorblend.h:49
TINOSMovePathVec m_dB1
polynom vectors
Definition cinosmovepathinterpolatorblend.h:57
double m_dStart
start
Definition cinosmovepathinterpolatorblend.h:52
SINOSMovePathInterpolatorBlendSegment * m_pNext
pointer to next blend
Definition cinosmovepathinterpolatorblend.h:63