VTK  9.1.0
vtkTIFFReaderInternal.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkTIFFReaderInternal.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
21#ifndef vtkTIFFReaderInternal_h
22#define vtkTIFFReaderInternal_h
23
24extern "C"
25{
26#include "vtk_tiff.h"
27}
28
30{
31public:
34
35 bool Initialize();
36 void Clean();
37 bool CanRead();
38 bool Open(VTK_FILEPATH const char* filename);
39 TIFF* Image;
40 bool IsOpen;
41 unsigned int Width;
42 unsigned int Height;
43 unsigned short NumberOfPages;
44 unsigned short CurrentPage;
45 unsigned short SamplesPerPixel;
46 unsigned short Compression;
47 unsigned short BitsPerSample;
48 unsigned short Photometrics;
50 unsigned short PlanarConfig;
51 unsigned short Orientation;
52 unsigned long int TileDepth;
53 unsigned int TileRows;
54 unsigned int TileColumns;
55 unsigned int TileWidth;
56 unsigned int TileHeight;
57 unsigned short NumberOfTiles;
58 unsigned int SubFiles;
59 unsigned int ResolutionUnit;
63 static void ErrorHandler(const char* module, const char* fmt, va_list ap);
64
65private:
67 void operator=(const vtkTIFFReaderInternal&) = delete;
68};
69
70#endif
71// 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