15 #ifndef __LERPBLEND_H__
16 #define __LERPBLEND_H__
18 #include "directbase.h"
19 #include "typedReferenceCount.h"
25 virtual PN_stdfloat operator()(PN_stdfloat) = 0;
35 static void init_type() {
36 TypedReferenceCount::init_type();
37 register_type(_type_handle,
"LerpBlendType",
38 TypedReferenceCount::get_class_type());
41 return get_class_type();
45 return get_class_type();
55 virtual PN_stdfloat operator()(PN_stdfloat);
65 static void init_type() {
66 TypedReferenceCount::init_type();
67 register_type(_type_handle,
"EaseInBlendType",
68 LerpBlendType::get_class_type());
71 return get_class_type();
75 return get_class_type();
85 virtual PN_stdfloat operator()(PN_stdfloat);
95 static void init_type() {
96 TypedReferenceCount::init_type();
97 register_type(_type_handle,
"EaseOutBlendType",
98 LerpBlendType::get_class_type());
101 return get_class_type();
105 return get_class_type();
115 virtual PN_stdfloat operator()(PN_stdfloat);
124 static void init_type() {
125 TypedReferenceCount::init_type();
126 register_type(_type_handle,
"EaseInOutBlendType",
127 LerpBlendType::get_class_type());
130 return get_class_type();
134 return get_class_type();
144 virtual PN_stdfloat operator()(PN_stdfloat);
153 static void init_type() {
154 TypedReferenceCount::init_type();
155 register_type(_type_handle,
"NoBlendType",
156 LerpBlendType::get_class_type());
159 return get_class_type();
163 return get_class_type();
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
TypeHandle is the identifier used to differentiate C++ class types.