CMS 3D CMS Logo

IgQtRangeMValueFloat.h

Go to the documentation of this file.
00001 #ifndef IGUANA_GL_BROWSERS_IG_QT_RANGE_MVALUE_FLOAT_H
00002 # define IGUANA_GL_BROWSERS_IG_QT_RANGE_MVALUE_FLOAT_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 # include "Iguana/GLBrowsers/interface/IgQtRangeMValue.h"
00007 # include "Iguana/GLBrowsers/interface/IgQtRangeValuePrecision.h"
00008 
00009 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00010 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00011 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00012 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00013 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00014 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
00015 
00016 class IGUANA_GL_BROWSERS_API IgQtRangeMValueFloat : public IgQtRangeMValue<float>,
00017                                                     public IgQtRangeValuePrecision
00018 {
00019 public:
00020     IgQtRangeMValueFloat (float value = 0.,
00021                           float min = SHRT_MIN,
00022                           float max = SHRT_MAX);
00023     
00024     IgQtRangeMValueFloat (unsigned int size,
00025                           const float* values,
00026                           float min = SHRT_MIN,
00027                           float max = SHRT_MAX);
00028     
00029     IgQtRangeMValueFloat (const rangeMValues& values,
00030                           float min = SHRT_MIN,
00031                           float max = SHRT_MAX);
00032     // implicit copy constructor
00033     // implicit assignment operator
00034     // implicit destructor
00035 
00036     using inherited::setValue;
00037     virtual void        setValue (unsigned int index, float value);
00038     
00039     using inherited::isValueChanged;
00040     virtual bool        isValueChanged (unsigned int index) const;
00041 
00042     float               roundOff (float number, float precision = .001);
00043 
00044 protected:
00045     using inherited::forceValueChanged;
00046     void                forceValueChanged (float delta);
00047     void                forceValueChanged (unsigned int index, float delta);
00048 };
00049 
00050 
00051 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00052 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00053 
00054 #endif // IGUANA_GL_BROWSERS_IG_QT_RANGE_VALUE_FLOAT_H

Generated on Tue Jun 9 17:38:34 2009 for CMSSW by  doxygen 1.5.4