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

Member Function Documentation

virtual LinScaler* LinScaler::clone ( ) const
inlinevirtual

Implements Scaler.

void LinScaler::fromString ( const char *  )
virtual

Implements Scaler.

bool LinScaler::isEmpty ( ) const
inlinevirtual

Reimplemented from Scaler.

bool LinScaler::operator== ( const LinScaler b) const
inline
double LinScaler::scale ( double  ) const
virtual

Implements Scaler.

void LinScaler::set ( double  x0,
double  y0,
double  x1,
double  y1 
)
const char* LinScaler::toString ( ) const
virtual

Implements Scaler.

const char* LinScaler::type ( ) const
inlinevirtual

Implements Scaler.

double LinScaler::unScale ( double  ) const
virtual

Reimplemented from Scaler.

Member Data Documentation

double LinScaler::constant
double LinScaler::factor

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