Definition at line 29 of file pksensormodel.h.
◆ DataModel() [1/2]
◆ DataModel() [2/2]
DataModel::DataModel |
( |
const SensorModel::SensorModel & |
theModel | ) |
|
|
inline |
Definition at line 32 of file pksensormodel.h.
32: m_model(theModel), m_threshold(0){};
◆ ~DataModel()
DataModel::~DataModel |
( |
| ) |
|
|
inline |
◆ erase()
int DataModel::erase |
( |
int |
index | ) |
|
|
inline |
Definition at line 39 of file pksensormodel.h.
39 {
40 m_attPlatform.erase(m_attPlatform.begin()+index);
41 m_posPlatform.erase(m_posPlatform.begin()+index);
42 m_posGCP.erase(m_posGCP.begin()+index);
43 m_row.erase(m_row.begin()+index);
44 m_col.erase(m_col.begin()+index);
45 };
◆ getAttPlatform()
arma::vec DataModel::getAttPlatform |
( |
int |
index | ) |
const |
|
inline |
Definition at line 52 of file pksensormodel.h.
52{assert(index>=0);assert(index<m_attPlatform.size());return(m_attPlatform[index]);};
◆ getCol()
int DataModel::getCol |
( |
int |
index | ) |
const |
|
inline |
Definition at line 65 of file pksensormodel.h.
65{assert(index>=0);assert(index<m_col.size());return(m_col[index]);};
◆ getDistGeo()
double DataModel::getDistGeo |
( |
int |
index | ) |
const |
|
inline |
Definition at line 63 of file pksensormodel.h.
63{assert(index>=0);assert(index<m_posGCP.size());return(m_model.getDistGeo(m_posGCP[index],getPos(index)));};
◆ getHeight()
double DataModel::getHeight |
( |
int |
index | ) |
const |
|
inline |
Definition at line 66 of file pksensormodel.h.
66{assert(index>=0);assert(index<m_posGCP.size());return(m_posGCP[index][2]);};
◆ getModel()
const SensorModel::SensorModel & DataModel::getModel |
( |
| ) |
const |
|
inline |
◆ getPos()
arma::vec DataModel::getPos |
( |
int |
index | ) |
const |
|
inline |
Definition at line 54 of file pksensormodel.h.
54 {
55 assert(index>=0);
56 assert(index<m_posPlatform.size());
57 assert(index<m_attPlatform.size());
58 assert(index<m_row.size());
59 assert(index<m_col.size());
60 assert(index<m_posGCP.size());
61 return(m_model.getPos(m_posPlatform[index],m_attPlatform[index],m_row[index],m_col[index],m_posGCP[index][2]));
62 };
◆ getPosGCP()
arma::vec DataModel::getPosGCP |
( |
int |
index | ) |
const |
|
inline |
Definition at line 53 of file pksensormodel.h.
53{assert(index>=0);assert(index<m_posGCP.size());return(m_posGCP[index]);};
◆ getPosPlatform()
arma::vec DataModel::getPosPlatform |
( |
int |
index | ) |
const |
|
inline |
Definition at line 51 of file pksensormodel.h.
51{assert(index>=0);assert(index<m_posPlatform.size());return(m_posPlatform[index]);};
◆ getRow()
int DataModel::getRow |
( |
int |
index | ) |
const |
|
inline |
Definition at line 64 of file pksensormodel.h.
64{assert(index>=0);assert(index<m_row.size());return(m_row[index]);};
◆ getSize()
int DataModel::getSize |
( |
| ) |
const |
|
inline |
◆ getThreshold()
double DataModel::getThreshold |
( |
| ) |
|
|
inline |
◆ pushAttPlatform()
int DataModel::pushAttPlatform |
( |
const arma::vec & |
atp | ) |
|
|
inline |
Definition at line 46 of file pksensormodel.h.
46{m_attPlatform.push_back(atp); return m_attPlatform.size();};
◆ pushCol()
int DataModel::pushCol |
( |
int |
c | ) |
|
|
inline |
Definition at line 50 of file pksensormodel.h.
50{m_col.push_back(c); return m_col.size();};
◆ pushPosGCP()
int DataModel::pushPosGCP |
( |
const arma::vec & |
pgcp | ) |
|
|
inline |
Definition at line 48 of file pksensormodel.h.
48{m_posGCP.push_back(pgcp); return m_posGCP.size();};
◆ pushPosPlatform()
int DataModel::pushPosPlatform |
( |
const arma::vec & |
ppl | ) |
|
|
inline |
Definition at line 47 of file pksensormodel.h.
47{m_posPlatform.push_back(ppl); return m_posPlatform.size();};
◆ pushRow()
int DataModel::pushRow |
( |
int |
r | ) |
|
|
inline |
Definition at line 49 of file pksensormodel.h.
49{m_row.push_back(r); return m_row.size();};
◆ setBoresightAtt()
void DataModel::setBoresightAtt |
( |
const arma::vec & |
bc_att | ) |
|
|
inline |
Definition at line 67 of file pksensormodel.h.
67 {
68 m_model.setBoresightAtt(bc_att);
69
70
71 };
◆ setModel()
void DataModel::setModel |
( |
const SensorModel::SensorModel & |
theModel | ) |
|
|
inline |
◆ setThreshold()
void DataModel::setThreshold |
( |
double |
theThreshold | ) |
|
|
inline |
The documentation for this class was generated from the following file: