summaryrefslogtreecommitdiffstats
path: root/tksao/fitsy++/block.h
blob: 276c19ae13c902e6454112d23e779877445f0ec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright (C) 1999-2016
// Smithsonian Astrophysical Observatory, Cambridge, MA, USA
// For conditions of distribution and use, see copyright notice in "copyright"

#ifndef __fitsblock_h__
#define __fitsblock_h__

#include "vector.h"
#include "file.h"

class FitsBlock : public FitsFile {
 protected:
  int width_;
  int height_;
  size_t size_;
  int bitpix_;

  void initHeader(FitsFile*, Vector&);

  void initCCDSUM(Vector&);
  void initKeySEC(const char*, Vector&);
  void initLTMV(Vector&);
  void initWCS(Vector&);

 public:
  FitsBlock(FitsFile*, Vector&);
  ~FitsBlock();
};

#endif