VTK  9.7.1
vtkOMETIFFReader.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
33 #ifndef vtkOMETIFFReader_h
34 #define vtkOMETIFFReader_h
35 
36 #include "vtkTIFFReader.h"
37 
38 VTK_ABI_NAMESPACE_BEGIN
39 class VTKIOIMAGE_EXPORT vtkOMETIFFReader : public vtkTIFFReader
40 {
41 public:
42  static vtkOMETIFFReader* New();
44  void PrintSelf(ostream& os, vtkIndent indent) override;
45 
48  int CanReadFile(VTK_FILEPATH const char* fname) override;
49  const char* GetFileExtensions() override { return ".ome.tif .ome.tiff"; }
50  const char* GetDescriptiveName() override { return "OME TIFF"; }
52 
53 protected:
55  ~vtkOMETIFFReader() override;
56 
57  int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
58  vtkInformationVector* outputVector) override;
59  void ExecuteInformation() override;
60  void ExecuteDataWithInformation(vtkDataObject* out, vtkInformation* outInfo) override;
61 
62 private:
63  vtkOMETIFFReader(const vtkOMETIFFReader&) = delete;
64  void operator=(const vtkOMETIFFReader&) = delete;
65 
66  class vtkOMEInternals;
67  vtkOMEInternals* OMEInternals;
68 };
69 
70 VTK_ABI_NAMESPACE_END
71 #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:24
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:28
#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...
virtual int CanReadFile(const char *fname)
Return non zero if the reader can read the given file name.
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:55
const char * GetDescriptiveName() override
Return a descriptive name for the file format that might be useful in a GUI.
void ExecuteInformation() override