VTK  9.1.0
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
30class vtkInformation;
32
33class VTKIOIMAGE_EXPORT vtkMRCReader : public vtkImageAlgorithm
34{
35public:
36 static vtkMRCReader* New();
38
39 void PrintSelf(ostream& os, vtkIndent indent) override;
40
41 // .Description
42 // Get/Set the file to read
45
46protected:
48 ~vtkMRCReader() override;
49
51 vtkInformationVector* outputVector) override;
53
54 char* FileName;
55
56private:
57 vtkMRCReader(const vtkMRCReader&) = delete;
58 void operator=(const vtkMRCReader&) = delete;
59 class vtkInternal;
60 vtkInternal* Internals;
61};
62
63#endif
general representation of visualization data
Generic algorithm superclass for image algs.
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
read MRC image files
Definition: vtkMRCReader.h:34
vtkSetFilePathMacro(FileName)
static vtkMRCReader * New()
vtkGetFilePathMacro(FileName)
void ExecuteDataWithInformation(vtkDataObject *output, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
~vtkMRCReader() override
char * FileName
Definition: vtkMRCReader.h:54
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.