Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

vlNeighborhood3D Class Reference

This class creates a neighborhood which includes voxels in the immediate neighborhood in 3D. More...

#include <vlneighborhood_3d.h>

Inheritance diagram for vlNeighborhood3D:

vlNeighborhood List of all members.

Public Member Functions

 vlNeighborhood3D (uint16 count=6)
 Default constructor.

 ~vlNeighborhood3D ()

Detailed Description

The neighborhood can be either 6 (along X,Y and Z direction) or 18 (along X,Y,Z + along minor digonals) or 26 (all the previous ones + along major digonals). This type of neighborhood is often needed in image processing.

To create this neighborhood, just call the constructor with the count that you need. The count can only have three possible values : 6, 18 or 26.

See also:
vlNeighborhood

Definition at line 44 of file vlneighborhood_3d.h.


Constructor & Destructor Documentation

vlNeighborhood3D::vlNeighborhood3D uint16  count = 6  ) 
 

Takes count as argument. Count is the number of neighbors to consider. It can only be 6, 18 or 26.

Definition at line 29 of file vlneighborhood_3d.cpp.

References vlNeighborhood::m_offsets.

vlNeighborhood3D::~vlNeighborhood3D  ) 
 

Definition at line 73 of file vlneighborhood_3d.cpp.


The documentation for this class was generated from the following files:
Generated on Fri Mar 18 11:33:18 2005 for OpenVL by doxygen 1.3.3