17 #ifndef ossimNitfRpcBase_HEADER 18 #define ossimNitfRpcBase_HEADER 1 31 SAMPLE_OFFSET_SIZE = 5,
32 GEODETIC_LAT_OFFSET_SIZE = 8,
33 GEODETIC_LON_OFFSET_SIZE = 9,
34 GEODETIC_HEIGHT_OFFSET_SIZE = 5,
36 SAMPLE_SCALE_SIZE = 5,
37 GEODETIC_LAT_SCALE_SIZE = 8,
38 GEODETIC_LON_SCALE_SIZE = 9,
39 GEODETIC_HEIGHT_SCALE_SIZE = 5,
40 LINE_NUMERATOR_COEFFICIENT_SIZE = 12,
41 LINE_NUMERATOR_COEFFICIENT_COUNT = 20,
42 LINE_DENOMINATOR_COEFFICIENT_SIZE = 12,
43 LINE_DENOMINATOR_COEFFICIENT_COUNT = 20,
44 SAMPLE_NUMERATOR_COEFFICIENT_SIZE = 12,
45 SAMPLE_NUMERATOR_COEFFICIENT_COUNT = 20,
46 SAMPLE_DENOMINATOR_COEFFICIENT_SIZE = 12,
47 SAMPLE_DENOMINATOR_COEFFICIENT_COUNT = 20
72 virtual void clearFields();
82 bool getSuccess()
const;
85 void setSuccess(
bool success);
140 void setSampleOffset(
const ossimString& sampleOffset);
149 void setGeodeticLatOffset(
const ossim_float64& geodeticLatOffset);
155 void setGeodeticLatOffset(
const ossimString& geodeticLatOffset);
164 void setGeodeticLonOffset(
const ossim_float64& geodeticLonOffset);
169 void setGeodeticLonOffset(
const ossimString& geodeticLonOffset);
178 void setGeodeticHeightOffset(
ossim_int32 geodeticHeightOffset);
181 void setGeodeticHeightOffset(
const ossimString& geodeticHeightOffset);
211 void setSampleScale(
const ossimString& sampleScale);
220 void setGeodeticLatScale(
const ossim_float64& geodeticLatScale);
225 void setGeodeticLatScale(
const ossimString& geodeticLatScale);
234 void setGeodeticLonScale(
const ossim_float64& geodeticLonScale);
239 void setGeodeticLonScale(
const ossimString& geodeticLonScale);
248 void setGeodeticHeightScale(
ossim_int32 geodeticHeightScale);
253 void setGeodeticHeightScale(
const ossimString& geodeticHeightScale);
270 void setLineNumeratorCoeff(
const std::vector<ossim_float64>& coeff);
297 void setLineDenominatorCoeff(
const std::vector<ossim_float64>& coeff);
324 void setSampleNumeratorCoeff(
const std::vector<ossim_float64>& coeff);
351 void setSampleDenominatorCoeff(
const std::vector<ossim_float64>& coeff);
370 const std::string& prefix=std::string())
const;
374 virtual void getPropertyNames(std::vector<ossimString>& propertyNames)
const;
388 char theSuccess[SUCCESS_SIZE+1];
400 char theErrorBias[ERROR_BIAS_SIZE+1];
410 char theErrRand[ERR_RAND_SIZE+1];
419 char theLineOffset[LINE_OFFSET_SIZE+1];
428 char theSampleOffset[SAMPLE_OFFSET_SIZE+1];
437 char theGeodeticLatOffset[GEODETIC_LAT_OFFSET_SIZE+1];
446 char theGeodeticLonOffset[GEODETIC_LON_OFFSET_SIZE+1];
455 char theGeodeticHeightOffset[GEODETIC_HEIGHT_OFFSET_SIZE+1];
465 char theLineScale[LINE_SCALE_SIZE+1];
475 char theSampleScale[SAMPLE_SCALE_SIZE+1];
484 char theGeodeticLatScale[GEODETIC_LAT_SCALE_SIZE+1];
493 char theGeodeticLonScale[GEODETIC_LON_SCALE_SIZE+1];
502 char theGeodeticHeightScale[GEODETIC_HEIGHT_SCALE_SIZE+1];
std::vector< ossimString > theLineNumeratorCoefficient
FIELD: LINE_NUM_COEFF_1 through LINE_NUM_COEFF_20.
virtual void writeStream(ossim::ostream &out)=0
std::vector< ossimString > theSampleNumeratorCoefficient
FIELD: SAMP_NUM_COEFF_1 through SAMP_NUM_COEFF_20.
Represents serializable keyword/value map.
virtual void parseStream(ossim::istream &in)=0
This will allow the user defined data to parse the stream.
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
virtual std::ostream & print(std::ostream &out, const std::string &prefix=std::string()) const
Pure virtual print method that outputs a key/value type format adding prefix to keys.
std::vector< ossimString > theSampleDenominatorCoefficient
FIELD: SAMP_DEN_COEFF_1 through SAMP_DEN_COEFF_20.
virtual void setProperty(ossimRefPtr< ossimProperty > property)
unsigned int ossim_uint32
std::basic_istream< char > istream
Base class for char input streams.
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
std::vector< ossimString > theLineDenominatorCoefficient
FIELD: LINE_DEN_COEFF_1 through LINE_DEN_COEFF_20.
std::basic_ostream< char > ostream
Base class for char output streams.
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const