#include <LinearConversion.h>
Public Member Functions | |
int | convert (int item) const |
int | inverse (int item) const |
LinearConversion (int offset=0, int slope=1) | |
int | offset () const |
int | slope () const |
Private Attributes | |
int | theOffset |
int | theSlope |
Definition at line 6 of file LinearConversion.h.
sipixelobjects::LinearConversion::LinearConversion | ( | int | offset = 0 , |
int | slope = 1 |
||
) | [inline] |
int sipixelobjects::LinearConversion::convert | ( | int | item | ) | const [inline] |
Definition at line 10 of file LinearConversion.h.
References theOffset, and theSlope.
Referenced by sipixelobjects::PixelROC::toGlobal().
int sipixelobjects::LinearConversion::inverse | ( | int | item | ) | const [inline] |
Definition at line 11 of file LinearConversion.h.
References theOffset, and theSlope.
Referenced by sipixelobjects::PixelROC::toLocal().
int sipixelobjects::LinearConversion::offset | ( | ) | const [inline] |
int sipixelobjects::LinearConversion::slope | ( | ) | const [inline] |
int sipixelobjects::LinearConversion::theOffset [private] |
Definition at line 16 of file LinearConversion.h.
int sipixelobjects::LinearConversion::theSlope [private] |
Definition at line 16 of file LinearConversion.h.