OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimRpfUtil.h>
Public Member Functions | |
ossimRpfUtil () | |
default constructor More... | |
void | writeDotRpfFiles (const ossimFilename &aDotTocFile, const ossimFilename &outputDir) |
Write dot rpf file(s) to output directory from a.toc file. More... | |
void | writeDotRpfFile (const ossimRpfToc *toc, const ossimRpfTocEntry *tocEntry, const ossimFilename &outputDir, ossim_uint32 entry) |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (const ossimReferenced &) |
void | ref () const |
increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
void | unref () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
void | unref_nodelete () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
int | referenceCount () const |
Protected Member Functions | |
virtual | ~ossimRpfUtil () |
protected virtual destructor More... | |
![]() | |
virtual | ~ossimReferenced () |
Private Member Functions | |
void | checkLongitude (ossimGpt &left, ossimGpt &right) const |
Method to test for 360 spread, 180.0 <–> 180.00 and set leftLon to -180 if both left and right are 180.0 degrees. More... | |
void | getDotRfpFilenameForEntry (const ossimFilename &outputDir, ossim_uint32 entry, ossimFilename &outFile) const |
Method to get the file for entry. More... | |
Definition at line 27 of file ossimRpfUtil.h.
ossimRpfUtil::ossimRpfUtil | ( | ) |
|
protectedvirtual |
protected virtual destructor
Do not call directly. Use as a ref ptr.
Definition at line 33 of file ossimRpfUtil.cpp.
Method to test for 360 spread, 180.0 <–> 180.00 and set leftLon to -180 if both left and right are 180.0 degrees.
This adds a small tolerance to the test.
left | Left hand side of scene. This is the value that will be flipped to -180 if test is true. |
right | Right hand side of scene. |
Definition at line 309 of file ossimRpfUtil.cpp.
References ossim::almostEqual(), and ossimGpt::lon.
|
private |
Method to get the file for entry.
Definition at line 331 of file ossimRpfUtil.cpp.
References ossimFilename::dirCat(), and ossimString::toString().
void ossimRpfUtil::writeDotRpfFile | ( | const ossimRpfToc * | toc, |
const ossimRpfTocEntry * | tocEntry, | ||
const ossimFilename & | outputDir, | ||
ossim_uint32 | entry | ||
) |
Definition at line 108 of file ossimRpfUtil.cpp.
void ossimRpfUtil::writeDotRpfFiles | ( | const ossimFilename & | aDotTocFile, |
const ossimFilename & | outputDir | ||
) |
Write dot rpf file(s) to output directory from a.toc file.
This creates a dot rpf file for each entry.
aDotFile | The a.toc file. |
outputDir | Directory to write dot rpf file(s) to. |
throws ossimException on error.
Definition at line 39 of file ossimRpfUtil.cpp.