Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

StimulusParameterMap< MapBaseType, ValuePointer > Class Template Reference

#include <stimulusparametermap.h>

Inheritance diagram for StimulusParameterMap< MapBaseType, ValuePointer >:

Inheritance graph
[legend]
Collaboration diagram for StimulusParameterMap< MapBaseType, ValuePointer >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class MapBaseType, class ValuePointer>
class StimulusParameterMap< MapBaseType, ValuePointer >

Base class for objects which compute and store the preference of a given region for a stimulus parameter.

The ValuePointer may be any object that when dereferenced will give the current value of the stimulus parameter. The base class only specifies two useful virtual functions, map() and selectivity(); the rest are left for subclasses.

Definition at line 29 of file stimulusparametermap.h.

Public Types

typedef MapBaseType::size_type Subscript

Public Methods

 StimulusParameterMap (const string &name_, ValuePointer &valueptr_)
 Constructor.

int undefined_values () const
 Returns the number of pixels whose values were undefined in the last call to selectivity() or vector_direction_map().

virtual MapBaseType * map () const=0
virtual MapBaseType * selectivity () const=0
const string & name () const

Protected Methods

void undefined_values_start (const int undefined_values) const
 Take the given count as the start for undefined_values.

void undefined_values_end (const int undefined_values) const
 Take the given count as the end of the undefined_values.


Protected Attributes

ValuePointer & valueptr


The documentation for this class was generated from the following file:
Generated on Mon Jan 20 02:37:23 2003 for RF-LISSOM by doxygen1.3-rc2