1 #ifndef ProjectionFactory_h 
    2 #define ProjectionFactory_h 
   32   class RingPlaneProjection;
 
  100                                              bool sizeMatch = 
true); 
 
  102                                                    int &samples, 
int &lines,
 
  105                                              int &samples, 
int &lines,
 
  108                                                    int &samples, 
int &lines,
 
  122       static Plugin m_projPlugin;
 
  140       PFPixelMapper(
double pixelResolution, 
double upperLeftX, 
double upperLeftY) {
 
  141         p_pixelResolution = pixelResolution;
 
  142         p_upperLeftX = upperLeftX;
 
  143         p_upperLeftY = upperLeftY;
 
  152       double WorldX(
const double projX)
 const {
 
  153         return (projX - p_upperLeftX) / p_pixelResolution + 0.5;
 
  162       double WorldY(
const double projY)
 const {
 
  163         return (p_upperLeftY - projY) / p_pixelResolution + 0.5;
 
  173         return (sample - 0.5) * p_pixelResolution + p_upperLeftX;
 
  183         return p_upperLeftY - (line - 0.5) * p_pixelResolution;
 
  188         return p_pixelResolution;
 
  192       double p_pixelResolution;
 
static Isis::Projection * Create(Isis::Pvl &label, bool allowDefaults=false)
This method returns a pointer to a Projection object. 
Definition: ProjectionFactory.cpp:67
 
static Isis::Projection * CreateFromCube(Isis::Cube &cube)
This method is a helper method. 
Definition: ProjectionFactory.cpp:1085
 
double WorldX(const double projX) const 
Returns the world x position for the given x projection value. 
Definition: ProjectionFactory.h:152
 
static Isis::Projection * RingsCreate(Isis::Pvl &label, bool allowDefaults=false)
This method returns a pointer to a RingPlaneProjection object. 
Definition: ProjectionFactory.cpp:135
 
Loads plugins from a shared library. 
Definition: Plugin.h:71
 
static Isis::Projection * RingsCreateForCube(Isis::Pvl &label, int &samples, int &lines, bool sizeMatch)
This method creates a projection for a cube to a ring plane given a label. 
Definition: ProjectionFactory.cpp:448
 
Definition: ProjectionFactory.h:131
 
Initialize a map projection. 
Definition: ProjectionFactory.h:91
 
Base class for Map Projections. 
Definition: Projection.h:169
 
static Isis::Projection * CreateForCube(Isis::Pvl &label, int &ns, int &nl, bool sizeMatch=true)
This method creates a map projection for a cube given a label. 
Definition: ProjectionFactory.cpp:204
 
double Resolution() const 
Returns the pixel resolution. 
Definition: ProjectionFactory.h:187
 
static Isis::Projection * RingsCreateFromCube(Isis::Cube &cube)
This method is a helper method. 
Definition: ProjectionFactory.cpp:1097
 
PFPixelMapper(double pixelResolution, double upperLeftX, double upperLeftY)
Constructs a PFFixelMapper object with the given pixel resolution and location. 
Definition: ProjectionFactory.h:140
 
Container for cube-like labels. 
Definition: Pvl.h:135
 
double ProjectionY(const double line) const 
Returns the y projection of the given line. 
Definition: ProjectionFactory.h:182
 
double WorldY(const double projY) const 
Returns the world y position for the given y projection value. 
Definition: ProjectionFactory.h:162
 
Create a mapping between a projection and other coordinate system. 
Definition: WorldMapper.h:54
 
double ProjectionX(const double sample) const 
Returns the x projection of the given sample. 
Definition: ProjectionFactory.h:172
 
IO Handler for Isis Cubes. 
Definition: Cube.h:158