Functor class to scale by s. More...
Public Member Functions | |
vil3d_math_scale_functor (double s) | |
float | operator() (vxl_byte x) const |
float | operator() (unsigned x) const |
float | operator() (short x) const |
float | operator() (int x) const |
float | operator() (float x) const |
float | operator() (double x) const |
Private Attributes | |
double | s_ |
Functor class to scale by s.
Definition at line 17 of file vil3d_world_gradients.txx.
vil3d_math_scale_functor::vil3d_math_scale_functor | ( | double | s | ) | [inline] |
Definition at line 22 of file vil3d_world_gradients.txx.
float vil3d_math_scale_functor::operator() | ( | vxl_byte | x | ) | const [inline] |
Definition at line 23 of file vil3d_world_gradients.txx.
float vil3d_math_scale_functor::operator() | ( | unsigned | x | ) | const [inline] |
Definition at line 24 of file vil3d_world_gradients.txx.
float vil3d_math_scale_functor::operator() | ( | short | x | ) | const [inline] |
Definition at line 25 of file vil3d_world_gradients.txx.
float vil3d_math_scale_functor::operator() | ( | int | x | ) | const [inline] |
Definition at line 26 of file vil3d_world_gradients.txx.
float vil3d_math_scale_functor::operator() | ( | float | x | ) | const [inline] |
Definition at line 27 of file vil3d_world_gradients.txx.
float vil3d_math_scale_functor::operator() | ( | double | x | ) | const [inline] |
Definition at line 28 of file vil3d_world_gradients.txx.
double vil3d_math_scale_functor::s_ [private] |
Definition at line 20 of file vil3d_world_gradients.txx.