Commit e5354458 authored by Jesse Mapel's avatar Jesse Mapel
Browse files

Added prototype ephemerides tool to qview

parent 100c4d6a
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -894,6 +894,14 @@ namespace Isis {
  }


  /**
   * Returns the time cache values.
   */
  std::vector<double> SpicePosition::timeCache() const {
    return (p_cacheTime);
  }


  /** 
   * Set the coefficients of a polynomial fit to each of the components (X, Y, Z)
   * of the position vector for the time period covered by the cache,
+2 −0
Original line number Diff line number Diff line
@@ -240,6 +240,8 @@ namespace Isis {

      Table Cache(const QString &tableName);

      std::vector<double> timeCache() const;

      //! Is this position cached
      bool IsCached() const {
        return (p_cache.size() > 0);
+8 −0
Original line number Diff line number Diff line
@@ -1176,6 +1176,14 @@ namespace Isis {
  }


  /**
   * Returns the time cache values.
   */
  std::vector<double> SpiceRotation::timeCache() const {
    return (p_cacheTime);
  }


  /** 
   * Return the camera angles at the center time of the observation
   *
+2 −0
Original line number Diff line number Diff line
@@ -348,6 +348,8 @@ namespace Isis {
      void CacheLabel(Table &table);
      void PolynomialLabel(Table &table);

      std::vector<double> timeCache() const;

      void LoadTimeCache();

      std::vector<double> Angles(int axis3, int axis2, int axis1);
+4 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
#include "BandTool.h"
#include "BlinkTool.h"
#include "EditTool.h"
#include "EphemeridesPlotTool.h"
#include "FeatureNomenclatureTool.h"
#include "FileName.h"
#include "FileTool.h"
@@ -187,6 +188,8 @@ int main(int argc, char *argv[]) {

  Tool *matchTool = createTool<MatchTool>(vw, &tools);

  Tool *ephemeridesTool = createTool<EphemeridesPlotTool>(vw, &tools);

  Tool *helpTool = createTool<HelpTool>(vw, &tools);

  // Show the application window & open the cubes
@@ -258,6 +261,7 @@ int main(int argc, char *argv[]) {
  delete panTool;
  delete statsTool;
  delete helpTool;
  delete ephemeridesTool;
  delete matchTool;
  delete stereoTool;
  delete histTool;
Loading