![]()  | 
  
    OpenWalnut
    1.5.0dev
    
   | 
 
Namespace provides some scaling functions for scaling data values to meet the OpenGL requirements. More...
Functions | |
| template<typename T > | |
| wge::GLType< T >::Type | scaleInterval (T value, T minimum, T maximum, double scaler) | 
| Scales the specified value to the interval [0,1] using m_min and m_scale.  More... | |
| int8_t | scaleInterval (int8_t value, int8_t, int8_t, double) | 
| Byte data is transferred to texture mem as is without any scaling.  More... | |
| uint8_t | scaleInterval (uint8_t value, uint8_t, uint8_t, double) | 
| Byte data is transferred to texture mem as is without any scaling.  More... | |
Namespace provides some scaling functions for scaling data values to meet the OpenGL requirements.
      
  | 
  inline | 
Byte data is transferred to texture mem as is without any scaling.
| value | the value to scale | 
Definition at line 74 of file WDataTexture3D.h.
      
  | 
  inline | 
Scales the specified value to the interval [0,1] using m_min and m_scale.
As the method is inline, the additional parameters are no problem.
| value | the value to scale | 
| minimum | the min value | 
| maximum | the max value | 
| scaler | the scaler | 
Definition at line 62 of file WDataTexture3D.h.
Referenced by WDataTexture3D::createTexture().
 Here is the caller graph for this function:
      
  | 
  inline | 
Byte data is transferred to texture mem as is without any scaling.
| value | the value to scale | 
Definition at line 86 of file WDataTexture3D.h.