VTK  9.2.6
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 =========================================================================*/
43 #ifndef vtkOMETIFFReader_h
44 #define vtkOMETIFFReader_h
45 
46 #include "vtkTIFFReader.h"
47 
48 class VTKIOIMAGE_EXPORT vtkOMETIFFReader : public vtkTIFFReader
49 {
50 public:
51  static vtkOMETIFFReader* New();
53  void PrintSelf(ostream& os, vtkIndent indent) override;
54 
56  int CanReadFile(VTK_FILEPATH const char* fname) override;
57  const char* GetFileExtensions() override { return ".ome.tif .ome.tiff"; }
58  const char* GetDescriptiveName() override { return "OME TIFF"; }
60 
61 protected:
63  ~vtkOMETIFFReader() override;
64 
65  int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
66  vtkInformationVector* outputVector) override;
67  void ExecuteInformation() override;
68  void ExecuteDataWithInformation(vtkDataObject* out, vtkInformation* outInfo) override;
69 
70 private:
71  vtkOMETIFFReader(const vtkOMETIFFReader&) = delete;
72  void operator=(const vtkOMETIFFReader&) = delete;
73 
74  class vtkOMEInternals;
75  vtkOMEInternals* OMEInternals;
76 };
77 
78 #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:34
const char * GetFileExtensions() override
Get the file extensions for this format.
reader for OME TIFF files
a simple class to control print indentation
Definition: vtkIndent.h:39
#define VTK_FILEPATH
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:65
int CanReadFile(VTK_FILEPATH const char *fname) override
Is the given file name a tiff file?
const char * GetDescriptiveName() override
Return a descriptive name for the file format that might be useful in a GUI.
void ExecuteInformation() override