Main Page   Class Hierarchy   Compound List   File List   Compound Members  

RectTrilinear.h

00001 // RectTrilinear.h: interface for the CRectTrilinear class.
00002 //
00004 
00005 #if !defined(AFX_RECTTRILINEAR_H__24E7B1DA_18C2_4F6C_AF0D_0665AE0C74A5__INCLUDED_)
00006 #define AFX_RECTTRILINEAR_H__24E7B1DA_18C2_4F6C_AF0D_0665AE0C74A5__INCLUDED_
00007 
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011 
00012 #include "Interpolator.h"
00013 #include "SamplePoint.h"        // Added by ClassView
00014 
00016 
00022 class CRectTrilinear : public CInterpolator  
00023 {
00024 public:
00025         CRectTrilinear();
00026         virtual void Interpolate(CSamplePoint *sp, CPoint3D &position,CSamplePoint ** neighbour);
00027         virtual ~CRectTrilinear();
00028 
00029 private:
00030         CSamplePoint m_HSampleP[6];
00031         void LinearInterpolate(CSamplePoint *sp, int axis,CPoint3D &position,CSamplePoint *s1,CSamplePoint *s2);
00032         CPoint3D m_CurrentPos;
00033 };
00034 
00035 #endif // !defined(AFX_RECTTRILINEAR_H__24E7B1DA_18C2_4F6C_AF0D_0665AE0C74A5__INCLUDED_)

Generated on Fri Aug 9 10:12:39 2002 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002