Inheritance diagram for w2img::Data2DAdapter< X >:
Public Member Functions | |
Data2DAdapter (const X &data) | |
because we make a copy of X, it would be preferable for the copy to be reference counted. | |
double | getVal (int x, int y) const |
read the value of the x,y point. | |
int | numRows () const |
Number of rows (first dimension). | |
int | numCols () const |
Number of columns (second dimension). | |
code::Image< float > | getImageClone () const |
code::Image< float > | getImage () |
const X & | data () const |
X & | data () |
Protected Attributes | |
X | myData |
w2img::Data2DAdapter< X >::Data2DAdapter | ( | const X & | data | ) | [inline] |
because we make a copy of X, it would be preferable for the copy to be reference counted.
X& w2img::Data2DAdapter< X >::data | ( | ) | [inline] |
const X& w2img::Data2DAdapter< X >::data | ( | ) | const [inline] |
code::Image<float> w2img::Data2DAdapter< X >::getImage | ( | ) |
code::Image<float> w2img::Data2DAdapter< X >::getImageClone | ( | ) | const [inline] |
double w2img::Data2DAdapter< X >::getVal | ( | int | x, | |
int | y | |||
) | const [inline] |
read the value of the x,y point.
int w2img::Data2DAdapter< X >::numCols | ( | ) | const [inline] |
Number of columns (second dimension).
int w2img::Data2DAdapter< X >::numRows | ( | ) | const [inline] |
Number of rows (first dimension).
X w2img::Data2DAdapter< X >::myData [protected] |