lsst.jointcal  master-g9041cab851+5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ProjectionHandler.h
Go to the documentation of this file.
1 // -*- LSST-C++ -*-
2 #ifndef LSST_JOINTCAL_PROJECTION_HANDLER_H
3 #define LSST_JOINTCAL_PROJECTION_HANDLER_H
4 
7 #include "map"
8 
9 namespace lsst {
10 namespace jointcal {
11 
12 class Mapping;
13 class CcdImage;
14 
21  virtual const Gtransfo *getSky2TP(const CcdImage &ccdImage) const = 0;
22 
23  virtual ~ProjectionHandler(){};
24 };
25 
33 
34 public:
35  const Gtransfo *getSky2TP(const CcdImage &ccdImage) const { return &id; };
36 };
37 
46  typedef std::map<const unsigned, std::shared_ptr<const Gtransfo>> TransfoMap;
47  TransfoMap tMap;
48 
49 public:
50  OneTPPerVisitHandler(const CcdImageList &ccdImageList);
51 
52  const Gtransfo *getSky2TP(const CcdImage &ccdImage) const;
53 };
54 } // namespace jointcal
55 } // namespace lsst
56 
57 #endif // LSST_JOINTCAL_PROJECTION_HANDLER_H
OneTPPerVisitHandler(const CcdImageList &ccdImageList)
const Gtransfo * getSky2TP(const CcdImage &ccdImage) const
virtual const Gtransfo * getSky2TP(const CcdImage &ccdImage) const =0
A projection handler in which all CCDs from the same visit have the same tangent point.
This is a virtual class that allows a lot of freedom in the choice of the projection from &quot;Sky&quot; (wher...
The simplest implementation of ProjectionHandler.
A do-nothing transformation. It anyway has dummy routines to mimick a Gtransfo.
Definition: Gtransfo.h:148
a virtual (interface) class for geometric transformations.
Definition: Gtransfo.h:37
const Gtransfo * getSky2TP(const CcdImage &ccdImage) const
std::list< std::shared_ptr< CcdImage > > CcdImageList
Definition: CcdImage.h:22
Handler of an actual image from a single CCD.
Definition: CcdImage.h:31