00001 /* -*- mode:c++ -*- */ 00002 00014 #include "FitsFileBase.h" 00015 00016 #include <vector> 00017 00029 class FitsFile : public FitsFileBase { 00030 00031 private: 00032 00036 int fillFromTableColumn ( std::vector < double > & vec, 00037 int column ); 00038 00041 int fillFromImage ( std::vector < double > & vec ); 00042 00043 public: 00044 00046 FitsFile ( const std::string & filename ); 00047 00051 void fillHDUNames ( std::vector < std::string > & names ); 00052 00056 int fillColumnNames ( std::vector < std::string > & labels ); 00057 00058 00074 int fillDoubleVectorFromColumn ( std::vector < double > &vec, int column ); 00075 00091 int fillIntVectorFromColumn ( std::vector < int > & vec, int column ); 00092 00097 int fillAxisSizes ( std::vector < long > & vec ) const; 00098 00102 void fillImageDeltas ( std::vector < double > & deltas ) const; 00103 00107 void fillRefPixelIndices ( std::vector < int > & indices ) const; 00108 00112 void fillRefPixelValues ( std::vector < double > & values ) const; 00113 00117 bool isHammerAitoff () const; 00118 00119 };