#ifndef _MESHWRP_PERSPECTIVEWARP_HPP_ #define _MESHWRP_PERSPECTIVEWARP_HPP_ //#include class PerspectiveWarp { public: enum Type{Incremental,None}; enum Operation{Add,Subtract,Multiply,Divide}; PerspectiveWarp(void); // PerspectiveWarp(WORD width,WORD height,UHUGE *hpImageInvert,double wRow,double wCol); // PerspectiveWarp(WORD width,WORD height,double wRow,double wCol,Operation colOp,double colIncr,Operation rowOp,double rowIncr,UHUGE *hpImageInvert); virtual ~PerspectiveWarp(); // Image performPerspectiveWarp(Image &image,double wRow,double wCol,Operation colOp,double colIncr,Operation rowOp,double rowIncr); // HGLOBAL performPerspectiveWarp(void); private: HGLOBAL incrementalWarp(void); HGLOBAL nonIncrementalWarp(void); double mwRow; double mwCol; double mRowIncr; double mColIncr; Operation mRowOp; Operation mColOp; WORD mWidth; WORD mHeight; Type mWarpType; UHUGE *mhpImageInvert; }; #endif