41 #ifndef GLS_LINEAR_FLOAT_CONTROLLER_H_INCLUDED 
   42 #define GLS_LINEAR_FLOAT_CONTROLLER_H_INCLUDED 
   48 #if (defined(GLSGEN_EXPORT_GLSADVANCEDMESH) || \ 
   49      defined(GLSGEN_IMPORT_GLSADVANCEDMESH) || \ 
   50      defined(GLS_EXPORT_GENERATED) || \ 
   51      defined(GLS_IMPORT_GENERATED)) \ 
   53 #  if defined(GLSGEN_EXPORT_GLSADVANCEDMESH) || defined(GLS_EXPORT_GENERATED) 
   54 #    define GLSGEN_GlsLinearFloatController_EXPORT    __declspec(dllexport) 
   56 #    define GLSGEN_GlsLinearFloatController_EXPORT    __declspec(dllimport) 
   59 #  define GLSGEN_GlsLinearFloatController_EXPORT 
   63 #define LIB_BASE_NAME "gls_advanced_mesh" 
   91     friend class GlsLinearFloatControllerEditor;
 
  103     GLSGEN_GlsLinearFloatController_EXPORT GlsLinearFloatController( 
const GlsLinearFloatController& that, 
const bool generateNames );
 
  105     virtual GLSGEN_GlsLinearFloatController_EXPORT ~GlsLinearFloatController();
 
  107     static GLSGEN_GlsLinearFloatController_EXPORT 
DisplayObject* CreateInstance();
 
  123     virtual GLSGEN_GlsLinearFloatController_EXPORT 
void Draw(
void);
 
  127     virtual GLSGEN_GlsLinearFloatController_EXPORT 
bool Hit(
float x,
float y,
float z,
float scale, 
const Vector& directionVector,
Vector* collisionPoint);
 
  131     virtual GLSGEN_GlsLinearFloatController_EXPORT 
float GetOutputForInput(
float input);
 
  149         inline void SetInputValue(
float value) { _input = value; }
 
  150         inline float GetInputValue()
 const { 
return _input; }
 
  152         inline void SetOutputValue(
float value) { _output = value; }
 
  153         inline float GetOutputValue()
 const { 
return _output; }
 
  159     inline KeyArrayType& KeyArray() { 
return _keyArray; }
 
  169     GLSGEN_GlsLinearFloatController_EXPORT 
void FindFirstPathSegmentContainingValue(
float value, 
int* index1, 
int* index2);
 
  175     GLSGEN_GlsLinearFloatController_EXPORT 
void InitializeKeys(
unsigned int numKeys, 
const float* keyPairArray);
 
  181     virtual GLSGEN_GlsLinearFloatController_EXPORT 
void SetFromGloData(GlsGloFileAttribute &data);
 
  185     KeyArrayType _keyArray;
 
  189 GLSGEN_GlsLinearFloatController_EXPORT std::ostream& operator<<(std::ostream& outstr, 
const GlsLinearFloatController::KeyData& key);
 
  190 GLSGEN_GlsLinearFloatController_EXPORT std::istream& operator>>(std::istream& instr, GlsLinearFloatController::KeyData& key);
 
virtual void PreDraw(const OpenGLMatrices &parentMatrices, Culler &culler)
virtual DisplayObject * CloneObject(bool generateNames=false)
virtual float GetFirstInputValue()=0
virtual void CopyProperties(DisplayObject *src)
Definition: dynamic_array.h:63
Class to contain current OpenGL view, projection and draw matrices. 
Definition: util.h:289
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL)
virtual DisplayObject * handle(DisplayEvent *ev)
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array)
virtual float GetOutputForInput(float input)=0
The disti::DisplayObject class and global enumerations. 
virtual float GetOutputForInput(float input)
virtual void SetAvailableAttributes(unsigned int value)
virtual bool Hit(float x, float y, float z, float scale, const Vector &directionVector, Vector *collisionPoint)
virtual float GetLastInputValue()=0
virtual float GetLastInputValue()
Definition: gls_linear_float_controller.h:73
virtual float GetFirstInputValue()
Macros and helper code to determine what subset of C++11/14/17 is available. 
Definition: gls_linear_float_controller.h:139
Definition: gls_linear_float_controller.h:90
Definition: bmpimage.h:46