Project

General

Profile

BitmapToolkit Scol plugin

#include <scaler.h>

Public Member Functions

 Scaler ()
 
 Scaler (float inMin, float inMax, float outMin, float outMax)
 
void setParams (float inMin, float inMax, float outMin, float outMax)
 
float operator() (float val) const
 

Static Public Member Functions

static float scale (float inMin, float inMax, float outMin, float outMax, float val)
 

Public Attributes

float aa
 
float bb
 

Detailed Description

CLass to calculate linear scale

Definition at line 7 of file scaler.h.

Constructor & Destructor Documentation

◆ Scaler() [1/2]

raspicam::Scaler::Scaler ( )
inline

Definition at line 14 of file scaler.h.

◆ Scaler() [2/2]

raspicam::Scaler::Scaler ( float  inMin,
float  inMax,
float  outMin,
float  outMax 
)
inline

Definition at line 15 of file scaler.h.

Member Function Documentation

◆ operator()()

float raspicam::Scaler::operator() ( float  val) const
inline

Definition at line 34 of file scaler.h.

◆ scale()

static float raspicam::Scaler::scale ( float  inMin,
float  inMax,
float  outMin,
float  outMax,
float  val 
)
inlinestatic

Definition at line 41 of file scaler.h.

◆ setParams()

void raspicam::Scaler::setParams ( float  inMin,
float  inMax,
float  outMin,
float  outMax 
)
inline

Definition at line 20 of file scaler.h.

Member Data Documentation

◆ aa

float raspicam::Scaler::aa

Definition at line 12 of file scaler.h.

◆ bb

float raspicam::Scaler::bb

Definition at line 13 of file scaler.h.


The documentation for this class was generated from the following file: