USGS

Isis 3.0 Application Source Code Reference

Home

nocam2map.h

Go to the documentation of this file.
00001 #ifndef nocam2map_h
00002 #define nocam2map_h
00003 
00004 #include "Transform.h"
00005 
00006 /**
00007  * @author ????-??-?? Unknown
00008  *
00009  * @internal
00010  */
00011 class nocam2map : public Isis::Transform {
00012   private:
00013     Isis::LeastSquares *p_sampleSol;
00014     Isis::LeastSquares *p_lineSol;
00015     Isis::Projection *p_outmap;
00016     Isis::Cube *p_latCube;
00017     Isis::Cube *p_lonCube;
00018     bool p_isOcentric;
00019     bool p_isPosEast;
00020     int p_inputSamples;
00021     int p_inputLines;
00022     int p_outputSamples;
00023     int p_outputLines;
00024     double p_latCenter;
00025     double p_lonCenter;
00026     double p_radius;
00027     double p_tolerance;
00028     int p_iterations;
00029 
00030   public:
00031     // constructor
00032     nocam2map(Isis::LeastSquares sample, Isis::LeastSquares line, Isis::Projection *outmap,
00033               Isis::Cube *latCube, Isis::Cube *lonCube,
00034               bool isOcentric , bool isPosEast,
00035               double tolerance, int iterations,
00036               const int inputSamples, const int inputLines,
00037               const int outputSamples, const int outputLines);
00038 
00039     // destructor
00040     ~nocam2map() {};
00041 
00042     // Implementations for parent's pure virtual members
00043     bool Xform(double &inSample, double &inLine,
00044                const double outSample, const double outLine);
00045     int OutputSamples() const;
00046     int OutputLines() const;
00047 };
00048 
00049 #endif