54 if (width_in_deg >= 360.0)
61 const std::string& prefix)
const 65 std::vector< std::vector<ossimRpfFrameEntry> >::const_iterator frameEntry =
70 std::vector<ossimRpfFrameEntry>::const_iterator i =
71 (*frameEntry).begin();
72 while ( i != (*frameEntry).end() )
74 (*i).print(out, prefix);
106 if( productType ==
"CIB" )
110 else if ( productType ==
"CADRG" )
179 for(
long rowIndex = 0; rowIndex < rows; ++ rowIndex)
181 for(
long colIndex = 0; colIndex < cols; ++colIndex)
205 ossimGpt tie( (ul.latd() - (ddpp.y/2.0)), (ul.lond() + (ddpp.x/2.0)), 0.0 );
212 std::cout <<
"boundaryInfo:\n" << boundaryInfo << std::endl;
259 scale.
x = (urLon - ulLon) / samps;
260 scale.
y = (ulLat - llLat) / lines;
ossim_int32 ossimErrorCode
ossim_float64 getLlLat() const
void setProjection(ossimProjection *projection)
Sets the projection to be used for local-to-world coordinate transformation.
static ossimString upcase(const ossimString &aString)
ossimErrorCode parseStream(std::istream &in, ossimByteOrder byteOrder)
std::ostream & print(std::ostream &out, const std::string &prefix=std::string()) const
print method that outputs a key/value type format adding prefix to keys.
static const ossimErrorCode OSSIM_OK
ossim_uint32 getNumberOfFramesVertical() const
ossimString getProductType() const
ossim_float64 getVerticalInterval() const
ossim_uint32 getNumberOfFramesVertical() const
virtual void setOrigin(const ossimGpt &origin)
Sets theOrigin to origin.
ossim_uint32 getNumberOfSamples() const
ossimRefPtr< ossimImageGeometry > getImageGeometry() const
Returns the image geometry object associated with this tile source or NULL if non defined...
ossim_uint32 theNumSamples
OSSIM_DLL ossimByteOrder byteOrder()
virtual void setDecimalDegreesPerPixel(const ossimDpt &gsd)
ossim_float64 getVerticalResolution() const
const ossimRpfCoverageSection & getCoverage() const
const ossimRpfBoundaryRectRecord & getBoundaryInformation() const
void setEntry(const ossimRpfFrameEntry &entry, long row, long col)
std::ostream & operator<<(std::ostream &out, const ossimRpfTocEntry &data)
ossim_float64 getUlLat() const
std::vector< std::vector< ossimRpfFrameEntry > > theFrameEntryArray
May be less than actual image width in case of > 360 deg wrap condition. (OLK 10/10) ...
ossimString getProductType() const
unsigned int ossim_uint32
ossimString trim(const ossimString &valueToTrim=ossimString(" \\)) const
this will strip lead and trailing character passed in.
ossim_float64 getUrLon() const
void getBoundingRect(ossimIrect &rect) const
Get the bounding rect of entry.
ossimRpfBoundaryRectRecord theBoundaryInformation
ossim_float64 getHorizontalInterval() const
Container class that holds both 2D transform and 3D projection information for an image Only one inst...
void allocateFrameEntryArray()
ossim_uint32 getNumberOfFramesHorizontal() const
std::basic_istream< char > istream
Base class for char input streams.
ossim_uint32 getNumberOfLines() const
ossim_float64 getUlLon() const
ossim_uint32 getNumberOfFramesHorizontal() const
void getMetersPerPixel(ossimDpt &scale) const
Get the scale in meters per pixel.
ossim_uint32 getNumberOfBands() const
virtual void setUlTiePoints(const ossimGpt &gpt)
bool getEntry(long row, long col, ossimRpfFrameEntry &result) const
void getDecimalDegreesPerPixel(ossimDpt &scale) const
Get the scale in decimal degrees per pixel.
ossim_float64 getLrLat() const
std::basic_ostream< char > ostream
Base class for char output streams.
ossimErrorCode parseStream(std::istream &in, ossimByteOrder byteOrder)
ossim_float64 getHorizontalResolution() const
std::ostream & print(std::ostream &out, ossimString prefix) const
prints to out.