Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

Generic Image Library: nth_channel_deref_fn Struct Template Reference

Boost , ,

nth_channel_deref_fn Struct Template Reference
[Models]

#include <image_view_factory.hpp>

List of all members.


Detailed Description

template<typename SrcP>
struct boost::gil::detail::nth_channel_deref_fn< SrcP >

Function object that returns a grayscale reference of the N-th channel of a given reference. Models: PixelDereferenceAdaptorConcept.

If the input is a pixel value or constant reference, the function object is immutable. Otherwise it is mutable (and returns non-const reference to the n-th channel).


Public Types

typedef nth_channel_deref_fn
< const_ref_t > 
const_t
typedef pixel_value_type
< channel_t, gray_layout_t >
::type 
value_type
typedef pixel_reference_type
< channel_t, gray_layout_t,
false, false >::type 
const_reference
typedef SrcP argument_type
typedef mpl::if_c< is_mutable,
ref_t, value_type >::type 
reference
typedef reference result_type

Public Member Functions

 BOOST_STATIC_CONSTANT (bool, is_mutable=pixel_is_reference< SrcP >::value &&pixel_reference_is_mutable< SrcP >::value)
 nth_channel_deref_fn (int n=0)
template<typename P>
 nth_channel_deref_fn (const nth_channel_deref_fn< P > &d)
result_type operator() (argument_type srcP) const

Public Attributes

int _n

The documentation for this struct was generated from the following file:

Generated on Sat May 2 13:50:18 2009 for Generic Image Library by  doxygen 1.5.6

Статья Generic Image Library: nth_channel_deref_fn Struct Template Reference раздела может быть полезна для разработчиков на c++ и boost.




Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



:: Главная :: ::


реклама


©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-07-16 07:12:02/0.0058908462524414/0