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 "vtkImageAlgorithm.h"
48 
50 {
51 public:
53  void PrintSelf(ostream& os, vtkIndent indent);
54 
56 
57  vtkSetStringMacro(FilePrefix);
58  vtkGetStringMacro(FilePrefix);
60 
62 
63  vtkSetStringMacro(FilePattern);
64  vtkGetStringMacro(FilePattern);
66 
68 
69  vtkSetVector2Macro(ImageRange,int);
70  vtkGetVectorMacro(ImageRange,int,2);
72 
74 
75  vtkSetVector3Macro(DataSpacing,double);
76  vtkGetVectorMacro(DataSpacing,double,3);
78 
80 
81  vtkSetVector3Macro(DataOrigin,double);
82  vtkGetVectorMacro(DataOrigin,double,3);
84 
86  virtual vtkImageData *GetImage(int ImageNumber) = 0;
87 
88 protected:
90  ~vtkVolumeReader();
91 
92  char *FilePrefix;
93  char *FilePattern;
94  int ImageRange[2];
95  double DataSpacing[3];
96  double DataOrigin[3];
97 private:
98  vtkVolumeReader(const vtkVolumeReader&); // Not implemented.
99  void operator=(const vtkVolumeReader&); // Not implemented.
100 };
101 
102 #endif
103 
104 
read image files
a simple class to control print indentation
Definition: vtkIndent.h:37
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
Generic algorithm superclass for image algs.
void PrintSelf(ostream &os, vtkIndent indent)
#define VTK_IO_EXPORT