VTK  9.3.1
vtkMRCReader.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
15 #ifndef vtkMRCReader_h
16 #define vtkMRCReader_h
17 
18 #include "vtkIOImageModule.h" // For export macro
19 #include "vtkImageAlgorithm.h"
20 
21 VTK_ABI_NAMESPACE_BEGIN
22 class vtkInformation;
24 
25 class VTKIOIMAGE_EXPORT vtkMRCReader : public vtkImageAlgorithm
26 {
27 public:
28  static vtkMRCReader* New();
30 
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
33  // .Description
34  // Get/Set the file to read
35  vtkSetFilePathMacro(FileName);
36  vtkGetFilePathMacro(FileName);
37 
38 protected:
39  vtkMRCReader();
40  ~vtkMRCReader() override;
41 
42  int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
43  vtkInformationVector* outputVector) override;
44  void ExecuteDataWithInformation(vtkDataObject* output, vtkInformation* outInfo) override;
45 
46  char* FileName;
47 
48 private:
49  vtkMRCReader(const vtkMRCReader&) = delete;
50  void operator=(const vtkMRCReader&) = delete;
51  class vtkInternal;
52  vtkInternal* Internals;
53 };
54 
55 VTK_ABI_NAMESPACE_END
56 #endif
char * FileName
Definition: vtkMRCReader.h:46
Store vtkAlgorithm input/output information.
virtual void ExecuteDataWithInformation(vtkDataObject *output, vtkInformation *outInfo)
This is a convenience method that is implemented in many subclasses instead of RequestData.
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
read MRC image files
Definition: vtkMRCReader.h:25
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
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:54