lsst.jointcal  14.0-28-ge87de3a
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 
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
virtual const Gtransfo * getSky2TP(const CcdImage &ccdImage) const =0
STL class.
A projection handler in which all CCDs from the same visit have the same tangent point.
Class for a simple mapping implementing a generic Gtransfo.
This is a virtual class that allows a lot of freedom in the choice of the projection from "Sky" (wher...
The simplest implementation of ProjectionHandler.
const Gtransfo * getSky2TP(const CcdImage &ccdImage) const
A do-nothing transformation. It anyway has dummy routines to mimick a Gtransfo.
Definition: Gtransfo.h:152
a virtual (interface) class for geometric transformations.
Definition: Gtransfo.h:41
int id
Handler of an actual image from a single CCD.
Definition: CcdImage.h:35