HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_BlendFactor.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  */
7 
8 #ifndef __SIM_BlendFactor_h__
9 #define __SIM_BlendFactor_h__
10 
11 #include "SIM_API.h"
12 #include "SIM_OptionsUser.h"
13 #include "SIM_DataUtils.h"
14 
15 /// This data type stres a single float value which is used by the Blend
16 /// Solver to control the interpolation between the sources.
18  public SIM_OptionsUser
19 {
20 public:
21  /// Control the translation attribute of the blended data.
23  /// Specifies whether the solver should use the last blended value as
24  /// its starting point each frame. The alternative is to use the value
25  /// calculated just by this solver on the last timestep.
27 
28 protected:
29  explicit SIM_BlendFactor(const SIM_DataFactory *factory);
30  ~SIM_BlendFactor() override;
31 
32 private:
33  static const SIM_DopDescription *getBlendFactorDopDescription();
34 
37  SIM_Data,
38  "Blend Factor",
39  getBlendFactorDopDescription());
40 };
41 
42 #endif
43 
#define DECLARE_STANDARD_GETCASTTOTYPE()
Definition: SIM_DataUtils.h:50
#define GETSET_DATA_FUNCS_B(DataName, FuncName)
#define GETSET_DATA_FUNCS_F(DataName, FuncName)
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
Definition: SIM_DataUtils.h:63
#define SIM_API
Definition: SIM_API.h:12
#define SIM_NAME_BLENDFACTOR
Definition: SIM_Names.h:78
#define SIM_NAME_USEBLENDEDDATA
Definition: SIM_Names.h:210