oln::dpoint1d Class Reference

#include <dpoint1d.hh>

Inheritance diagram for oln::dpoint1d:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef abstract::dpoint<
dpoint1d
super_type

Public Member Functions

 dpoint1d ()
 dpoint1d (coord c)
 The coordinate of the dpoint1d is set to c.
 dpoint1d (const point1d &p)
 The coordinate of the dpoint1d is set to the coordinate.
coord col () const
 Return the value of the dpoint1d coordinate.
coordcol ()
 Return a reference to the dpoint1d coordinate.

Static Public Member Functions

static std::string name ()

Protected Member Functions

dpoint1d plus_dp (const dpoint1d &dp) const
 Return a dpoint1d whose coordinate is equal to dp coordinate plus the current dpoint1d coordinate.
dpoint1d minus () const
 Return a dpoint1d whose coordinate is equal to the opposite of the current dpoint1d coordinate.
dpoint1d minus_dp (const dpoint1d &dp) const
 Return a dpoint1d whose coordinate is equal to the current dpoint1d coordinate minus 'dp' coordinate.
dpoint1dplus_assign_dp (const dpoint1d &dp)
 Return a reference to the current dpoint1d plus 'dp'.
dpoint1dminus_assign_dp (const dpoint1d &dp)
 Return a reference to the current dpoint1d minus 'dp'.

Friends

class abstract::dpoint< dpoint1d >

Detailed Description

Subclass of abstract::dpoint, declaration of dpoint for image1d. To instantiate a dpoint1d on an oln::image1d<ntg::rgb_8> for example, use the macro oln_dpoint_type(I).
oln_dpoint_type(oln::image1d<ntg::rgb_8>) p();
or
oln_dpoint_type(oln::image1d<ntg::rgb_8>) p(1);

Definition at line 68 of file dpoint1d.hh.


The documentation for this class was generated from the following files:
Generated on Tue Feb 20 20:24:02 2007 for Olena by  doxygen 1.5.1