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
46  vtkSetFilePathMacro(FileName);
47  vtkGetFilePathMacro(FileName);
48 
49 protected:
50  vtkMRCReader();
51  ~vtkMRCReader() override;
52 
53  int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
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
char * FileName
Definition: vtkMRCReader.h:57
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:39
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:36
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:65