#include <color_morpher.hh>
Inheritance diagram for oln::morpher::color_morpher< const SrcType, Exact >:
Public Types | |
typedef image_id< color_morpher< const SrcType, Exact > >::exact_type | exact_type |
The type of the object instantiated. color_morpher can be derived. | |
typedef image_id< exact_type >::point_type | point_type |
The morpher point type. | |
typedef image_id< exact_type >::iter_type | iter_type |
typedef image_id< exact_type >::value_type | value_type |
typedef super_color_morpher< const SrcType, exact_type > | super_type |
Public Member Functions | |
color_morpher (const SrcType &ima, unsigned n) | |
Construct the color_morpher with an image ima and a component n. | |
color_morpher (const color_morpher< const SrcType, Exact > &r) | |
Construct the color_morpher with another color_morpher. | |
color_morpher () | |
const value_type | at (const point_type &p) const |
Static Public Member Functions | |
static std::string | name () |
SrcType | Input type decorated. | |
Exact | Exact Type. |
Definition at line 264 of file color_morpher.hh.
typedef image_id<exact_type>::iter_type oln::morpher::color_morpher< const SrcType, Exact >::iter_type |
<The type of the class point.
Reimplemented from oln::morpher::abstract::generic_morpher< SrcType, Exact >.
Definition at line 274 of file color_morpher.hh.
typedef image_id<exact_type>::value_type oln::morpher::color_morpher< const SrcType, Exact >::value_type |
<The type of the class iterator.
Reimplemented from oln::morpher::abstract::generic_morpher< SrcType, Exact >.
Definition at line 276 of file color_morpher.hh.
typedef super_color_morpher<const SrcType, exact_type> oln::morpher::color_morpher< const SrcType, Exact >::super_type |
<The value of the decorated image.
Reimplemented from oln::morpher::super_color_morpher< SrcType, Exact >.
Definition at line 279 of file color_morpher.hh.
oln::morpher::color_morpher< const SrcType, Exact >::color_morpher | ( | const SrcType & | ima, | |
unsigned | n | |||
) | [inline] |
Construct the color_morpher with an image ima and a component n.
<The upper class.
Definition at line 283 of file color_morpher.hh.
00283 : super_type(ima, n) 00284 {}
oln::morpher::color_morpher< const SrcType, Exact >::color_morpher | ( | ) | [inline] |
Empty constructor.
Needed by mlc_hierarchy::any_with_diamond.
Definition at line 295 of file color_morpher.hh.
const value_type oln::morpher::color_morpher< const SrcType, Exact >::at | ( | const point_type & | p | ) | const [inline] |
Return the n_th component of the rgb value stored at p.
Definition at line 304 of file color_morpher.hh.