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