Main Page | Class Hierarchy | Class List | File List | Class Members

Neighborhood Class Reference

Neighborhood class. Contains an array of neighbor locations. More...

#include <MedianFilter.h>

List of all members.

Public Member Functions

 Neighborhood ()
 Default constructor.
void print () const
 Print function for debugging purposes.
int getSize () const
 Get the number of neighbors in the neighborhood.
Vector3ioperator[] (int i)
 Retrieve or set the ith neighbor.
const Vector3ioperator[] (int i) const
 Retrieve the ith neighbor location.
void setSize (int s)
 Set the number of neighbors in the neighborhood.
void addNeighbor (const Vector3i &l)
 Add a neighbor location.


Detailed Description

Neighborhood class. Contains an array of neighbor locations.


Member Function Documentation

void Neighborhood::setSize int  s  )  [inline]
 

Set the number of neighbors in the neighborhood.

Can be used to clear the neighbors.


The documentation for this class was generated from the following file:
Generated on Thu Apr 13 04:55:57 2006 by  doxygen 1.4.4