OpendTect  6.6
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)
 
virtual LinScalerclone () const
 
void fromString (const char *)
 
bool isEmpty () const
 
bool operator== (const LinScaler &b) const
 
double scale (double) const
 
void set (double x0, double y0, double x1, double y1)
 
const char * toString () const
 
const char * type () const
 
double unScale (double) const
 
- Public Member Functions inherited from Scaler
virtual ~Scaler ()
 
void put (char *) const
 
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()

virtual LinScaler* LinScaler::clone ( ) const
inlinevirtual

Implements Scaler.

◆ fromString()

void LinScaler::fromString ( const char *  )
virtual

Implements Scaler.

◆ isEmpty()

bool LinScaler::isEmpty ( ) const
inlinevirtual

Reimplemented from Scaler.

◆ operator==()

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

◆ scale()

double LinScaler::scale ( double  ) const
virtual

Implements Scaler.

◆ set()

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

◆ toString()

const char* LinScaler::toString ( ) const
virtual

Implements Scaler.

◆ type()

const char* LinScaler::type ( ) const
inlinevirtual

Implements Scaler.

◆ unScale()

double LinScaler::unScale ( double  ) const
virtual

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-2022