oln::image2d_size Struct Reference

#include <image2d_size.hh>

Inheritance diagram for oln::image2d_size:

Inheritance graph
[legend]
Collaboration diagram for oln::image2d_size:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 image2d_size (coord nrows, coord ncols, coord border)
 Image2d_size constructor.

coord nrows () const
 Return the number of rows in the image.

coordnrows ()
 Return a reference to the number of rows in the image.

coord ncols () const
 Return the number of columns in the image.

coordncols ()
 Return a reference to the number of columns in the image.


Static Public Member Functions

std::string name ()

Detailed Description

Size_type for image2d.

Definition at line 56 of file image2d_size.hh.


Constructor & Destructor Documentation

oln::image2d_size::image2d_size coord  nrows,
coord  ncols,
coord  border
[inline]
 

Image2d_size constructor.

  • nrows The number of rows in the image is set to nrows.
  • ncols The number of columns in the image is set to ncols.
  • border The border width of the image is set to border.

Definition at line 70 of file image2d_size.hh.

References oln::coord, and oln::abstract::image_size< image2d_size >::nth().

00071     {
00072       nth(0) = nrows;
00073       nth(1) = ncols;
00074       border_ = border;
00075     }


The documentation for this struct was generated from the following file:
Generated on Thu Apr 15 20:14:18 2004 for Olena by doxygen 1.3.6-20040222