39#ifndef GLS_LINEAR_FLOAT_CONTROLLER_H_INCLUDED
40#define GLS_LINEAR_FLOAT_CONTROLLER_H_INCLUDED
46#if( defined( GLSGEN_EXPORT_GLSADVANCEDMESH ) || defined( GLSGEN_IMPORT_GLSADVANCEDMESH ) || defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \
47 && defined( _MSC_VER )
48# if defined( GLSGEN_EXPORT_GLSADVANCEDMESH ) || defined( GLS_EXPORT_GENERATED )
49# define GLSGEN_GlsLinearFloatController_EXPORT __declspec( dllexport )
51# define GLSGEN_GlsLinearFloatController_EXPORT __declspec( dllimport )
54# define GLSGEN_GlsLinearFloatController_EXPORT
59#define LIB_BASE_NAME "gls_advanced_mesh"
92 friend class GlsLinearFloatControllerEditor;
99 DISTI_DEPRECATED(
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
Definition: dynamic_array.h:79
Definition: gls_glo_file.h:1241
Definition: gls_linear_float_controller.h:142
void SetInputValue(float value)
Definition: gls_linear_float_controller.h:154
float GetInputValue() const
Definition: gls_linear_float_controller.h:157
float GetOutputValue() const
Definition: gls_linear_float_controller.h:164
void SetOutputValue(float value)
Definition: gls_linear_float_controller.h:161
Definition: gls_linear_float_controller.h:91
float GetOutputForInput(float input) DISTI_METHOD_OVERRIDE
DynamicArray< KeyData > KeyArrayType
Typedef for a list of animation keys.
Definition: gls_linear_float_controller.h:167
void FindFirstPathSegmentContainingValue(float value, int *index1, int *index2)
void InitializeKeys(unsigned int numKeys, const float *keyPairArray)
void CopyProperties(DisplayObject *src) DISTI_METHOD_OVERRIDE
float GetFirstInputValue() DISTI_METHOD_OVERRIDE
void SetAvailableAttributes(unsigned int value) DISTI_METHOD_OVERRIDE
void GetCppInterfaceDescriptionFree(InterfaceListType *array) DISTI_METHOD_OVERRIDE
DisplayObject * handle(DisplayEvent *ev) DISTI_METHOD_OVERRIDE
void PreDraw(const OpenGLMatrices &parentMatrices, Culler &culler) DISTI_METHOD_OVERRIDE
static DisplayObject * CreateInstance()
void Draw() DISTI_METHOD_OVERRIDE
KeyArrayType _keyArray
The list of key values for interpolation.
Definition: gls_linear_float_controller.h:195
bool Hit(float x, float y, float z, float scale, const Vector &directionVector, Vector *collisionPoint) DISTI_METHOD_OVERRIDE
float GetLastInputValue() DISTI_METHOD_OVERRIDE
KeyArrayType & KeyArray()
Definition: gls_linear_float_controller.h:170
DisplayObject * CloneObject(bool generateNames=false) DISTI_METHOD_OVERRIDE
InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL) DISTI_METHOD_OVERRIDE
Definition: gls_linear_float_controller.h:67
virtual float GetOutputForInput(float input)=0
virtual float GetFirstInputValue()=0
virtual ~IFloatController()
Definition: gls_linear_float_controller.h:70
virtual float GetLastInputValue()=0
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:540
The disti::DisplayObject class and global enumerations.
Macros and helper code to determine what subset of C++11/14/17 is available.
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:487
#define DISTI_METHOD_OVERRIDE
Macro to wrap the override keyword, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:221
#define GLSGEN_GlsLinearFloatController_EXPORT
Provides support for creating DLLs.
Definition: gls_linear_float_controller.h:54
Definition: bmpimage.h:46
std::ostream & operator<<(std::ostream &outstr, const AttributeName &name)
std::istream & operator>>(std::istream &instr, GlsColor &color)