Public Member Functions | Public Attributes

mln::internal::data< image2d< T > > Struct Template Reference

Data structure for mln::image2d<T>. More...

#include <image2d.hh>

List of all members.

Public Member Functions

void allocate_ ()
 data (const box2d &b, unsigned bdr)
void deallocate_ ()
void reallocate_ (unsigned new_border)
void swap_ (data< image2d< T > > &other_)
void update_vb_ ()
 ~data ()

Public Attributes

T ** array_
box2d b_
unsigned bdr_
T * buffer_
box2d vb_

Detailed Description

template<typename T>
struct mln::internal::data< image2d< T > >

Data structure for mln::image2d<T>.

Definition at line 70 of file core/image/image2d.hh.


Constructor & Destructor Documentation

template<typename T >
mln::internal::data< image2d< T > >::data ( const box2d b,
unsigned  bdr 
) [inline]

Definition at line 302 of file core/image/image2d.hh.

template<typename T >
mln::internal::data< image2d< T > >::~data (  )  [inline]

Definition at line 313 of file core/image/image2d.hh.


Member Function Documentation

template<typename T >
void mln::internal::data< image2d< T > >::allocate_ (  )  [inline]

Definition at line 330 of file core/image/image2d.hh.

template<typename T >
void mln::internal::data< image2d< T > >::deallocate_ (  )  [inline]

Definition at line 352 of file core/image/image2d.hh.

template<typename T >
void mln::internal::data< image2d< T > >::reallocate_ ( unsigned  new_border  )  [inline]

Definition at line 380 of file core/image/image2d.hh.

template<typename T >
void mln::internal::data< image2d< T > >::swap_ ( data< image2d< T > > &  other_  )  [inline]

Definition at line 370 of file core/image/image2d.hh.

template<typename T >
void mln::internal::data< image2d< T > >::update_vb_ (  )  [inline]

Definition at line 321 of file core/image/image2d.hh.

References mln::all_to().


Member Data Documentation

template<typename T >
T** mln::internal::data< image2d< T > >::array_

Definition at line 76 of file core/image/image2d.hh.

template<typename T >
box2d mln::internal::data< image2d< T > >::b_

Definition at line 78 of file core/image/image2d.hh.

template<typename T >
unsigned mln::internal::data< image2d< T > >::bdr_

Definition at line 79 of file core/image/image2d.hh.

template<typename T >
T* mln::internal::data< image2d< T > >::buffer_

Definition at line 75 of file core/image/image2d.hh.

template<typename T >
box2d mln::internal::data< image2d< T > >::vb_

Definition at line 80 of file core/image/image2d.hh.