VTK  9.2.6
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 =========================================================================*/
27 #ifndef vtkMRCReader_h
28 #define vtkMRCReader_h
29 
30 #include "vtkIOImageModule.h" // For export macro
31 #include "vtkImageAlgorithm.h"
32 
33 class vtkInformation;
35 
36 class VTKIOIMAGE_EXPORT vtkMRCReader : public vtkImageAlgorithm
37 {
38 public:
39  static vtkMRCReader* New();
41 
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
44  // .Description
45  // Get/Set the file to read
48 
49 protected:
51  ~vtkMRCReader() override;
52 
54  vtkInformationVector* outputVector) override;
55  void ExecuteDataWithInformation(vtkDataObject* output, vtkInformation* outInfo) override;
56 
57  char* FileName;
58 
59 private:
60  vtkMRCReader(const vtkMRCReader&) = delete;
61  void operator=(const vtkMRCReader&) = delete;
62  class vtkInternal;
63  vtkInternal* Internals;
64 };
65 
66 #endif
general representation of visualization data
Generic algorithm superclass for image algs.
a simple class to control print indentation
Definition: vtkIndent.h:119
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
read MRC image files
Definition: vtkMRCReader.h:37
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:57
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.