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);
43 
44  // .Description
45  // Get/Set the file to read
46  vtkSetStringMacro(FileName);
47  vtkGetStringMacro(FileName);
48 
49 protected:
50  vtkMRCReader();
51  virtual ~vtkMRCReader();
52 
53  virtual int RequestInformation(vtkInformation* request,
54  vtkInformationVector** inputVector,
55  vtkInformationVector* outputVector);
56  virtual void ExecuteDataWithInformation(vtkDataObject *output,
57  vtkInformation* outInfo);
58 
59  char* FileName;
60 
61 private:
62  vtkMRCReader(const vtkMRCReader&) VTK_DELETE_FUNCTION;
63  void operator=(const vtkMRCReader&) VTK_DELETE_FUNCTION;
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
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
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