VTK  9.0.1
vtkOMETIFFReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOMETIFFReader.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 =========================================================================*/
40 #ifndef vtkOMETIFFReader_h
41 #define vtkOMETIFFReader_h
42 
43 #include "vtkTIFFReader.h"
44 
45 class VTKIOIMAGE_EXPORT vtkOMETIFFReader : public vtkTIFFReader
46 {
47 public:
48  static vtkOMETIFFReader* New();
50  void PrintSelf(ostream& os, vtkIndent indent) override;
51 
53  int CanReadFile(const char* fname) override;
54  const char* GetFileExtensions() override { return ".ome.tif .ome.tiff"; }
55  const char* GetDescriptiveName() override { return "OME TIFF"; }
57 
58 protected:
60  ~vtkOMETIFFReader() override;
61 
62  int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
63  vtkInformationVector* outputVector) override;
64  void ExecuteInformation() override;
65  void ExecuteDataWithInformation(vtkDataObject* out, vtkInformation* outInfo) override;
66 
67 private:
68  vtkOMETIFFReader(const vtkOMETIFFReader&) = delete;
69  void operator=(const vtkOMETIFFReader&) = delete;
70 
71  class vtkOMEInternals;
72  vtkOMEInternals* OMEInternals;
73 };
74 
75 #endif
Store vtkAlgorithm input/output information.
void ExecuteDataWithInformation(vtkDataObject *out, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
read TIFF files
Definition: vtkTIFFReader.h:31
const char * GetFileExtensions() override
Get the file extensions for this format.
int CanReadFile(const char *fname) override
Is the given file name a tiff file?
reader for OME TIFF files
a simple class to control print indentation
Definition: vtkIndent.h:33
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
static vtkTIFFReader * New()
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
general representation of visualization data
Definition: vtkDataObject.h:59
const char * GetDescriptiveName() override
Return a descriptive name for the file format that might be useful in a GUI.
void ExecuteInformation() override