| 
    Open CASCADE Technology 7.8.2.dev
    
   | 
 
Simple linear interpolation tool (also known as mix() in GLSL). The main purpose of this template class is making interpolation routines more readable. More...
#include <NCollection_Lerp.hxx>
Public Member Functions | |
| NCollection_Lerp () | |
| Empty constructor.   | |
| NCollection_Lerp (const T &theStart, const T &theEnd) | |
| Main constructor.   | |
| void | Init (const T &theStart, const T &theEnd) | 
| Initialize values.   | |
| void | Interpolate (double theT, T &theResult) const | 
| Compute interpolated value between two values.   | |
| void | Interpolate (const double theT, Handle< Graphic3d_Camera > &theResult) const | 
| Linear interpolation tool for camera orientation and position. This tool interpolates camera parameters scale, eye, center, rotation (up and direction vectors) independently.   | |
Static Public Member Functions | |
| static T | Interpolate (const T &theStart, const T &theEnd, double theT) | 
| Compute interpolated value between two values.   | |
Simple linear interpolation tool (also known as mix() in GLSL). The main purpose of this template class is making interpolation routines more readable.
      
  | 
  inline | 
Empty constructor.
      
  | 
  inline | 
Main constructor.
      
  | 
  inline | 
Initialize values.
      
  | 
  inline | 
Linear interpolation tool for camera orientation and position. This tool interpolates camera parameters scale, eye, center, rotation (up and direction vectors) independently.
      
  | 
  inlinestatic | 
Compute interpolated value between two values.
| theStart | first value | 
| theEnd | second value | 
| theT | normalized interpolation coefficient within [0, 1] range, with 0 pointing to theStart and 1 to theEnd. | 
      
  | 
  inline | 
Compute interpolated value between two values.
| theT | normalized interpolation coefficient within [0, 1] range, with 0 pointing to first value and 1 to the second value. | 
| theResult | [out] interpolated value |