Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

vnl_unary_function< Return, Argument > Class Template Reference

#include <vnl_unary_function.h>

Inheritance diagram for vnl_unary_function:

Inheritance graph
[legend]
List of all members.

Public Types

typedef vnl_numeric_limits<
Return > 
limits

Public Methods

virtual Return f (Argument const &i)=0
virtual Return get_range_min () const
virtual Return get_range_max () const
virtual vnl_unary_function<
Return, Argument > * 
Copy () const
virtual ~vnl_unary_function ()

Detailed Description

template<class Return, class Argument>
class vnl_unary_function< Return, Argument >

Abstract 1D map.

Definition at line 24 of file vnl_unary_function.h.


Member Typedef Documentation

template<class Return, class Argument>
typedef vnl_numeric_limits<Return> vnl_unary_function< Return, Argument >::limits
 

Definition at line 26 of file vnl_unary_function.h.


Constructor & Destructor Documentation

template<class Return, class Argument>
virtual vnl_unary_function< Return, Argument >::~vnl_unary_function   [inline, virtual]
 

Definition at line 50 of file vnl_unary_function.h.


Member Function Documentation

template<class Return, class Argument>
virtual vnl_unary_function<Return,Argument>* vnl_unary_function< Return, Argument >::Copy   const [inline, virtual]
 

Copy should allocate a copy of this on the heap and return it.\ If. Subclasses do not implement this function, it will return null, but many applications will never call it, so this may not be a problem for you.

Reimplemented in vnl_identity< T >.

Definition at line 48 of file vnl_unary_function.h.

template<class Return, class Argument>
virtual Return vnl_unary_function< Return, Argument >::f Argument const &    i [pure virtual]
 

Apply the function.\ The name is "f" rather than operator(), as the. function will generally be called through a pointer. Note that the function is NOT const when you subclass.

Implemented in vnl_identity< T >.

template<class Return, class Argument>
virtual Return vnl_unary_function< Return, Argument >::get_range_max   const [inline, virtual]
 

Definition at line 42 of file vnl_unary_function.h.

template<class Return, class Argument>
virtual Return vnl_unary_function< Return, Argument >::get_range_min   const [inline, virtual]
 

Return bounding cube of range (outputs).

Definition at line 41 of file vnl_unary_function.h.


The documentation for this class was generated from the following file:
Generated at Wed Mar 12 01:13:41 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000