Gradient Class Reference

A class that manages gradient data for a given input image. More...

#include <Gradient.h>

Collaboration diagram for Gradient:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Gradient (Data *input, Vector<> boundaryValues=Vector<>(0, 0, 0))
 ~Gradient ()
unsigned short xdim () const
unsigned short ydim () const
unsigned short zdim () const
Vector getData (unsigned int aX, unsigned int aY, unsigned int aZ) const
Vector getData_RangeCheck (int aX, int aY, int aZ)
Vector getDataTrilinearInterpolated (float aX, float aY, float aZ)

Private Attributes

VectormData
Vector mBoundaryValues
unsigned short mX
unsigned short mY
unsigned short mZ

Detailed Description

A class that manages gradient data for a given input image.

This is a discrete approximation to the mathematical gradient definition. For each data point, a gradient vector can be obtained.


Constructor & Destructor Documentation

Gradient::Gradient Data input,
Vector<>  boundaryValues = Vector<>(0, 0, 0)
 

Gradient::~Gradient  ) 
 


Member Function Documentation

Vector Gradient::getData unsigned int  aX,
unsigned int  aY,
unsigned int  aZ
const [inline]
 

Vector Gradient::getData_RangeCheck int  aX,
int  aY,
int  aZ
[inline]
 

Vector Gradient::getDataTrilinearInterpolated float  aX,
float  aY,
float  aZ
[inline]
 

unsigned short Gradient::xdim  )  const [inline]
 

unsigned short Gradient::ydim  )  const [inline]
 

unsigned short Gradient::zdim  )  const [inline]
 


Member Data Documentation

Vector Gradient::mBoundaryValues [private]
 

Vector* Gradient::mData [private]
 

unsigned short Gradient::mX [private]
 

unsigned short Gradient::mY [private]
 

unsigned short Gradient::mZ [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Dec 19 00:13:42 2005 for Visualization by  doxygen 1.4.5