CLASS any_image_view. More...
#include <any_image_view.hpp>
Public Types | |
typedef any_image_view < typename detail::views_get_const_t < ImageViewTypes >::type > | const_t |
typedef std::ptrdiff_t | x_coord_t |
typedef std::ptrdiff_t | y_coord_t |
typedef point2< std::ptrdiff_t > | point_t |
typedef ImageViewTypes | types_t |
Public Member Functions | |
any_image_view () | |
template<typename T > | |
any_image_view (const T &obj) | |
any_image_view (const any_image_view &v) | |
template<typename T > | |
any_image_view & | operator= (const T &obj) |
any_image_view & | operator= (const any_image_view &v) |
std::size_t | num_channels () const |
point_t | dimensions () const |
x_coord_t | width () const |
y_coord_t | height () const |
void | move_in (T &obj) |
const T & | _dynamic_cast () const |
T & | _dynamic_cast () |
bool | current_type_is () const |
base_t | bits () const |
std::size_t | index () const |
Static Public Member Functions | |
static bool | has_type () |
CLASS any_image_view.
Represents a run-time specified image view. Models HasDynamicXStepTypeConcept, HasDynamicYStepTypeConcept, Note that this class does NOT model ImageViewConcept
Represents a view whose type (color space, layout, planar/interleaved organization, etc) can be specified at run time. It is the runtime equivalent of image_view
. Some of the requirements of ImageViewConcept, such as the value_type
typedef cannot be fulfilled, since the language does not allow runtime type specification. Other requirements, such as access to the pixels, would be inefficient to provide. Thus any_image_view
does not fully model ImageViewConcept. However, many algorithms provide overloads taking runtime specified views and thus in many cases any_image_view
can be used in places taking a view.
To perform an algorithm on any_image_view, put the algorithm in a function object and invoke it by calling apply_operation(runtime_view, algorithm_fn)
;
typedef any_image_view<typename detail::views_get_const_t<ImageViewTypes>::type> boost::gil::any_image_view< ImageViewTypes >::const_t |
typedef point2<std::ptrdiff_t> boost::gil::any_image_view< ImageViewTypes >::point_t |
|
inherited |
typedef std::ptrdiff_t boost::gil::any_image_view< ImageViewTypes >::x_coord_t |
typedef std::ptrdiff_t boost::gil::any_image_view< ImageViewTypes >::y_coord_t |
|
inline |
|
inlineexplicit |
|
inline |
|
inlineinherited |
|
inlineinherited |
References boost::gil::gil_reinterpret_cast(), and T.
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlinestaticinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
References boost::gil::variant< Types >::swap.
|
inline |
|
inline |
|
inline |
|
inline |