OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | List of all members
ossimNitfRpcATag Class Reference

The layout of RPC00B is the same as RPC00A. More...

#include <ossimNitfRpcATag.h>

Inheritance diagram for ossimNitfRpcATag:
ossimNitfRpcBase ossimNitfRegisteredTag ossimObject ossimPropertyInterface ossimReferenced

Public Member Functions

 ossimNitfRpcATag ()
 
- Public Member Functions inherited from ossimNitfRpcBase
 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< ossimPropertygetProperty (const ossimString &name) const
 
virtual void getPropertyNames (std::vector< ossimString > &propertyNames) const
 
bool loadState (const ossimKeywordlist &kwl, const char *prefix)
 
- Public Member Functions inherited from ossimNitfRegisteredTag
 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
 
- Public Member Functions inherited from ossimObject
 ossimObject ()
 
virtual ~ossimObject ()
 
virtual ossimObjectdup () 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)
 
- Public Member Functions inherited from ossimReferenced
 ossimReferenced ()
 
 ossimReferenced (const ossimReferenced &)
 
ossimReferencedoperator= (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
 
- Public Member Functions inherited from ossimPropertyInterface
 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

- Public Types inherited from ossimNitfRpcBase
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
}
 
- Protected Member Functions inherited from ossimReferenced
virtual ~ossimReferenced ()
 
- Protected Attributes inherited from ossimNitfRpcBase
char theSuccess [SUCCESS_SIZE+1]
 FIELD: SUCCESS. More...
 
char theErrorBias [ERROR_BIAS_SIZE+1]
 FIELD: ERR_BIAS. More...
 
char theErrRand [ERR_RAND_SIZE+1]
 FIELD ERR_RAND. More...
 
char theLineOffset [LINE_OFFSET_SIZE+1]
 FIELD: LINE_OFF. More...
 
char theSampleOffset [SAMPLE_OFFSET_SIZE+1]
 FIELD: SAMP_OFF. More...
 
char theGeodeticLatOffset [GEODETIC_LAT_OFFSET_SIZE+1]
 FIELD: LAT_OFF. More...
 
char theGeodeticLonOffset [GEODETIC_LON_OFFSET_SIZE+1]
 FIELD: LONG_OFF. More...
 
char theGeodeticHeightOffset [GEODETIC_HEIGHT_OFFSET_SIZE+1]
 FIELD: HEIGHT_OFF. More...
 
char theLineScale [LINE_SCALE_SIZE+1]
 FIELD: LINE_SCALE. More...
 
char theSampleScale [SAMPLE_SCALE_SIZE+1]
 FIELD: SAMP_SCALE. More...
 
char theGeodeticLatScale [GEODETIC_LAT_SCALE_SIZE+1]
 FIELD: LAT_SCALE. More...
 
char theGeodeticLonScale [GEODETIC_LON_SCALE_SIZE+1]
 FIELD: LON_SCALE. More...
 
char theGeodeticHeightScale [GEODETIC_HEIGHT_SCALE_SIZE+1]
 FIELD: HEIGHT_SCALE. More...
 
std::vector< ossimStringtheLineNumeratorCoefficient
 FIELD: LINE_NUM_COEFF_1 through LINE_NUM_COEFF_20. More...
 
std::vector< ossimStringtheLineDenominatorCoefficient
 FIELD: LINE_DEN_COEFF_1 through LINE_DEN_COEFF_20. More...
 
std::vector< ossimStringtheSampleNumeratorCoefficient
 FIELD: SAMP_NUM_COEFF_1 through SAMP_NUM_COEFF_20. More...
 
std::vector< ossimStringtheSampleDenominatorCoefficient
 FIELD: SAMP_DEN_COEFF_1 through SAMP_DEN_COEFF_20. More...
 
- Protected Attributes inherited from ossimNitfRegisteredTag
std::string m_tagName
 
ossim_uint32 m_tagLength
 

Detailed Description

The layout of RPC00B is the same as RPC00A.

The difference is how the coefficients are used; hence, all the code is in the ossimNitfRpcBase class.

Definition at line 24 of file ossimNitfRpcATag.h.

Constructor & Destructor Documentation

◆ ossimNitfRpcATag()

ossimNitfRpcATag::ossimNitfRpcATag ( )

Definition at line 19 of file ossimNitfRpcATag.cpp.

References ossimNitfRegisteredTag::setTagName().

21 {
22  // Set the tag name in base.
23  setTagName(std::string("RPC00A"));
24 }
ossimNitfRpcBase()
default constructor
virtual void setTagName(const std::string &tagName)

The documentation for this class was generated from the following files: