VTK  9.3.20240419
vtkTIFFReaderInternal.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
9 #ifndef vtkTIFFReaderInternal_h
10 #define vtkTIFFReaderInternal_h
11 
12 extern "C"
13 {
14 #include "vtk_tiff.h"
15 }
16 VTK_ABI_NAMESPACE_BEGIN
17 
19 {
20 public:
23 
24  bool Initialize();
25  void Clean();
26  bool CanRead();
27  bool Open(VTK_FILEPATH const char* filename);
28  TIFF* Image;
29  bool IsOpen;
30  unsigned int Width;
31  unsigned int Height;
32  unsigned short NumberOfPages;
33  unsigned short CurrentPage;
34  unsigned short SamplesPerPixel;
35  unsigned short Compression;
36  unsigned short BitsPerSample;
37  unsigned short Photometrics;
39  unsigned short PlanarConfig;
40  unsigned short Orientation;
41  unsigned long int TileDepth;
42  unsigned int TileRows;
43  unsigned int TileColumns;
44  unsigned int TileWidth;
45  unsigned int TileHeight;
46  unsigned short NumberOfTiles;
47  unsigned int SubFiles;
48  unsigned int ResolutionUnit;
49  float XResolution;
50  float YResolution;
51  short SampleFormat;
52  static void ErrorHandler(const char* module, const char* fmt, va_list ap);
53 
54 private:
56  void operator=(const vtkTIFFReaderInternal&) = delete;
57 };
58 
59 VTK_ABI_NAMESPACE_END
60 #endif
61 // VTK-HeaderTest-Exclude: vtkTIFFReaderInternal.h
bool Open(VTK_FILEPATH const char *filename)
static void ErrorHandler(const char *module, const char *fmt, va_list ap)
#define VTK_FILEPATH