oln::morpher::super_piece_morpher< SrcType, Exact > Class Template Reference

Abstract piece morpher class used for code factorization. More...

#include <piece_morpher.hh>

Inheritance diagram for oln::morpher::super_piece_morpher< SrcType, Exact >:

Inheritance graph
[legend]
Collaboration diagram for oln::morpher::super_piece_morpher< SrcType, Exact >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef super_piece_morpher<
SrcType, Exact > 
self_type
 The self type.

typedef image_id< self_type
>::exact_type 
exact_type
 The exact type of the morpher.

typedef abstract::generic_morpher<
SrcType, Exact > 
super_type
 The upper class.

typedef image_id< exact_type
>::dpoint_type 
dpoint_type
 The morpher dpoint type.

typedef image_id< exact_type
>::size_type 
size_type
 The morpher size type.


Public Member Functions

const size_type size () const
 Return the size (different from the original picture).

const dpoint_type ref_point () const
 Return the reference point.


Static Public Member Functions

std::string name ()
 Useful to debug.


Protected Member Functions

 super_piece_morpher (const SrcType &ima, const dpoint_type &p, const size_type &s)
 Default constructor.
  • ima will be the image.
  • p The reference point.
  • s The size of the piece of image.


 super_piece_morpher ()
 Empty constructor.


Protected Attributes

const size_type size_
 The size of the piece of picture.

const dpoint_type p_
 The reference point of the piece of picture.


Detailed Description

template<class SrcType, class Exact>
class oln::morpher::super_piece_morpher< SrcType, Exact >

Abstract piece morpher class used for code factorization.

Definition at line 91 of file piece_morpher.hh.


Constructor & Destructor Documentation

template<class SrcType, class Exact>
oln::morpher::super_piece_morpher< SrcType, Exact >::super_piece_morpher const SrcType &  ima,
const dpoint_type p,
const size_type s
[inline, protected]
 

Default constructor.

  • ima will be the image.
  • p The reference point.
  • s The size of the piece of image.

One can not use this constructor to instantiate this class since it is protected.

Definition at line 115 of file piece_morpher.hh.

00117         : super_type(ima), size_(s), p_(p)
00118       {}

template<class SrcType, class Exact>
oln::morpher::super_piece_morpher< SrcType, Exact >::super_piece_morpher  )  [inline, protected]
 

Empty constructor.

Needed by mlc_hierarchy::any_with_diamond.

Definition at line 129 of file piece_morpher.hh.

00130       {}


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