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