oln::dpoint3d Class Reference

#include <dpoint3d.hh>

Inheritance diagram for oln::dpoint3d:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef abstract::dpoint<
dpoint3d
super_type

Public Member Functions

 dpoint3d (coord slice, coord row, coord col)
 The coordinates of the dpoint3d are set to slice, row, and col.

 dpoint3d (const point3d &p)
 The coordinates of the dpoint3d are set to the p coordinates.

coord slice () const
 Return the value of the dpoint3d slice coordinate.

coordslice ()
 Return a reference to the dpoint3d slice coordinate.

coord row () const
 Give the value of the dpoint3d row coordinate.

coordrow ()
 Return a reference to the dpoint3d row coordinate.

coord col () const
 Return the value of the dpoint3d column coordinate.

coordcol ()
 Return a reference to the dpoint3d column coordinate.


Static Public Member Functions

std::string name ()

Protected Member Functions

dpoint3d plus_dp (const dpoint3d &dp) const
 Return a dpoint3d whose coordinates are equal to dp coordinates plus the current dpoint3d coordinates.

dpoint3d minus () const
 Return a dpoint3d whose coordinates are equal to the opposite of the current dpoint3d coordinates.

dpoint3d minus_dp (const dpoint3d &dp) const
 Return a dpoint3d whose coordinates are equal to the current dpoint3d coordinates minus dp coordinates.

dpoint3dplus_assign_dp (const dpoint3d &dp)
 Return a reference to the current dpoint3d plus dp.

dpoint3dminus_assign_dp (const dpoint3d &dp)
 Return a reference to the current dpoint3d minus 'dp'.


Friends

class abstract::dpoint< dpoint3d >

Detailed Description

Subclass of abstract::dpoint, declaration of dpoint for image3d. To instantiate a dpoint3d on an oln::image3d<ntg::rgb_8> for example, use the macro oln_dpoint_type(I).
oln_dpoint_type(oln::image3d<ntg::rgb_8>) dp();
or
oln_dpoint_type(oln::image3d<ntg::rgb_8>) dp(1, 2, 3);

Definition at line 65 of file dpoint3d.hh.


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