Earth Observation Mission CFI Software Pointing Software User Manual |
Class for storing the Instrument Attitude configuration parameters. More...
Public Member Functions | |
InstrTransId () | |
Empty Class constructor. | |
~InstrTransId () EXCEPT | |
Class destructor. | |
void | init (const double angle[3], const double offsets[3]) |
Initialise using angles. | |
void | init (const double matrix[3][3], const double offsets[3]) |
Initialise using matrix. | |
void | init (long angleType, const std::vector< long > &harmTypePitch, const std::vector< long > &harmTypeRoll, const std::vector< long > &harmTypeYaw, const std::vector< double > &harmCoeffPitch, const std::vector< double > &harmCoeffRoll, const std::vector< double > &harmCoeffYaw, double offsets[3]) |
Initialise instrument attitude mispointing angles for a given satellite with a user-provided set of values. | |
void | init (const TimeCorrelation &timeId, const std::vector< std::string > &files, long timeInitMode, long timeRef, double time0, double time1) |
Initialise satellite attitude angles for a given satellite reading values from the attitude files. | |
MatrixModel | getMatrix () const |
Get matrix model. | |
void | setMatrix (const MatrixModel &matrixModel) |
Change matrix model. | |
AngleModel | getAngles () const |
Get angles model. | |
void | setAngles (const AngleModel &angleModel) |
Change angles model. | |
HarmonicModel | getHarmonic () const |
Get harmonic parameters of object. | |
void | setHarmonic (const HarmonicModel &harmModel) |
Change harmonic parameters of the object. | |
AttFileModel | getFile () const |
Get file data of object. | |
void | setFile (const AttFileModel &fileModel) |
Change initialisation file data of the object. | |
void | getOffset (double offset[3]) const |
Get Instrument frame origin position vector (Satellite attitude frame). | |
void | setOffset (const double offset[3]) |
Change Instrument frame origin position vector (Satellite attitude frame). | |
void | setAzElDefinition (const AzElDefinition &azElDef) |
Set azimuth/elevation definition. | |
SatId | satId () const |
Return satellite id. | |
Protected Member Functions | |
GenericId * | getId () |
Get the id. | |
void | eraseObject () |
Erase object and free memory. |
Class for storing the Instrument Attitude configuration parameters.
EECFI::InstrTransId::InstrTransId | ( | ) |
Empty Class constructor.
EECFI::InstrTransId::~InstrTransId | ( | ) |
Class destructor.
References eraseObject().
void EECFI::InstrTransId::eraseObject | ( | ) | [protected] |
Erase object and free memory.
References EECFI::CfiId::status(), EECFI::CfiId::subtractInstance(), and EECFI::CfiClass::throwWarn.
Referenced by EECFI::Attitude::setTransformations(), and ~InstrTransId().
AngleModel EECFI::InstrTransId::getAngles | ( | ) | const |
Get angles model.
References EECFI::CfiError::addMsg(), EECFI::AngleModel::angles, and EECFI::CfiClass::throwWarn.
AttFileModel EECFI::InstrTransId::getFile | ( | ) | const |
Get file data of object.
References EECFI::CfiError::addMsg(), EECFI::AttFileModel::attData, EECFI::AttFileModel::dataType, EECFI::AttFileModel::fileModel, EECFI::AttFileModel::inertialFrame, EECFI::AttFileModel::maxGap, EECFI::CfiClass::throwWarn, EECFI::AttFileModel::valTime0, and EECFI::AttFileModel::valTime1.
HarmonicModel EECFI::InstrTransId::getHarmonic | ( | ) | const |
Get harmonic parameters of object.
References EECFI::CfiError::addMsg(), EECFI::HarmonicModel::angleType, EECFI::HarmonicData::harmonicCoeffPitch, EECFI::HarmonicData::harmonicCoeffRoll, EECFI::HarmonicData::harmonicCoeffYaw, EECFI::HarmonicModel::harmonicData, EECFI::HarmonicData::harmonicTypePitch, EECFI::HarmonicData::harmonicTypeRoll, EECFI::HarmonicData::harmonicTypeYaw, and EECFI::CfiClass::throwWarn.
GenericId * EECFI::InstrTransId::getId | ( | ) | [protected] |
Get the id.
Referenced by EECFI::AttitudeDef::attitudeTransform(), EECFI::Attitude::changeFrame(), and EECFI::Attitude::compute().
MatrixModel EECFI::InstrTransId::getMatrix | ( | ) | const |
Get matrix model.
References EECFI::CfiError::addMsg(), EECFI::MatrixModel::attMatrix, and EECFI::CfiClass::throwWarn.
void EECFI::InstrTransId::getOffset | ( | double | offset[3] | ) | const |
Get Instrument frame origin position vector (Satellite attitude frame).
offset | [OUTPUT] Instrument frame origin position vector - Satellite attitude frame-. |
References EECFI::CfiError::addMsg(), and EECFI::CfiClass::throwWarn.
void EECFI::InstrTransId::init | ( | const double | angle[3], | |
const double | offset[3] | |||
) |
Initialise using angles.
angle | Rotation angles.
. | |
offset | Instrument Frame Origin position vector (Satellite attitude frame) [m]. |
References EECFI::CfiId::addInstance(), and EECFI::CfiClass::throwWarn.
void EECFI::InstrTransId::init | ( | const TimeCorrelation & | timeId, | |
const std::vector< std::string > & | files, | |||
long | timeInitMode, | |||
long | timeRef, | |||
double | time0, | |||
double | time1 | |||
) |
Initialise satellite attitude angles for a given satellite reading values from the attitude files.
void EECFI::InstrTransId::init | ( | const double | matrix[3][3], | |
const double | offset[3] | |||
) |
Initialise using matrix.
matrix | Rotation matrix. | |
offset | Instrument Frame Origin position vector (Satellite attitude frame) [m]. |
References EECFI::CfiId::addInstance(), and EECFI::CfiClass::throwWarn.
void EECFI::InstrTransId::init | ( | long | angleType, | |
const std::vector< long > & | harmTypePitch, | |||
const std::vector< long > & | harmTypeRoll, | |||
const std::vector< long > & | harmTypeYaw, | |||
const std::vector< double > & | harmCoeffPitch, | |||
const std::vector< double > & | harmCoeffRoll, | |||
const std::vector< double > & | harmCoeffYaw, | |||
double | offsets[3] | |||
) |
Initialise instrument attitude mispointing angles for a given satellite with a user-provided set of values.
SatId EECFI::InstrTransId::satId | ( | ) | const |
Return satellite id.
void EECFI::InstrTransId::setAngles | ( | const AngleModel & | angleModel | ) |
Change angles model.
angleModel | Angle model data. |
References EECFI::CfiError::addMsg(), EECFI::AngleModel::angles, and EECFI::CfiClass::throwWarn.
void EECFI::InstrTransId::setAzElDefinition | ( | const AzElDefinition & | azElDef | ) |
Set azimuth/elevation definition.
azElDef | Definition of azimuth and elevation. |
References EECFI::AzElDefinition::az0Axis, EECFI::AzElDefinition::az90Axis, EECFI::AzElDefinition::el90Axis, and EECFI::CfiClass::throwWarn.
void EECFI::InstrTransId::setFile | ( | const AttFileModel & | fileModel | ) |
Change initialisation file data of the object.
References EECFI::CfiError::addMsg(), EECFI::AttFileModel::attData, EECFI::AttFileModel::dataType, EECFI::AttFileModel::fileModel, EECFI::AttFileModel::inertialFrame, EECFI::AttFileModel::maxGap, EECFI::CfiClass::throwWarn, EECFI::AttFileModel::valTime0, and EECFI::AttFileModel::valTime1.
void EECFI::InstrTransId::setHarmonic | ( | const HarmonicModel & | harmonicModel | ) |
Change harmonic parameters of the object.
harmonicModel | model data. |
References EECFI::CfiError::addMsg(), EECFI::HarmonicModel::angleType, EECFI::HarmonicData::harmonicCoeffPitch, EECFI::HarmonicData::harmonicCoeffRoll, EECFI::HarmonicData::harmonicCoeffYaw, EECFI::HarmonicModel::harmonicData, EECFI::HarmonicData::harmonicTypePitch, EECFI::HarmonicData::harmonicTypeRoll, EECFI::HarmonicData::harmonicTypeYaw, and EECFI::CfiClass::throwWarn.
void EECFI::InstrTransId::setMatrix | ( | const MatrixModel & | matrixModel | ) |
Change matrix model.
matrixModel | Matrix model data. |
References EECFI::CfiError::addMsg(), EECFI::MatrixModel::attMatrix, and EECFI::CfiClass::throwWarn.
void EECFI::InstrTransId::setOffset | ( | const double | offset[3] | ) |
Change Instrument frame origin position vector (Satellite attitude frame).
offset | Instrument frame origin position vector - Satellite attitude frame- [m]. |
References EECFI::CfiError::addMsg(), and EECFI::CfiClass::throwWarn.