SourceXtractorPlusPlus  0.10
Please provide a description of the project.
WCS.h
Go to the documentation of this file.
1 
17 /*
18  * WCS.h
19  *
20  * Created on: Nov 17, 2016
21  * Author: mschefer
22  */
23 
24 #ifndef _SEIMPLEMENTATION_COORDINATESYSTEM_WCS_H_
25 #define _SEIMPLEMENTATION_COORDINATESYSTEM_WCS_H_
26 
28 
29 namespace wcslib {
30 struct wcsprm;
31 }
32 
33 namespace SourceXtractor {
34 
35 class WCS : public CoordinateSystem {
36 public:
37  WCS(const std::string& fits_file_path, int hdu_number = 1);
38  virtual ~WCS();
39 
40  WorldCoordinate imageToWorld(ImageCoordinate image_coordinate) const override;
41  ImageCoordinate worldToImage(WorldCoordinate world_coordinate) const override;
42 
44 
45 private:
47 };
48 
49 }
50 
51 #endif /* _SEIMPLEMENTATION_COORDINATESYSTEM_WCS_H_ */
Definition: WCS.h:29
WCS(const std::string &fits_file_path, int hdu_number=1)
Definition: WCS.cpp:63
STL class.
WorldCoordinate imageToWorld(ImageCoordinate image_coordinate) const override
Definition: WCS.cpp:107
std::map< std::string, std::string > getFitsHeaders() const override
Definition: WCS.cpp:147
virtual ~WCS()
Definition: WCS.cpp:104
STL class.
ImageCoordinate worldToImage(WorldCoordinate world_coordinate) const override
Definition: WCS.cpp:128
std::unique_ptr< wcslib::wcsprm, std::function< void(wcslib::wcsprm *)> > m_wcs
Definition: WCS.h:46