TuttleOFX  1
boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator > Class Template Reference

#include <indexed_image.hpp>

Collaboration diagram for boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >:

Public Types

typedef image< Index, false,
IndicesAllocator > 
indices_t
typedef image< Pixel, false,
PalleteAllocator > 
palette_t
typedef indices_t::view_t indices_view_t
typedef palette_t::view_t palette_view_t
typedef indices_t::const_view_t indices_const_view_t
typedef palette_t::const_view_t palette_const_view_t
typedef indices_view_t::locator indices_locator_t
typedef palette_view_t::locator palette_locator_t
typedef
indexed_image_locator_type
< indices_locator_t,
palette_locator_t >::type 
locator_t
typedef indices_t::coord_t x_coord_t
typedef indices_t::coord_t y_coord_t
typedef indexed_image_view
< locator_t
view_t
typedef view_t::const_t const_view_t

Public Member Functions

 indexed_image (const x_coord_t width=0, const y_coord_t height=0, const std::size_t num_colors=1, const std::size_t indices_alignment=0, const std::size_t palette_alignment=0)
 indexed_image (const point_t &dimensions, const std::size_t num_colors=1, const std::size_t indices_alignment=0, const std::size_t palette_alignment=0)
 indexed_image (const indexed_image &img)
template<typename Pixel2 , typename Index2 >
 indexed_image (const indexed_image< Pixel2, Index2 > &img)
indexed_imageoperator= (const indexed_image &img)
indices_const_view_t get_indices_const_view () const
palette_const_view_t get_palette_const_view () const
indices_view_t get_indices_view ()
palette_view_t get_palette_view ()

Data Fields

view_t _view

Private Member Functions

void init (const point_t &dimensions, const std::size_t num_colors)

Private Attributes

indices_t _indices
palette_t _palette

Detailed Description

template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
class boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >

Definition at line 207 of file indexed_image.hpp.


Member Typedef Documentation

template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
typedef view_t::const_t boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::const_view_t

Definition at line 232 of file indexed_image.hpp.

template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
typedef indices_t::const_view_t boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::indices_const_view_t

Definition at line 217 of file indexed_image.hpp.

template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
typedef indices_view_t::locator boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::indices_locator_t

Definition at line 220 of file indexed_image.hpp.

template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
typedef image< Index, false, IndicesAllocator > boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::indices_t

Definition at line 211 of file indexed_image.hpp.

template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
typedef indices_t::view_t boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::indices_view_t

Definition at line 214 of file indexed_image.hpp.

template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
typedef indexed_image_locator_type< indices_locator_t , palette_locator_t >::type boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::locator_t

Definition at line 225 of file indexed_image.hpp.

template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
typedef palette_t::const_view_t boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::palette_const_view_t

Definition at line 218 of file indexed_image.hpp.

template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
typedef palette_view_t::locator boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::palette_locator_t

Definition at line 221 of file indexed_image.hpp.

template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
typedef image< Pixel, false, PalleteAllocator > boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::palette_t

Definition at line 212 of file indexed_image.hpp.

template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
typedef palette_t::view_t boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::palette_view_t

Definition at line 215 of file indexed_image.hpp.

template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
typedef indexed_image_view< locator_t > boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::view_t

Definition at line 231 of file indexed_image.hpp.

template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
typedef indices_t::coord_t boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::x_coord_t

Definition at line 227 of file indexed_image.hpp.

template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
typedef indices_t::coord_t boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::y_coord_t

Definition at line 228 of file indexed_image.hpp.


Constructor & Destructor Documentation

template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::indexed_image ( const x_coord_t  width = 0,
const y_coord_t  height = 0,
const std::size_t  num_colors = 1,
const std::size_t  indices_alignment = 0,
const std::size_t  palette_alignment = 0 
) [inline]

Definition at line 234 of file indexed_image.hpp.

References height, boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::init(), and width.

Here is the call graph for this function:

template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::indexed_image ( const point_t dimensions,
const std::size_t  num_colors = 1,
const std::size_t  indices_alignment = 0,
const std::size_t  palette_alignment = 0 
) [inline]

Definition at line 246 of file indexed_image.hpp.

References boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::init().

Here is the call graph for this function:

template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::indexed_image ( const indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator > &  img) [inline]

Definition at line 257 of file indexed_image.hpp.

template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
template<typename Pixel2 , typename Index2 >
boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::indexed_image ( const indexed_image< Pixel2, Index2 > &  img) [inline]

Member Function Documentation

template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
indices_const_view_t boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::get_indices_const_view ( ) const [inline]
template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
indices_view_t boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::get_indices_view ( ) [inline]
template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
palette_const_view_t boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::get_palette_const_view ( ) const [inline]
template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
palette_view_t boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::get_palette_view ( ) [inline]
template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
void boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::init ( const point_t dimensions,
const std::size_t  num_colors 
) [inline, private]
template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
indexed_image& boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::operator= ( const indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator > &  img) [inline]

Field Documentation

template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
indices_t boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::_indices [private]
template<typename Index, typename Pixel, typename IndicesAllocator = std::allocator< unsigned char >, typename PalleteAllocator = std::allocator< unsigned char >>
palette_t boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::_palette [private]

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