OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimAdjSolutionAttributes.cpp
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: David Hicks
6 //
7 // Description: Helper interface class for ossimAdjustmentExecutive
8 // and ossimWLSBundleSolution.
9 //----------------------------------------------------------------------------
10 
12 #include <ossim/base/ossimTrace.h>
13 #include <ossim/base/ossimNotify.h>
14 
15 static ossimTrace traceDebug(ossimString("ossimAdjSolutionAttributes:debug"));
16 static ossimTrace traceExec(ossimString("ossimAdjSolutionAttributes:exec"));
17 
18 
19 //*****************************************************************************
20 // METHOD: ossimAdjSolutionAttributes::ossimAdjSolutionAttributes
21 //
22 // DESCRIPTION: Default constructor
23 //
24 // PARAMETERS: N/A
25 //
26 // RETURN: N/A
27 //*****************************************************************************
29  const int& numObjObs, const int& numImages, const int& numMeas, const int& rankN)
30  :
31  theNumObjObs(numObjObs),
32  theNumImages(numImages),
33  theFullRank(rankN),
34  theNumMeasurements(numMeas)
35 {
36  theTotalCorrections.ReSize(rankN,1);
37  theLastCorrections.ReSize(rankN,1);
38  theTotalCorrections = 0.0;
39  theLastCorrections = 0.0;
40 }
41 
42 
43 //*****************************************************************************
44 // METHOD: ossimAdjSolutionAttributes::~ossimAdjSolutionAttributes
45 //
46 // DESCRIPTION: Destructor
47 //
48 // PARAMETERS: N/A
49 //
50 // RETURN: N/A
51 //*****************************************************************************
53 {
54  if (traceExec()) ossimNotify(ossimNotifyLevel_DEBUG)
55  << "DEBUG: ~ossimAdjSolutionAttributes(): returning..." << std::endl;
56 }
57 
58 
59 //*****************************************************************************
60 // METHOD: operator <<
61 //
62 // DESCRIPTION: Output point parameters.
63 //
64 // PARAMETERS: N/A
65 //
66 // RETURN: N/A
67 //*****************************************************************************
69 {
70 
71  output << "ossimAdjSolutionAttributes..." << std::endl;
72 
73  return output;
74 }
std::ostream & operator<<(std::ostream &output, ossimAdjSolutionAttributes &)
ossimAdjSolutionAttributes(const int &numObjObs, const int &numImages, const int &numMeas, const int &rank)
NEWMAT::ColumnVector theTotalCorrections
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23