SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
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 _SEFRAMEWORK_COORDINATESYSTEM_WCS_H_
25#define _SEFRAMEWORK_COORDINATESYSTEM_WCS_H_
26
27#include <memory>
28#include <map>
29
32
33struct wcsprm;
34
35namespace SourceXtractor {
36
37class WCS : public CoordinateSystem {
38public:
39 explicit WCS(const FitsImageSource& fits_image_source);
40 explicit WCS(const WCS& original);
41
42 virtual ~WCS();
43
46
48
50
51private:
52 void init(char* headers, int number_of_records);
53
55};
56
57}
58
59#endif /* _SEFRAMEWORK_COORDINATESYSTEM_WCS_H_ */
WCS(const FitsImageSource &fits_image_source)
Definition WCS.cpp:155
void addOffset(PixelCoordinate pc)
Definition WCS.cpp:289
void init(char *headers, int number_of_records)
Definition WCS.cpp:180
std::map< std::string, std::string > getFitsHeaders() const override
Definition WCS.cpp:265
WorldCoordinate imageToWorld(ImageCoordinate image_coordinate) const override
Definition WCS.cpp:222
std::unique_ptr< wcsprm, std::function< void(wcsprm *)> m_wcs)
Definition WCS.h:54
ImageCoordinate worldToImage(WorldCoordinate world_coordinate) const override
Definition WCS.cpp:243
virtual ~WCS()
Definition WCS.cpp:219
A pixel coordinate made of two integers m_x and m_y.