HelmertTransformer.hpp
Go to the documentation of this file.
1 //==============================================================================
2 //
3 // This file is part of GNSSTk, the ARL:UT GNSS Toolkit.
4 //
5 // The GNSSTk is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU Lesser General Public License as published
7 // by the Free Software Foundation; either version 3.0 of the License, or
8 // any later version.
9 //
10 // The GNSSTk is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU Lesser General Public License for more details.
14 //
15 // You should have received a copy of the GNU Lesser General Public
16 // License along with GNSSTk; if not, write to the Free Software Foundation,
17 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
18 //
19 // This software was developed by Applied Research Laboratories at the
20 // University of Texas at Austin.
21 // Copyright 2004-2022, The Board of Regents of The University of Texas System
22 //
23 //==============================================================================
24 
25 //==============================================================================
26 //
27 // This software was developed by Applied Research Laboratories at the
28 // University of Texas at Austin, under contract to an agency or agencies
29 // within the U.S. Department of Defense. The U.S. Government retains all
30 // rights to use, duplicate, distribute, disclose, or release this software.
31 //
32 // Pursuant to DoD Directive 523024
33 //
34 // DISTRIBUTION STATEMENT A: This software has been approved for public
35 // release, distribution is unlimited.
36 //
37 //==============================================================================
38 
39 #ifndef GNSSTK_HELMERTTRANSFORMER_HPP
40 #define GNSSTK_HELMERTTRANSFORMER_HPP
41 
42 #include "Transformer.hpp"
43 #include "Matrix.hpp"
44 
45 namespace gnsstk
46 {
48 
49 
53  {
54  public:
57 
130  HelmertTransformer(const RefFrame& from, const RefFrame& to,
131  double irx, double iry, double irz,
132  double itx, double ity, double itz,
133  double sc, const std::string& desc,
134  const CommonTime& refEpoch);
136  bool transform(const Position& fromPos, Position& toPos)
137  const noexcept override;
139  bool transform(const Xvt& fromPos, Xvt& toPos)
140  const noexcept override;
142  bool transform(const Vector<double>& fromPos,
143  const RefFrame& srcFrame,
144  Vector<double>& toPos)
145  const noexcept override;
147  bool transform(const Triple& fromPos,
148  const RefFrame& srcFrame,
149  Triple& toPos)
150  const noexcept override;
152  bool transform(double fx, double fy, double fz,
153  const RefFrame& srcFrame,
154  double& tx, double& ty, double& tz)
155  const noexcept override;
156 
159  std::string description;
160 
161  protected:
169  double scale;
170  }; // class HelmertTransformer
171 
173 
174 } // namespace gnsstk
175 
176 #endif // GNSSTK_HELMERTTRANSFORMER_HPP
gnsstk::HelmertTransformer::description
std::string description
Definition: HelmertTransformer.hpp:159
Transformer.hpp
gnsstk::HelmertTransformer::transform
bool transform(const Position &fromPos, Position &toPos) const noexcept override
Definition: HelmertTransformer.cpp:111
gnsstk::HelmertTransformer
Definition: HelmertTransformer.hpp:52
gnsstk::RefFrame
Definition: RefFrame.hpp:53
gnsstk::Triple
Definition: Triple.hpp:68
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::HelmertTransformer::HelmertTransformer
HelmertTransformer()
Initialize everything to invalid values.
Definition: HelmertTransformer.cpp:44
gnsstk::Matrix< double >
gnsstk::Transformer
Definition: Transformer.hpp:57
gnsstk::CommonTime
Definition: CommonTime.hpp:84
gnsstk::HelmertTransformer::scale
double scale
Scale factor. Dimensionless. 0 = no scale.
Definition: HelmertTransformer.hpp:169
gnsstk::Xvt
Definition: Xvt.hpp:60
gnsstk::HelmertTransformer::translation
Vector< double > translation
Definition: HelmertTransformer.hpp:167
gnsstk::Vector< double >
gnsstk::HelmertTransformer::rotation
Matrix< double > rotation
Definition: HelmertTransformer.hpp:164
gnsstk::Position
Definition: Position.hpp:136
Matrix.hpp


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:39