Frapper  1.0a
Classes | Namespaces | Macros
core/Helper.h File Reference
#include <malloc.h>
#include <math.h>
#include <iostream>
#include <string>
#include <fstream>
#include <vector>
#include <map>
#include <algorithm>
#include <sstream>
#include <time.h>
#include <QtCore/QList>
#include <Key.h>
Include dependency graph for core/Helper.h:

Go to the source code of this file.

Classes

class  Frapper::Helpers
 
class  Frapper::Helpers::InterpolationH
 
class  Frapper::Helpers::AnalysisH
 
class  Frapper::Helpers::StringH
 
class  Frapper::Helpers::MathH
 
class  Frapper::Helpers::TimeH
 

Namespaces

namespace  Frapper
 

Macros

#define _USE_MATH_DEFINES   1
 
#define HELPER_H
 
#define LINEAR_INTERPOLATE(A, B, mPCAlpha)   A+mPCAlpha*(B-A)
 
#define CLAMP_LOWER(A, B)   if(A<B) A=B;
 
#define CLAMP_UPPER(A, B)   if(A>B) A=B;
 
#define CLAMP(A, Lo, Hi)   A=(A<Lo)?Lo:(A>Hi)?Hi:A;
 

Macro Definition Documentation

#define _USE_MATH_DEFINES   1
#define HELPER_H
#define LINEAR_INTERPOLATE (   A,
  B,
  mPCAlpha 
)    A+mPCAlpha*(B-A)
#define CLAMP_LOWER (   A,
 
)    if(A<B) A=B;
#define CLAMP_UPPER (   A,
 
)    if(A>B) A=B;
#define CLAMP (   A,
  Lo,
  Hi 
)    A=(A<Lo)?Lo:(A>Hi)?Hi:A;