utilities.hpp File Reference


Detailed Description

Various utilities not specific to the image library. Some are non-standard STL extensions or generic iterator adaptors.

Author:
Lubomir Bourdev and Hailin Jin
Adobe Systems Incorporated
Date:
2005-2007
Last updated on August 14, 2007

#include "gil_config.hpp"
#include <functional>
#include <cmath>
#include <cstddef>
#include <boost/static_assert.hpp>
#include <boost/type_traits.hpp>
#include <boost/mpl/size.hpp>
#include <boost/mpl/distance.hpp>
#include <boost/mpl/begin.hpp>
#include <boost/mpl/find.hpp>
#include <boost/mpl/range_c.hpp>
#include <boost/iterator/iterator_adaptor.hpp>
#include <boost/iterator/iterator_facade.hpp>

Go to the source code of this file.


Namespaces

namespace  boost
namespace  boost::gil
namespace  boost::gil::detail

Classes

class  point2
 2D point both axes of which have the same dimension type

Models: Point2DConcept More...

struct  deref_base
 Helper base class for pixel dereference adaptors. More...
class  deref_compose
 Composes two dereference function objects. Similar to std::unary_compose but needs to pull some typedefs from the component types. Models: PixelDereferenceAdaptorConcept. More...
struct  identity
 identity taken from SGI STL. More...
struct  plus_asymmetric
 plus function object whose arguments may be of different type. More...
struct  inc
 operator++ wrapped in a function object More...
struct  dec
 operator-- wrapped in a function object More...
struct  type_to_index
 Returns the index corresponding to the first occurrance of a given given type in. More...
struct  layout
 Represents a color space and ordering of channels in memory. More...

Functions

template<typename T>
GIL_FORCEINLINE bool boost::gil::operator== (const point2< T > &p1, const point2< T > &p2)
template<typename T>
GIL_FORCEINLINE bool boost::gil::operator!= (const point2< T > &p1, const point2< T > &p2)
template<typename T>
GIL_FORCEINLINE point2< T > boost::gil::operator+ (const point2< T > &p1, const point2< T > &p2)
template<typename T>
GIL_FORCEINLINE point2< T > boost::gil::operator- (const point2< T > &p)
template<typename T>
GIL_FORCEINLINE point2< T > boost::gil::operator- (const point2< T > &p1, const point2< T > &p2)
template<typename T>
GIL_FORCEINLINE point2< double > boost::gil::operator/ (const point2< T > &p, double t)
template<typename T>
GIL_FORCEINLINE point2< T > boost::gil::operator * (const point2< T > &p, int t)
template<typename T>
GIL_FORCEINLINE point2< T > boost::gil::operator * (int t, const point2< T > &p)
template<std::size_t K, typename T>
const T & boost::gil::axis_value (const point2< T > &p)
template<std::size_t K, typename T>
T & boost::gil::axis_value (point2< T > &p)
int boost::gil::iround (float x)
int boost::gil::iround (double x)
int boost::gil::ifloor (float x)
int boost::gil::ifloor (double x)
int boost::gil::iceil (float x)
int boost::gil::iceil (double x)
point2< int > boost::gil::iround (const point2< float > &p)
point2< int > boost::gil::iround (const point2< double > &p)
point2< int > boost::gil::ifloor (const point2< float > &p)
point2< int > boost::gil::ifloor (const point2< double > &p)
point2< int > boost::gil::iceil (const point2< float > &p)
point2< int > boost::gil::iceil (const point2< double > &p)
template<typename T>
boost::gil::align (T val, std::size_t alignment)
template<typename OutPtr, typename In>
GIL_FORCEINLINE OutPtr boost::gil::gil_reinterpret_cast (In *p)
template<typename OutPtr, typename In>
GIL_FORCEINLINE const OutPtr boost::gil::gil_reinterpret_cast_c (const In *p)
template<class InputIter, class Size, class OutputIter>
std::pair< InputIter, OutputIter > boost::gil::detail::_copy_n (InputIter first, Size count, OutputIter result, std::input_iterator_tag)
 copy_n taken from SGI STL.
template<class RAIter, class Size, class OutputIter>
std::pair< RAIter, OutputIter > boost::gil::detail::_copy_n (RAIter first, Size count, OutputIter result, std::random_access_iterator_tag)
template<class InputIter, class Size, class OutputIter>
std::pair< InputIter, OutputIter > boost::gil::detail::_copy_n (InputIter first, Size count, OutputIter result)
template<class InputIter, class Size, class OutputIter>
std::pair< InputIter, OutputIter > boost::gil::detail::copy_n (InputIter first, Size count, OutputIter result)
template<typename Value, typename T1, typename T2>
void boost::gil::swap_proxy (T1 &left, T2 &right)
 A version of swap that also works with reference proxy objects.
bool boost::gil::little_endian ()
 Run-time detection of whether the underlying architecture is little endian.
bool boost::gil::big_endian ()
 Run-time detection of whether the underlying architecture is big endian.

Copyright © 2006-2007 Adobe Systems Incorporated.

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

Search powered by Google