Adobe Systems, Inc.

derived_image_type< IMAGE, T, CS, PLANAR > Struct Template Reference
[Type Factory Metafunctions]

Constructs an image type from a source image type by changing some of the properties.

Use gil::use_default for the properties of the source image that you want to keep.

#include <metafunctions.hpp>

List of all members.


Public Types

typedef boost::mpl::if_< boost::is_same<
T,use_default >, typename
IMAGE::channel_t, T >::type 
channel_t
typedef boost::mpl::if_< boost::is_same<
CS, use_default >, typename
IMAGE::color_space_t, CS
>::type 
color_space_t
typedef image_type< channel_t,
color_space_t, planar
>::type 
type

Static Public Attributes

static const bool planar

Detailed Description

template<typename IMAGE, typename T = use_default, typename CS = use_default, typename PLANAR = use_default>
struct derived_image_type< IMAGE, T, CS, PLANAR >

Definition at line 210 of file metafunctions.hpp.

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google