gastro  0.1.0
 All Classes Files Functions Variables Pages
projectionhandler.h
1 #ifndef PROJECTIONHANDLER__H
2 #define PROJECTIONHANDLER__H
3 
4 #include "gtransfo.h"
5 #include "map"
6 
7 class Mapping;
8 class CcdImage;
9 class CcdImageList;
10 
12 
14 {
15  virtual const Gtransfo* Sky2TP(const Mapping* M, const CcdImage &C) const = 0;
16 };
17 
20 {
21  GtransfoIdentity id;
22  public:
23  const Gtransfo* Sky2TP(const Mapping* M, const CcdImage &C) const
24  { return &id;};
25 
26 };
27 
29 /* ! We arbitrarily chose that all chips from a same shoot have the same tangent point, but other choices can be made. */
31 {
32  typedef std::map<const unsigned, CountedRef<Gtransfo> > TransfoMap;
33  TransfoMap tMap;
34 
35  public:
36  OneTPPerShoot(const CcdImageList &L);
37 
38  const Gtransfo* Sky2TP(const Mapping* M, const CcdImage &C) const;
39 
40 };
41 
42 
43 
44 
45 
46 
47 
48 #endif
virtual class needed in the abstraction of the distortion model
Definition: mapping.h:13
A possible implementation of ProjectionHandler for fitting actual WCS's.
Definition: projectionhandler.h:30
handler of an actual image from a single CCD
Definition: ccdimage.h:21
the simplest implementation of ProjectionHandler. Means that coordinates of objects are expressed in ...
Definition: projectionhandler.h:19
This is a virtual class that allows a lot of freedom in the choice of the projection from "Sky" (wher...
Definition: projectionhandler.h:13