VTK  9.0.3
vtkMRCReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMRCReader.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 =========================================================================*/
24 #ifndef vtkMRCReader_h
25 #define vtkMRCReader_h
26 
27 #include "vtkIOImageModule.h" // For export macro
28 #include "vtkImageAlgorithm.h"
29 
30 class vtkInformation;
32 
33 class VTKIOIMAGE_EXPORT vtkMRCReader : public vtkImageAlgorithm
34 {
35 public:
36  static vtkMRCReader* New();
38 
39  void PrintSelf(ostream& stream, vtkIndent indent) override;
40 
41  // .Description
42  // Get/Set the file to read
43  vtkSetStringMacro(FileName);
44  vtkGetStringMacro(FileName);
45 
46 protected:
48  ~vtkMRCReader() override;
49 
51  vtkInformationVector* outputVector) override;
52  void ExecuteDataWithInformation(vtkDataObject* output, vtkInformation* outInfo) override;
53 
54  char* FileName;
55 
56 private:
57  vtkMRCReader(const vtkMRCReader&) = delete;
58  void operator=(const vtkMRCReader&) = delete;
59  class vtkInternal;
60  vtkInternal* Internals;
61 };
62 
63 #endif
general representation of visualization data
Definition: vtkDataObject.h:60
Generic algorithm superclass for image algs.
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
read MRC image files
Definition: vtkMRCReader.h:34
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:54
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 &stream, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.