VTK  9.3.20240416
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
37 
38 protected:
40  ~vtkMRCReader() override;
41 
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
general representation of visualization data
Generic algorithm superclass for image algs.
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
read MRC image files
Definition: vtkMRCReader.h:26
vtkSetFilePathMacro(FileName)
vtkGetFilePathMacro(FileName)
void ExecuteDataWithInformation(vtkDataObject *output, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
static vtkMRCReader * New()
~vtkMRCReader() override
char * FileName
Definition: vtkMRCReader.h:46
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.