VTK
vtkSegY3DReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSegY3DReader.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 =========================================================================*/
15 
16 #ifndef vtkSegY3DReader_h
17 #define vtkSegY3DReader_h
18 
19 #include "vtkImageAlgorithm.h"
20 
21 #include "vtkSegYReader.h" // For reader implementation
22 #include "vtkSmartPointer.h" // For smart pointer
23 
24 #include <vtkIOSegYModule.h> // For export macro
25 
26 // Forward declarations
27 class vtkImageData;
28 
29 class VTKIOSEGY_EXPORT vtkSegY3DReader : public vtkImageAlgorithm
30 {
31 public:
32  static vtkSegY3DReader* New();
33 
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
37  vtkSetStringMacro(FileName);
38  vtkGetStringMacro(FileName);
39 
40  virtual vtkImageData* GetImage();
41 
42 protected:
44  ~vtkSegY3DReader();
45 
46  char* FileName;
49 
50 private:
51  vtkSegY3DReader(const vtkSegY3DReader&) = delete;
52  void operator=(const vtkSegY3DReader&) = delete;
53 };
54 
55 #endif // vtkSegY3DReader_h
vtkSegYReader reader
vtkSmartPointer< vtkImageData > image
a simple class to control print indentation
Definition: vtkIndent.h:39
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
Generic algorithm superclass for image algs.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.