TuttleOFX
1
|
#include <indexed_image.hpp>
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_image & | operator= (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 |
Definition at line 207 of file indexed_image.hpp.
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.
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.
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.
typedef image< Index, false, IndicesAllocator > boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::indices_t |
Definition at line 211 of file indexed_image.hpp.
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.
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.
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.
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.
typedef image< Pixel, false, PalleteAllocator > boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::palette_t |
Definition at line 212 of file indexed_image.hpp.
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.
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.
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.
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.
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.
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().
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.
boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::indexed_image | ( | const indexed_image< Pixel2, Index2 > & | img | ) | [inline] |
indices_const_view_t boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::get_indices_const_view | ( | ) | const [inline] |
Definition at line 277 of file indexed_image.hpp.
References boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::_view, and boost::gil::indexed_image_view< Locator >::get_indices_view().
indices_view_t boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::get_indices_view | ( | ) | [inline] |
Definition at line 280 of file indexed_image.hpp.
References boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::_view, and boost::gil::indexed_image_view< Locator >::get_indices_view().
palette_const_view_t boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::get_palette_const_view | ( | ) | const [inline] |
Definition at line 278 of file indexed_image.hpp.
References boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::_view, and boost::gil::indexed_image_view< Locator >::get_palette_view().
palette_view_t boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::get_palette_view | ( | ) | [inline] |
Definition at line 281 of file indexed_image.hpp.
References boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::_view, and boost::gil::indexed_image_view< Locator >::get_palette_view().
void boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::init | ( | const point_t & | dimensions, |
const std::size_t | num_colors | ||
) | [inline, private] |
Definition at line 289 of file indexed_image.hpp.
References boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::_indices, boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::_palette, boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::_view, and boost::gil::view().
Referenced by boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::indexed_image().
indexed_image& boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::operator= | ( | const indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator > & | img | ) | [inline] |
indices_t boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::_indices [private] |
Definition at line 314 of file indexed_image.hpp.
Referenced by boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::indexed_image(), boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::init(), and boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::operator=().
palette_t boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::_palette [private] |
Definition at line 315 of file indexed_image.hpp.
Referenced by boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::indexed_image(), boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::init(), and boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::operator=().
view_t boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::_view |
Definition at line 285 of file indexed_image.hpp.
Referenced by boost::gil::const_view(), boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::get_indices_const_view(), boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::get_indices_view(), boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::get_palette_const_view(), boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::get_palette_view(), boost::gil::indexed_image< Index, Pixel, IndicesAllocator, PalleteAllocator >::init(), and boost::gil::view().