VTK
vtkVolumeReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkVolumeReader.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 =========================================================================*/
44 #ifndef vtkVolumeReader_h
45 #define vtkVolumeReader_h
46 
47 #include "vtkIOImageModule.h" // For export macro
48 #include "vtkImageAlgorithm.h"
49 
51 {
52 public:
54  void PrintSelf(ostream& os, vtkIndent indent);
55 
57 
58  vtkSetStringMacro(FilePrefix);
59  vtkGetStringMacro(FilePrefix);
61 
63 
64  vtkSetStringMacro(FilePattern);
65  vtkGetStringMacro(FilePattern);
67 
69 
70  vtkSetVector2Macro(ImageRange,int);
71  vtkGetVectorMacro(ImageRange,int,2);
73 
75 
76  vtkSetVector3Macro(DataSpacing,double);
77  vtkGetVectorMacro(DataSpacing,double,3);
79 
81 
82  vtkSetVector3Macro(DataOrigin,double);
83  vtkGetVectorMacro(DataOrigin,double,3);
85 
87  virtual vtkImageData *GetImage(int ImageNumber) = 0;
88 
89 protected:
91  ~vtkVolumeReader();
92 
93  char *FilePrefix;
94  char *FilePattern;
95  int ImageRange[2];
96  double DataSpacing[3];
97  double DataOrigin[3];
98 private:
99  vtkVolumeReader(const vtkVolumeReader&); // Not implemented.
100  void operator=(const vtkVolumeReader&); // Not implemented.
101 };
102 
103 #endif
104 
105 
read image files
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
Generic algorithm superclass for image algs.
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKIOIMAGE_EXPORT