14 #ifndef ossimMapProjection_HEADER 15 #define ossimMapProjection_HEADER 1 65 const double& heightAboveEllipsoid,
68 virtual void lineSampleToEastingNorthing(
const ossimDpt& liineSample,
71 virtual void eastingNorthingToLineSample(
const ossimDpt& eastingNorthing,
74 virtual void eastingNorthingToWorld(
const ossimDpt& eastingNorthing,
79 virtual double getFalseEasting()
const;
82 virtual double getFalseNorthing()
const;
90 virtual double getStandardParallel1()
const;
98 virtual double getStandardParallel2()
const;
100 virtual void update();
115 virtual double getA()
const;
116 virtual double getB()
const;
117 virtual double getF()
const;
125 virtual const ossimDpt& getDecimalDegreesPerPixel()
const;
127 virtual const ossimDpt& getUlEastingNorthing()
const;
128 virtual const ossimGpt& getUlGpt()
const;
132 virtual bool isGeographic()
const;
147 virtual void applyScale(
const ossimDpt& scale,
bool recenterTiePoint);
153 virtual void setAB(
double a,
double b);
160 virtual void setDatum(
const ossimDatum* datum);
170 virtual void setOrigin(
const ossimGpt& origin);
172 virtual void setMetersPerPixel(
const ossimDpt& gsd);
173 virtual void setDecimalDegreesPerPixel(
const ossimDpt& gsd);
174 virtual void setUlTiePoints(
const ossimGpt& gpt);
175 virtual void setUlTiePoints(
const ossimDpt& eastingNorthing);
176 virtual void setUlEastingNorthing(
const ossimDpt& ulEastingNorthing);
177 virtual void setUlGpt(
const ossimGpt& ulGpt);
185 const char* prefix=0)
const;
192 const char* prefix=0);
206 virtual void computeDegreesPerPixel();
214 virtual void computeMetersPerPixel();
216 void setMatrix(
double rotation,
220 void setMatrixScale(
const ossimDpt& scale);
222 void setMatrixRotation(
double rotation);
224 void setMatrixTranslation(
const ossimDpt& translation);
251 void snapTiePointToOrigin();
253 void setElevationLookupFlag(
bool flag);
254 bool getElevationLookupFlag()
const;
257 return theModelTransformUnitType;
261 theModelTransformUnitType = unit;
302 void updateFromTransform();
ossimMatrix4x4 theModelTransform
ossimUnitType getModelTransformUnitType() const
Represents serializable keyword/value map.
virtual std::ostream & print(std::ostream &out) const
Outputs theErrorStatus as an ossimErrorCode and an ossimString.
ossimDpt theUlEastingNorthing
Hold tie point as easting northing.
virtual ossimGpt inverse(const ossimDpt &pp) const
ossimGpt theUlGpt
Hold tie point in decimal degrees.
ossimMatrix4x4 theInverseModelTransform
bool theElevationLookupFlag
virtual bool isEqualTo(const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
virtual bool operator==(const ossimProjection &projection) const =0
ossimDpt theMetersPerPixel
Holds the number of meters per pixel.
bool hasModelTransform() const
ossimUnitType theModelTransformUnitType
virtual ossimDpt getMetersPerPixel() const =0
virtual void lineSampleHeightToWorld(const ossimDpt &lineSampPt, const double &heightAboveEllipsoid, ossimGpt &worldPt) const =0
unsigned int ossim_uint32
ossimUnitType theProjectionUnits
Linear units of the projection as indicated in the projection's specification:
const ossimEllipsoid & getEllipsoid() const
ossim_uint32 thePcsCode
Projection Coordinate System(PCS) code.
ossimUnitType getProjectionUnits() const
OSSIM considers all map projection coordinates (including false eastings and northings) to be in mete...
virtual ossimGpt origin() const =0
virtual ossimDpt forward(const ossimGpt &wp) const
ossimDpt theDegreesPerPixel
Hold the decimal degrees per pixel.
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
void setModelTransformUnitType(ossimUnitType unit)
ossimEllipsoid theEllipsoid
This method verifies that the projection parameters match the current pcs code.
ossimDpt theFalseEastingNorthing
Hold the false easting northing.
virtual void lineSampleToWorld(const ossimDpt &lineSampPt, ossimGpt &worldPt) const =0
void setProjectionUnits(ossimUnitType units)
virtual void worldToLineSample(const ossimGpt &worldPoint, ossimDpt &lineSampPt) const =0
virtual bool isAffectedByElevation() const
Implementation of pure virtual ossimProjection::isAffectedByElevation method.
std::basic_ostream< char > ostream
Base class for char output streams.
const ossimDatum * theDatum
This is only set if we want to have built in datum shifting.