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 
54  vtkInformationVector** inputVector,
55  vtkInformationVector* outputVector) override;
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
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
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:40
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:39
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
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:36
vtkMRCReader::FileName
char * FileName
Definition: vtkMRCReader.h:59
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:64