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