RectSource Namespace Reference

Functions

template<class T >
CalculateGraySlope (int length, double center, int pos, T inVal, T outVal)
template<class T >
void DefineLine (int MinInX, int MaxInX, int LineLength, T inVal, T outVal, int InsideGraySlopeFlag, T *Result)
template<class T >
void DefineSlice (int **Corners, int RowLength, int LineLength, T inVal, T outVal, int InsideGraySlopeFlag, T *Result, int IncResultY)
int DefineX (int *c1, int *c2, int y)
void DefineXMinMaxInTriangle (int *c1, int *c2, int *c3, int y, int &MinX, int &MaxX)
void DefineXMinMaxInTriangleNormal (int *c1, int *c2, int *c3, int y, int &MinX, int &MaxX)
int Max (int x1, int x2, int x3, int x4)
int Max (int x1, int x2, int x3)
int Max (int x1, int x2)
int Min (int x1, int x2, int x3, int x4)
int Min (int x1, int x2, int x3)
int Min (int x1, int x2)
void Sort (int x1, int x2, int x3, int &xMin, int &xMean, int &xMax)
void Sort (int x1, int x2, int &xMin, int &xMax)

Function Documentation

template<class T >
T RectSource::CalculateGraySlope ( int  length,
double  center,
int  pos,
inVal,
outVal 
) [inline]

Referenced by DefineLine().

template<class T >
void RectSource::DefineLine ( int  MinInX,
int  MaxInX,
int  LineLength,
inVal,
outVal,
int  InsideGraySlopeFlag,
T *  Result 
) [inline]

References CalculateGraySlope(), and double().

Referenced by DefineSlice().

template<class T >
void RectSource::DefineSlice ( int **  Corners,
int  RowLength,
int  LineLength,
inVal,
outVal,
int  InsideGraySlopeFlag,
T *  Result,
int  IncResultY 
) [inline]
int RectSource::DefineX ( int c1,
int c2,
int  y 
)

References double(), Max(), Min(), and Scale().

Referenced by DefineXMinMaxInTriangleNormal().

void RectSource::DefineXMinMaxInTriangle ( int c1,
int c2,
int c3,
int  y,
int MinX,
int MaxX 
)

References DefineXMinMaxInTriangleNormal().

Referenced by DefineSlice().

void RectSource::DefineXMinMaxInTriangleNormal ( int c1,
int c2,
int c3,
int  y,
int MinX,
int MaxX 
)

References DefineX(), Max(), Min(), and Sort().

Referenced by DefineXMinMaxInTriangle().

int RectSource::Max ( int  x1,
int  x2,
int  x3,
int  x4 
)

References Max().

int RectSource::Max ( int  x1,
int  x2,
int  x3 
)

References Max().

int RectSource::Max ( int  x1,
int  x2 
)
int RectSource::Min ( int  x1,
int  x2,
int  x3,
int  x4 
)

References Min().

int RectSource::Min ( int  x1,
int  x2,
int  x3 
)

References Min().

int RectSource::Min ( int  x1,
int  x2 
)
void RectSource::Sort ( int  x1,
int  x2,
int  x3,
int xMin,
int xMean,
int xMax 
)

References Sort().

void RectSource::Sort ( int  x1,
int  x2,
int xMin,
int xMax 
)

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1