OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimNitfRpcBase.h>
Public Types | |
enum | { SUCCESS_SIZE = 1, ERROR_BIAS_SIZE = 7, ERR_RAND_SIZE = 7, LINE_OFFSET_SIZE = 6, SAMPLE_OFFSET_SIZE = 5, GEODETIC_LAT_OFFSET_SIZE = 8, GEODETIC_LON_OFFSET_SIZE = 9, GEODETIC_HEIGHT_OFFSET_SIZE = 5, LINE_SCALE_SIZE = 6, SAMPLE_SCALE_SIZE = 5, GEODETIC_LAT_SCALE_SIZE = 8, GEODETIC_LON_SCALE_SIZE = 9, GEODETIC_HEIGHT_SCALE_SIZE = 5, LINE_NUMERATOR_COEFFICIENT_SIZE = 12, LINE_NUMERATOR_COEFFICIENT_COUNT = 20, LINE_DENOMINATOR_COEFFICIENT_SIZE = 12, LINE_DENOMINATOR_COEFFICIENT_COUNT = 20, SAMPLE_NUMERATOR_COEFFICIENT_SIZE = 12, SAMPLE_NUMERATOR_COEFFICIENT_COUNT = 20, SAMPLE_DENOMINATOR_COEFFICIENT_SIZE = 12, SAMPLE_DENOMINATOR_COEFFICIENT_COUNT = 20 } |
Public Member Functions | |
ossimNitfRpcBase () | |
default constructor More... | |
virtual void | parseStream (std::istream &in) |
Parse method. More... | |
virtual void | writeStream (std::ostream &out) |
Write method. More... | |
virtual void | clearFields () |
Clears all string fields within the record to some default nothingness. More... | |
virtual void | setRpcModelParams (ossimRefPtr< ossimRpcModel > rpc) |
For generating the RPC tag from existing RPC Model. More... | |
bool | getSuccess () const |
void | setSuccess (bool success) |
ossimString | getErrorBias () const |
void | setErrorBias (const ossim_float64 &errorBias) |
void | setErrorBias (const ossimString &errorBias) |
ossimString | getErrorRand () const |
void | setErrorRand (const ossim_float64 &errorRand) |
void | setErrorRand (const ossimString &errorRand) |
ossimString | getLineOffset () const |
void | setLineOffset (ossim_uint32 lineOffset) |
void | setLineOffset (const ossimString &lineOffset) |
ossimString | getSampleOffset () const |
void | setSampleOffset (ossim_uint32 sampleOffset) |
void | setSampleOffset (const ossimString &sampleOffset) |
ossimString | getGeodeticLatOffset () const |
void | setGeodeticLatOffset (const ossim_float64 &geodeticLatOffset) |
void | setGeodeticLatOffset (const ossimString &geodeticLatOffset) |
ossimString | getGeodeticLonOffset () const |
void | setGeodeticLonOffset (const ossim_float64 &geodeticLonOffset) |
void | setGeodeticLonOffset (const ossimString &geodeticLonOffset) |
ossimString | getGeodeticHeightOffset () const |
void | setGeodeticHeightOffset (ossim_int32 geodeticHeightOffset) |
void | setGeodeticHeightOffset (const ossimString &geodeticHeightOffset) |
ossimString | getLineScale () const |
void | setLineScale (ossim_uint32 lineScale) |
void | setLineScale (const ossimString &lineScale) |
ossimString | getSampleScale () const |
void | setSampleScale (ossim_uint32 sampleScale) |
void | setSampleScale (const ossimString &sampleScale) |
ossimString | getGeodeticLatScale () const |
void | setGeodeticLatScale (const ossim_float64 &geodeticLatScale) |
void | setGeodeticLatScale (const ossimString &geodeticLatScale) |
ossimString | getGeodeticLonScale () const |
void | setGeodeticLonScale (const ossim_float64 &geodeticLonScale) |
void | setGeodeticLonScale (const ossimString &geodeticLonScale) |
ossimString | getGeodeticHeightScale () const |
void | setGeodeticHeightScale (ossim_int32 geodeticHeightScale) |
void | setGeodeticHeightScale (const ossimString &geodeticHeightScale) |
ossimString | getLineNumeratorCoeff (ossim_uint32 idx) const |
void | setLineNumeratorCoeff (const std::vector< ossim_float64 > &coeff) |
void | setLineNumeratorCoeff (ossim_uint32 idx, const ossimString &coeff) |
ossimString | getLineDenominatorCoeff (ossim_uint32 idx) const |
void | setLineDenominatorCoeff (const std::vector< ossim_float64 > &coeff) |
void | setLineDenominatorCoeff (ossim_uint32 idx, const ossimString &coeff) |
ossimString | getSampleNumeratorCoeff (ossim_uint32 idx) const |
void | setSampleNumeratorCoeff (const std::vector< ossim_float64 > &coeff) |
void | setSampleNumeratorCoeff (ossim_uint32 idx, const ossimString &coeff) |
ossimString | getSampleDenominatorCoeff (ossim_uint32 idx) const |
void | setSampleDenominatorCoeff (const std::vector< ossim_float64 > &coeff) |
void | setSampleDenominatorCoeff (ossim_uint32 idx, const ossimString &coeff) |
virtual 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. More... | |
virtual void | setProperty (ossimRefPtr< ossimProperty > property) |
virtual ossimRefPtr< ossimProperty > | getProperty (const ossimString &name) const |
virtual void | getPropertyNames (std::vector< ossimString > &propertyNames) const |
bool | loadState (const ossimKeywordlist &kwl, const char *prefix) |
![]() | |
ossimNitfRegisteredTag () | |
default constructor More... | |
ossimNitfRegisteredTag (const std::string &tagName, ossim_uint32 tagLength) | |
Constructor that takes name and size. More... | |
virtual | ~ossimNitfRegisteredTag () |
destructor More... | |
virtual std::string | getRegisterTagName () const |
This will return the name of the registered tag for this user defined header. More... | |
virtual const std::string & | getTagName () const |
This will return the name of the registered tag for this user defined header. More... | |
virtual void | setTagName (const std::string &tagName) |
virtual ossim_uint32 | getSizeInBytes () const |
Returns the length in bytes of the tag from the CEL or REL field. More... | |
virtual ossim_uint32 | getTagLength () const |
Returns the length in bytes of the tag from the CEL or REL field. More... | |
virtual void | setTagLength (ossim_uint32 length) |
Set the tag length. More... | |
virtual void | parseStream (ossim::istream &in)=0 |
This will allow the user defined data to parse the stream. More... | |
virtual void | writeStream (ossim::ostream &out)=0 |
virtual void | getMetadata (ossimKeywordlist &kwl, const char *prefix=0) const |
Default interface to populate keyword list with metadata. More... | |
virtual bool | saveState (ossimKeywordlist &kwl, const ossimString &prefix) const |
![]() | |
ossimObject () | |
virtual | ~ossimObject () |
virtual ossimObject * | dup () const |
virtual ossimString | getShortName () const |
virtual ossimString | getLongName () const |
virtual ossimString | getDescription () const |
virtual ossimString | getClassName () const |
virtual RTTItypeid | getType () const |
virtual bool | canCastTo (ossimObject *obj) const |
virtual bool | canCastTo (const RTTItypeid &id) const |
virtual bool | canCastTo (const ossimString &parentClassName) const |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
virtual std::ostream & | print (std::ostream &out) const |
Generic print method. More... | |
virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
virtual void | accept (ossimVisitor &visitor) |
![]() | |
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 |
![]() | |
ossimPropertyInterface () | |
virtual | ~ossimPropertyInterface () |
virtual void | setProperty (const ossimString &name, const ossimString &value) |
virtual ossimString | getPropertyValueAsString (const ossimString &name) const |
void | getPropertyList (std::vector< ossimRefPtr< ossimProperty > > &propertyList) const |
void | setProperties (std::vector< ossimRefPtr< ossimProperty > > &propertyList) |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 22 of file ossimNitfRpcBase.h.
anonymous enum |
Definition at line 25 of file ossimNitfRpcBase.h.
ossimNitfRpcBase::ossimNitfRpcBase | ( | ) |
default constructor
Definition at line 46 of file ossimNitfRpcBase.cpp.
References clearFields(), and ossimNitfRegisteredTag::setTagLength().
|
virtual |
Clears all string fields within the record to some default nothingness.
Definition at line 147 of file ossimNitfRpcBase.cpp.
References theErrorBias, theErrRand, theGeodeticHeightOffset, theGeodeticHeightScale, theGeodeticLatOffset, theGeodeticLatScale, theGeodeticLonOffset, theGeodeticLonScale, theLineDenominatorCoefficient, theLineNumeratorCoefficient, theLineOffset, theLineScale, theSampleDenominatorCoefficient, theSampleNumeratorCoefficient, theSampleOffset, theSampleScale, and theSuccess.
Referenced by ossimNitfRpcBase(), and parseStream().
ossimString ossimNitfRpcBase::getErrorBias | ( | ) | const |
Definition at line 242 of file ossimNitfRpcBase.cpp.
References theErrorBias.
ossimString ossimNitfRpcBase::getErrorRand | ( | ) | const |
Definition at line 261 of file ossimNitfRpcBase.cpp.
References theErrRand.
ossimString ossimNitfRpcBase::getGeodeticHeightOffset | ( | ) | const |
Definition at line 365 of file ossimNitfRpcBase.cpp.
References theGeodeticHeightOffset.
ossimString ossimNitfRpcBase::getGeodeticHeightScale | ( | ) | const |
Definition at line 479 of file ossimNitfRpcBase.cpp.
References theGeodeticHeightScale.
ossimString ossimNitfRpcBase::getGeodeticLatOffset | ( | ) | const |
Definition at line 316 of file ossimNitfRpcBase.cpp.
References theGeodeticLatOffset.
ossimString ossimNitfRpcBase::getGeodeticLatScale | ( | ) | const |
Definition at line 421 of file ossimNitfRpcBase.cpp.
References theGeodeticLatScale.
ossimString ossimNitfRpcBase::getGeodeticLonOffset | ( | ) | const |
Definition at line 341 of file ossimNitfRpcBase.cpp.
References theGeodeticLonOffset.
ossimString ossimNitfRpcBase::getGeodeticLonScale | ( | ) | const |
Definition at line 450 of file ossimNitfRpcBase.cpp.
References theGeodeticLonScale.
ossimString ossimNitfRpcBase::getLineDenominatorCoeff | ( | ossim_uint32 | idx | ) | const |
idx | index of line denominator coefficient to get. Range: 0 - 19 |
Definition at line 570 of file ossimNitfRpcBase.cpp.
References LINE_DENOMINATOR_COEFFICIENT_COUNT, ossimNotify(), ossimNotifyLevel_WARN, and theLineDenominatorCoefficient.
ossimString ossimNitfRpcBase::getLineNumeratorCoeff | ( | ossim_uint32 | idx | ) | const |
idx | Index of line numerator coefficient to get. Range: 0 - 19 |
Definition at line 511 of file ossimNitfRpcBase.cpp.
References LINE_NUMERATOR_COEFFICIENT_COUNT.
ossimString ossimNitfRpcBase::getLineOffset | ( | ) | const |
Definition at line 280 of file ossimNitfRpcBase.cpp.
References theLineOffset.
ossimString ossimNitfRpcBase::getLineScale | ( | ) | const |
Definition at line 385 of file ossimNitfRpcBase.cpp.
References theLineScale.
|
virtual |
Reimplemented from ossimNitfRegisteredTag.
Definition at line 826 of file ossimNitfRpcBase.cpp.
|
virtual |
Reimplemented from ossimNitfRegisteredTag.
Definition at line 933 of file ossimNitfRpcBase.cpp.
ossimString ossimNitfRpcBase::getSampleDenominatorCoeff | ( | ossim_uint32 | idx | ) | const |
idx | index of sample denominator coefficient to get. Range: 0 - 19 |
Definition at line 681 of file ossimNitfRpcBase.cpp.
References ossimNotify(), ossimNotifyLevel_WARN, SAMPLE_DENOMINATOR_COEFFICIENT_COUNT, and theSampleDenominatorCoefficient.
ossimString ossimNitfRpcBase::getSampleNumeratorCoeff | ( | ossim_uint32 | idx | ) | const |
idx | Index of sample numerator coefficient to get. Range: 0 - 19 |
Definition at line 626 of file ossimNitfRpcBase.cpp.
References ossimNotify(), ossimNotifyLevel_WARN, SAMPLE_NUMERATOR_COEFFICIENT_COUNT, and theSampleNumeratorCoefficient.
ossimString ossimNitfRpcBase::getSampleOffset | ( | ) | const |
Definition at line 298 of file ossimNitfRpcBase.cpp.
References theSampleOffset.
ossimString ossimNitfRpcBase::getSampleScale | ( | ) | const |
Definition at line 403 of file ossimNitfRpcBase.cpp.
References theSampleScale.
bool ossimNitfRpcBase::getSuccess | ( | ) | const |
Definition at line 232 of file ossimNitfRpcBase.cpp.
References theSuccess.
|
virtual |
Method to the load (recreate) the state of the object from a keyword list. Return true if ok or false on error.
Reimplemented from ossimObject.
Definition at line 968 of file ossimNitfRpcBase.cpp.
References ossimKeywordlist::find(), ossimObject::loadState(), theErrorBias, theErrRand, theGeodeticHeightOffset, theGeodeticHeightScale, theGeodeticLatOffset, theGeodeticLatScale, theGeodeticLonOffset, theGeodeticLonScale, theLineDenominatorCoefficient, theLineNumeratorCoefficient, theLineOffset, theLineScale, theSampleDenominatorCoefficient, theSampleNumeratorCoefficient, theSampleOffset, theSampleScale, theSuccess, and ossimString::toString().
|
virtual |
Parse method.
in | Stream to parse. |
Definition at line 55 of file ossimNitfRpcBase.cpp.
References clearFields(), ERR_RAND_SIZE, ERROR_BIAS_SIZE, GEODETIC_HEIGHT_OFFSET_SIZE, GEODETIC_HEIGHT_SCALE_SIZE, GEODETIC_LAT_OFFSET_SIZE, GEODETIC_LAT_SCALE_SIZE, GEODETIC_LON_OFFSET_SIZE, GEODETIC_LON_SCALE_SIZE, LINE_DENOMINATOR_COEFFICIENT_COUNT, LINE_DENOMINATOR_COEFFICIENT_SIZE, LINE_NUMERATOR_COEFFICIENT_COUNT, LINE_NUMERATOR_COEFFICIENT_SIZE, LINE_OFFSET_SIZE, LINE_SCALE_SIZE, SAMPLE_DENOMINATOR_COEFFICIENT_COUNT, SAMPLE_DENOMINATOR_COEFFICIENT_SIZE, SAMPLE_NUMERATOR_COEFFICIENT_COUNT, SAMPLE_NUMERATOR_COEFFICIENT_SIZE, SAMPLE_OFFSET_SIZE, SAMPLE_SCALE_SIZE, SUCCESS_SIZE, theErrorBias, theErrRand, theGeodeticHeightOffset, theGeodeticHeightScale, theGeodeticLatOffset, theGeodeticLatScale, theGeodeticLonOffset, theGeodeticLonScale, theLineDenominatorCoefficient, theLineNumeratorCoefficient, theLineOffset, theLineScale, theSampleDenominatorCoefficient, theSampleNumeratorCoefficient, theSampleOffset, theSampleScale, and theSuccess.
|
virtual |
Print method that outputs a key/value type format adding prefix to keys.
out | Stream to output to. |
prefix | Prefix added to key like "image0."; |
Reimplemented from ossimNitfRegisteredTag.
Definition at line 738 of file ossimNitfRpcBase.cpp.
References ossimNitfRegisteredTag::getSizeInBytes(), ossimNitfRegisteredTag::getTagName(), LINE_DENOMINATOR_COEFFICIENT_COUNT, LINE_NUMERATOR_COEFFICIENT_COUNT, theErrorBias, theErrRand, theGeodeticHeightOffset, theGeodeticHeightScale, theGeodeticLatOffset, theGeodeticLatScale, theGeodeticLonOffset, theGeodeticLonScale, theLineDenominatorCoefficient, theLineNumeratorCoefficient, theLineOffset, theLineScale, theSampleDenominatorCoefficient, theSampleNumeratorCoefficient, theSampleOffset, theSampleScale, theSuccess, and ossimString::toString().
void ossimNitfRpcBase::setErrorBias | ( | const ossim_float64 & | errorBias | ) |
errorBias | Error bias to set theErrorBias to. This will be converted to a string with two digit precision. |
Definition at line 247 of file ossimNitfRpcBase.cpp.
References ossimNitfCommon::convertToDoubleString(), and ERROR_BIAS_SIZE.
Referenced by setRpcModelParams().
void ossimNitfRpcBase::setErrorBias | ( | const ossimString & | errorBias | ) |
errorBias | bias string to set theErrorBias to. |
Definition at line 255 of file ossimNitfRpcBase.cpp.
References ossimString::c_str(), ERROR_BIAS_SIZE, ossimString::length(), min, and theErrorBias.
void ossimNitfRpcBase::setErrorRand | ( | const ossim_float64 & | errorRand | ) |
errorRand | The random error to set theErrRand to. This will be converted to a string with two digit precision. |
Definition at line 266 of file ossimNitfRpcBase.cpp.
References ossimNitfCommon::convertToDoubleString(), and ERROR_BIAS_SIZE.
Referenced by setRpcModelParams().
void ossimNitfRpcBase::setErrorRand | ( | const ossimString & | errorRand | ) |
errorRand | error random string to set theErrorRand to. |
Definition at line 274 of file ossimNitfRpcBase.cpp.
References ossimString::c_str(), ERR_RAND_SIZE, ossimString::length(), min, and theErrRand.
void ossimNitfRpcBase::setGeodeticHeightOffset | ( | ossim_int32 | geodeticHeightOffset | ) |
geodeticHeightOffset | value to Set the height offset to. Converted to a string truncated to an int. |
Definition at line 370 of file ossimNitfRpcBase.cpp.
References ossimNitfCommon::convertToIntString(), and GEODETIC_HEIGHT_OFFSET_SIZE.
Referenced by setRpcModelParams().
void ossimNitfRpcBase::setGeodeticHeightOffset | ( | const ossimString & | geodeticHeightOffset | ) |
geodeticHeightOffset | value to Set the height offset to. |
Definition at line 379 of file ossimNitfRpcBase.cpp.
References ossimString::c_str(), GEODETIC_HEIGHT_OFFSET_SIZE, ossimString::length(), min, and theGeodeticHeightOffset.
void ossimNitfRpcBase::setGeodeticHeightScale | ( | ossim_int32 | geodeticHeightScale | ) |
geodeticHeightScale | The value to set the height scale to. Converted to a string truncated to an int. |
Definition at line 484 of file ossimNitfRpcBase.cpp.
References ossimNitfCommon::convertToIntString(), and GEODETIC_HEIGHT_SCALE_SIZE.
Referenced by setRpcModelParams().
void ossimNitfRpcBase::setGeodeticHeightScale | ( | const ossimString & | geodeticHeightScale | ) |
geodeticHeightScale | The value to set the height scale to. |
Definition at line 492 of file ossimNitfRpcBase.cpp.
References ossimString::c_str(), GEODETIC_HEIGHT_SCALE_SIZE, ossimString::length(), min, and theGeodeticHeightScale.
void ossimNitfRpcBase::setGeodeticLatOffset | ( | const ossim_float64 & | geodeticLatOffset | ) |
geodeticLatOffset | Value to Set the geodedic latitude offset to. Converted to a string with four digit precision. |
Definition at line 321 of file ossimNitfRpcBase.cpp.
References ossimNitfCommon::convertToDoubleString(), and GEODETIC_LAT_OFFSET_SIZE.
Referenced by setRpcModelParams().
void ossimNitfRpcBase::setGeodeticLatOffset | ( | const ossimString & | geodeticLatOffset | ) |
geodeticLatOffset | geodedic latitude offset string to set theGeodeticLatOffset to. |
Definition at line 334 of file ossimNitfRpcBase.cpp.
References ossimString::c_str(), GEODETIC_LAT_OFFSET_SIZE, ossimString::length(), min, and theGeodeticLatOffset.
void ossimNitfRpcBase::setGeodeticLatScale | ( | const ossim_float64 & | geodeticLatScale | ) |
geodeticLatScale | The value to set the geodedic latitude scale to. Converted to a string with four digit precision. |
Definition at line 426 of file ossimNitfRpcBase.cpp.
References ossimNitfCommon::convertToDoubleString(), and GEODETIC_LAT_SCALE_SIZE.
Referenced by setRpcModelParams().
void ossimNitfRpcBase::setGeodeticLatScale | ( | const ossimString & | geodeticLatScale | ) |
geodeticLatScale | The value to set the geodedic latitude scale to. |
Definition at line 444 of file ossimNitfRpcBase.cpp.
References ossimString::c_str(), GEODETIC_LAT_SCALE_SIZE, ossimString::length(), min, and theGeodeticLatScale.
void ossimNitfRpcBase::setGeodeticLonOffset | ( | const ossim_float64 & | geodeticLonOffset | ) |
geodeticLonOffset | Value to Set the geodedic longitude offset to. Converted to a string with four digit precision. |
Definition at line 346 of file ossimNitfRpcBase.cpp.
References ossimNitfCommon::convertToDoubleString(), and GEODETIC_LON_OFFSET_SIZE.
Referenced by setRpcModelParams().
void ossimNitfRpcBase::setGeodeticLonOffset | ( | const ossimString & | geodeticLonOffset | ) |
geodeticLonOffset | Value to Set the geodedic longitude offset to. |
Definition at line 359 of file ossimNitfRpcBase.cpp.
References ossimString::c_str(), GEODETIC_LON_OFFSET_SIZE, ossimString::length(), min, and theGeodeticLonOffset.
void ossimNitfRpcBase::setGeodeticLonScale | ( | const ossim_float64 & | geodeticLonScale | ) |
geodeticLonScale | The value to set the geodedic longitude scale to. Converted to a string with four digit precision. |
Definition at line 455 of file ossimNitfRpcBase.cpp.
References ossimNitfCommon::convertToDoubleString(), and GEODETIC_LON_SCALE_SIZE.
Referenced by setRpcModelParams().
void ossimNitfRpcBase::setGeodeticLonScale | ( | const ossimString & | geodeticLonScale | ) |
geodeticLonScale | The value to set the geodedic longitude scale to. |
Definition at line 473 of file ossimNitfRpcBase.cpp.
References ossimString::c_str(), GEODETIC_LON_SCALE_SIZE, ossimString::length(), min, and theGeodeticLonScale.
void ossimNitfRpcBase::setLineDenominatorCoeff | ( | const std::vector< ossim_float64 > & | coeff | ) |
coeff | This should be an array of 20 line denominator coefficients. Coefficients will be converted to a scientific string to conform to specification. |
Definition at line 585 of file ossimNitfRpcBase.cpp.
References LINE_DENOMINATOR_COEFFICIENT_COUNT.
Referenced by setRpcModelParams().
void ossimNitfRpcBase::setLineDenominatorCoeff | ( | ossim_uint32 | idx, |
const ossimString & | coeff | ||
) |
idx | index of line denominator coefficient to set. Range: 0 - 19 |
lineDenominatorCoeff | Value to set line denominator coefficient to for idx or index. |
Definition at line 609 of file ossimNitfRpcBase.cpp.
References LINE_DENOMINATOR_COEFFICIENT_COUNT, LINE_DENOMINATOR_COEFFICIENT_SIZE, ossimNotify(), ossimNotifyLevel_WARN, and theLineDenominatorCoefficient.
void ossimNitfRpcBase::setLineNumeratorCoeff | ( | const std::vector< ossim_float64 > & | coeff | ) |
coeff | This should be an array of 20 line numerator coefficients. Coefficients will be converted to a scientific string to conform to specification. |
Definition at line 529 of file ossimNitfRpcBase.cpp.
References LINE_NUMERATOR_COEFFICIENT_COUNT.
Referenced by setRpcModelParams().
void ossimNitfRpcBase::setLineNumeratorCoeff | ( | ossim_uint32 | idx, |
const ossimString & | coeff | ||
) |
idx | index of line numerator coefficient to set. Range: 0 - 19 |
coeff | Value to set line numerator coefficient to for idx or index. |
Definition at line 553 of file ossimNitfRpcBase.cpp.
References LINE_NUMERATOR_COEFFICIENT_COUNT, LINE_NUMERATOR_COEFFICIENT_SIZE, ossimNotify(), ossimNotifyLevel_WARN, and theLineNumeratorCoefficient.
void ossimNitfRpcBase::setLineOffset | ( | ossim_uint32 | lineOffset | ) |
lineOffset | Sets the line offset to a string truncated to an int. |
Definition at line 285 of file ossimNitfRpcBase.cpp.
References ossimNitfCommon::convertToUIntString(), and LINE_OFFSET_SIZE.
Referenced by setRpcModelParams().
void ossimNitfRpcBase::setLineOffset | ( | const ossimString & | lineOffset | ) |
lineOffset | Sets theLineOffset to lineOffset string. |
Definition at line 292 of file ossimNitfRpcBase.cpp.
References ossimString::c_str(), ossimString::length(), LINE_OFFSET_SIZE, min, and theLineOffset.
void ossimNitfRpcBase::setLineScale | ( | ossim_uint32 | lineScale | ) |
lineScale | The value to set the line scale to. Converted to a string. |
Definition at line 390 of file ossimNitfRpcBase.cpp.
References ossimNitfCommon::convertToUIntString(), and LINE_SCALE_SIZE.
Referenced by setRpcModelParams().
void ossimNitfRpcBase::setLineScale | ( | const ossimString & | lineScale | ) |
lineScale | The value to set the line scale to. |
Definition at line 397 of file ossimNitfRpcBase.cpp.
References ossimString::c_str(), ossimString::length(), LINE_SCALE_SIZE, min, and theLineScale.
|
virtual |
Reimplemented from ossimNitfRegisteredTag.
Definition at line 821 of file ossimNitfRpcBase.cpp.
|
virtual |
For generating the RPC tag from existing RPC Model.
Definition at line 193 of file ossimNitfRpcBase.cpp.
References setErrorBias(), setErrorRand(), setGeodeticHeightOffset(), setGeodeticHeightScale(), setGeodeticLatOffset(), setGeodeticLatScale(), setGeodeticLonOffset(), setGeodeticLonScale(), setLineDenominatorCoeff(), setLineNumeratorCoeff(), setLineOffset(), setLineScale(), setSampleDenominatorCoeff(), setSampleNumeratorCoeff(), setSampleOffset(), setSampleScale(), ossimRpcModel::theBiasError, ossimRpcModel::theHgtOffset, ossimRpcModel::theHgtScale, ossimRpcModel::theLatOffset, ossimRpcModel::theLatScale, ossimRpcModel::theLineDenCoef, ossimRpcModel::theLineNumCoef, ossimRpcModel::theLineOffset, ossimRpcModel::theLineScale, ossimRpcModel::theLonOffset, ossimRpcModel::theLonScale, ossimRpcModel::theRandError, ossimRpcModel::theSampDenCoef, ossimRpcModel::theSampNumCoef, ossimRpcModel::theSampOffset, ossimRpcModel::theSampScale, and theSuccess.
Referenced by ossimRpcSolver::getNitfRpcBTag().
void ossimNitfRpcBase::setSampleDenominatorCoeff | ( | const std::vector< ossim_float64 > & | coeff | ) |
coeff | This should be an array of 20 sample denominator coefficients. Coefficients will be converted to a scientific string to conform to specification. |
Definition at line 696 of file ossimNitfRpcBase.cpp.
References SAMPLE_DENOMINATOR_COEFFICIENT_COUNT.
Referenced by setRpcModelParams().
void ossimNitfRpcBase::setSampleDenominatorCoeff | ( | ossim_uint32 | idx, |
const ossimString & | coeff | ||
) |
idx | index of sample denominator coefficient to set. Range: 0 - 19 |
sampleDenominatorCoeff | Value to set sample denominator coefficient to for idx or index. |
Definition at line 720 of file ossimNitfRpcBase.cpp.
References ossimNotify(), ossimNotifyLevel_WARN, SAMPLE_DENOMINATOR_COEFFICIENT_COUNT, SAMPLE_DENOMINATOR_COEFFICIENT_SIZE, and theSampleDenominatorCoefficient.
void ossimNitfRpcBase::setSampleNumeratorCoeff | ( | const std::vector< ossim_float64 > & | coeff | ) |
coeff | This should be an array of 20 sample numerator coefficients. Coefficients will be converted to a scientific string to conform to specification. |
Definition at line 640 of file ossimNitfRpcBase.cpp.
References SAMPLE_NUMERATOR_COEFFICIENT_COUNT.
Referenced by setRpcModelParams().
void ossimNitfRpcBase::setSampleNumeratorCoeff | ( | ossim_uint32 | idx, |
const ossimString & | coeff | ||
) |
idx | index of sample numerator coefficient to set. Range: 0 - 19 |
coeff | Value to set sample numerator coefficient to for idx or index. |
Definition at line 664 of file ossimNitfRpcBase.cpp.
References ossimNotify(), ossimNotifyLevel_WARN, SAMPLE_NUMERATOR_COEFFICIENT_COUNT, SAMPLE_NUMERATOR_COEFFICIENT_SIZE, and theSampleNumeratorCoefficient.
void ossimNitfRpcBase::setSampleOffset | ( | ossim_uint32 | sampleOffset | ) |
sampleOffset | Sets the sample offset to a string truncated to an int. |
Definition at line 303 of file ossimNitfRpcBase.cpp.
References ossimNitfCommon::convertToUIntString(), and SAMPLE_OFFSET_SIZE.
Referenced by setRpcModelParams().
void ossimNitfRpcBase::setSampleOffset | ( | const ossimString & | sampleOffset | ) |
sampleOffset | Sets the sample offset to a string. |
Definition at line 310 of file ossimNitfRpcBase.cpp.
References ossimString::c_str(), ossimString::length(), min, SAMPLE_OFFSET_SIZE, and theSampleOffset.
void ossimNitfRpcBase::setSampleScale | ( | ossim_uint32 | sampleScale | ) |
sampleScale | The value to set the sample scale to. Converted to a string truncated to an int. |
Definition at line 408 of file ossimNitfRpcBase.cpp.
References ossimNitfCommon::convertToUIntString(), and SAMPLE_SCALE_SIZE.
Referenced by setRpcModelParams().
void ossimNitfRpcBase::setSampleScale | ( | const ossimString & | sampleScale | ) |
sampleScale | The value to set the sample scale to. |
Definition at line 415 of file ossimNitfRpcBase.cpp.
References ossimString::c_str(), ossimString::length(), min, SAMPLE_SCALE_SIZE, and theSampleScale.
void ossimNitfRpcBase::setSuccess | ( | bool | success | ) |
success | Sets data member theSuccess to success. |
Definition at line 237 of file ossimNitfRpcBase.cpp.
References theSuccess.
|
virtual |
Write method.
out | Stream to write to. |
Definition at line 108 of file ossimNitfRpcBase.cpp.
References ERR_RAND_SIZE, ERROR_BIAS_SIZE, GEODETIC_HEIGHT_OFFSET_SIZE, GEODETIC_HEIGHT_SCALE_SIZE, GEODETIC_LAT_OFFSET_SIZE, GEODETIC_LAT_SCALE_SIZE, GEODETIC_LON_OFFSET_SIZE, GEODETIC_LON_SCALE_SIZE, LINE_DENOMINATOR_COEFFICIENT_COUNT, LINE_DENOMINATOR_COEFFICIENT_SIZE, LINE_NUMERATOR_COEFFICIENT_COUNT, LINE_NUMERATOR_COEFFICIENT_SIZE, LINE_OFFSET_SIZE, LINE_SCALE_SIZE, SAMPLE_DENOMINATOR_COEFFICIENT_COUNT, SAMPLE_DENOMINATOR_COEFFICIENT_SIZE, SAMPLE_NUMERATOR_COEFFICIENT_COUNT, SAMPLE_NUMERATOR_COEFFICIENT_SIZE, SAMPLE_OFFSET_SIZE, SAMPLE_SCALE_SIZE, SUCCESS_SIZE, theErrorBias, theErrRand, theGeodeticHeightOffset, theGeodeticHeightScale, theGeodeticLatOffset, theGeodeticLatScale, theGeodeticLonOffset, theGeodeticLonScale, theLineDenominatorCoefficient, theLineNumeratorCoefficient, theLineOffset, theLineScale, theSampleDenominatorCoefficient, theSampleNumeratorCoefficient, theSampleOffset, theSampleScale, and theSuccess.
|
protected |
FIELD: ERR_BIAS.
required 7 byte field
Error - Bias. 68% non time-varying error estimate assumes correlated images.
Values range from 0000.00 to 9999.99 meters
Definition at line 400 of file ossimNitfRpcBase.h.
Referenced by clearFields(), getErrorBias(), loadState(), parseStream(), print(), setErrorBias(), and writeStream().
|
protected |
FIELD ERR_RAND.
Required 7 byte field
Error - Random. 68% time-varying error estimate assumes correlated images. 0000.00 to 9999.99 meters
Definition at line 410 of file ossimNitfRpcBase.h.
Referenced by clearFields(), getErrorRand(), loadState(), parseStream(), print(), setErrorRand(), and writeStream().
|
protected |
FIELD: HEIGHT_OFF.
required 5 byte field.
holds the height offset in meters and ranges from +-9999
Definition at line 455 of file ossimNitfRpcBase.h.
Referenced by clearFields(), getGeodeticHeightOffset(), loadState(), parseStream(), print(), setGeodeticHeightOffset(), and writeStream().
|
protected |
FIELD: HEIGHT_SCALE.
required 5 byte field
holds the geodetic height scale and ranges from +-9999 meters.
Definition at line 502 of file ossimNitfRpcBase.h.
Referenced by clearFields(), getGeodeticHeightScale(), loadState(), parseStream(), print(), setGeodeticHeightScale(), and writeStream().
|
protected |
FIELD: LAT_OFF.
required 8 byte field.
Holds the lat offset in degrees and ranges from +-90.0000
Definition at line 437 of file ossimNitfRpcBase.h.
Referenced by clearFields(), getGeodeticLatOffset(), loadState(), parseStream(), print(), setGeodeticLatOffset(), and writeStream().
|
protected |
FIELD: LAT_SCALE.
required 8 byte field
holds the lat scale in degrees and ranges from +-90.0000 degrees
Definition at line 484 of file ossimNitfRpcBase.h.
Referenced by clearFields(), getGeodeticLatScale(), loadState(), parseStream(), print(), setGeodeticLatScale(), and writeStream().
|
protected |
FIELD: LONG_OFF.
required 9 byte field.
holds the lon offset in degrees and ranges from +-180.0000
Definition at line 446 of file ossimNitfRpcBase.h.
Referenced by clearFields(), getGeodeticLonOffset(), loadState(), parseStream(), print(), setGeodeticLonOffset(), and writeStream().
|
protected |
FIELD: LON_SCALE.
required 9 byte field
holds the lon scale in degrees and ranges from +-180.0000 degrees
Definition at line 493 of file ossimNitfRpcBase.h.
Referenced by clearFields(), getGeodeticLonScale(), loadState(), parseStream(), print(), setGeodeticLonScale(), and writeStream().
|
protected |
FIELD: LINE_DEN_COEFF_1 through LINE_DEN_COEFF_20.
Line Denominato Coefficients.
required 12 byte field ranging �0.999999E�9 Twenty coefficients for the polynomial
Definition at line 524 of file ossimNitfRpcBase.h.
Referenced by clearFields(), getLineDenominatorCoeff(), loadState(), parseStream(), print(), setLineDenominatorCoeff(), and writeStream().
|
protected |
FIELD: LINE_NUM_COEFF_1 through LINE_NUM_COEFF_20.
Line Numerator Coefficients.
required 12 byte field ranging �0.999999E�9 Twenty coefficients for the polynomial
Definition at line 513 of file ossimNitfRpcBase.h.
Referenced by clearFields(), loadState(), parseStream(), print(), setLineNumeratorCoeff(), and writeStream().
|
protected |
FIELD: LINE_OFF.
required 6 byte field.
value is in pixels and ranges from 000000-999999
Definition at line 419 of file ossimNitfRpcBase.h.
Referenced by clearFields(), getLineOffset(), loadState(), parseStream(), print(), setLineOffset(), and writeStream().
|
protected |
FIELD: LINE_SCALE.
required 6 byte field.
holds the line scale in pixels and ranges from 000001-999999
Definition at line 465 of file ossimNitfRpcBase.h.
Referenced by clearFields(), getLineScale(), loadState(), parseStream(), print(), setLineScale(), and writeStream().
|
protected |
FIELD: SAMP_DEN_COEFF_1 through SAMP_DEN_COEFF_20.
samp Denominator Coefficients.
required 12 byte field ranging �0.999999E�9 Twenty coefficients for the polynomial
Definition at line 546 of file ossimNitfRpcBase.h.
Referenced by clearFields(), getSampleDenominatorCoeff(), loadState(), parseStream(), print(), setSampleDenominatorCoeff(), and writeStream().
|
protected |
FIELD: SAMP_NUM_COEFF_1 through SAMP_NUM_COEFF_20.
samp Numerator Coefficients.
required 12 byte field ranging �0.999999E�9 Twenty coefficients for the polynomial
Definition at line 535 of file ossimNitfRpcBase.h.
Referenced by clearFields(), getSampleNumeratorCoeff(), loadState(), parseStream(), print(), setSampleNumeratorCoeff(), and writeStream().
|
protected |
FIELD: SAMP_OFF.
required 5 byte field.
value is in pixels and ranges from 00000-99999
Definition at line 428 of file ossimNitfRpcBase.h.
Referenced by clearFields(), getSampleOffset(), loadState(), parseStream(), print(), setSampleOffset(), and writeStream().
|
protected |
FIELD: SAMP_SCALE.
required 5 byte field.
holds the line scale in pixels and ranges from 00001-99999
Definition at line 475 of file ossimNitfRpcBase.h.
Referenced by clearFields(), getSampleScale(), loadState(), parseStream(), print(), setSampleScale(), and writeStream().
|
protected |
FIELD: SUCCESS.
Required 1 byte field.
Value is 1
Definition at line 388 of file ossimNitfRpcBase.h.
Referenced by clearFields(), getSuccess(), loadState(), parseStream(), print(), setRpcModelParams(), setSuccess(), and writeStream().