OpendTect  7.0
Public Member Functions | Public Attributes | List of all members
LinScaler Class Reference

Linear scaling. More...

Inheritance diagram for LinScaler:
[legend]

Public Member Functions

 LinScaler (double c=0, double f=1)
 
 LinScaler (double x0, double y0, double x1, double y1)
 
LinScalerclone () const override
 
void fromString (const char *) override
 
bool isEmpty () const override
 
bool operator== (const LinScaler &b) const
 
double scale (double) const override
 
void set (double x0, double y0, double x1, double y1)
 
const char * toString () const override
 
const char * type () const override
 
double unScale (double) const override
 
- Public Member Functions inherited from Scaler
virtual ~Scaler ()
 
void put (char *, int sz) const
 

Public Attributes

double constant
 
double factor
 

Additional Inherited Members

- Static Public Member Functions inherited from Scaler
static Scalerget (const char *)
 

Detailed Description

Linear scaling.

<>

Constructor & Destructor Documentation

◆ LinScaler() [1/2]

LinScaler::LinScaler ( double  c = 0,
double  f = 1 
)
inline

◆ LinScaler() [2/2]

LinScaler::LinScaler ( double  x0,
double  y0,
double  x1,
double  y1 
)

Member Function Documentation

◆ clone()

LinScaler* LinScaler::clone ( ) const
inlineoverridevirtual

Implements Scaler.

◆ fromString()

void LinScaler::fromString ( const char *  )
overridevirtual

Implements Scaler.

◆ isEmpty()

bool LinScaler::isEmpty ( ) const
inlineoverridevirtual

Reimplemented from Scaler.

◆ operator==()

bool LinScaler::operator== ( const LinScaler b) const
inline

◆ scale()

double LinScaler::scale ( double  ) const
overridevirtual

Implements Scaler.

◆ set()

void LinScaler::set ( double  x0,
double  y0,
double  x1,
double  y1 
)

◆ toString()

const char* LinScaler::toString ( ) const
overridevirtual

Implements Scaler.

◆ type()

const char* LinScaler::type ( ) const
inlineoverridevirtual

Implements Scaler.

◆ unScale()

double LinScaler::unScale ( double  ) const
overridevirtual

Reimplemented from Scaler.

Member Data Documentation

◆ constant

double LinScaler::constant

◆ factor

double LinScaler::factor

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024