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 =========================================================================*/
24 #ifndef vtkMRCReader_h
25 #define vtkMRCReader_h
26 
27 #include "vtkImageAlgorithm.h"
28 #include "vtkIOImageModule.h" // For export macro
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) VTK_OVERRIDE;
40 
41  // .Description
42  // Get/Set the file to read
43  vtkSetStringMacro(FileName);
44  vtkGetStringMacro(FileName);
45 
46 protected:
47  vtkMRCReader();
48  ~vtkMRCReader() VTK_OVERRIDE;
49 
50  int RequestInformation(vtkInformation* request,
51  vtkInformationVector** inputVector,
52  vtkInformationVector* outputVector) VTK_OVERRIDE;
53  void ExecuteDataWithInformation(vtkDataObject *output,
54  vtkInformation* outInfo) VTK_OVERRIDE;
55 
56  char* FileName;
57 
58 private:
59  vtkMRCReader(const vtkMRCReader&) VTK_DELETE_FUNCTION;
60  void operator=(const vtkMRCReader&) VTK_DELETE_FUNCTION;
61  class vtkInternal;
62  vtkInternal* Internals;
63 
64 };
65 
66 #endif
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
read MRC image files
Definition: vtkMRCReader.h:33
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:58