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=========================================================================*/
45#ifndef vtkVolumeReader_h
46#define vtkVolumeReader_h
47
48#include "vtkIOImageModule.h" // For export macro
49#include "vtkImageAlgorithm.h"
50
51class VTKIOIMAGE_EXPORT vtkVolumeReader : public vtkImageAlgorithm
52{
53public:
55 void PrintSelf(ostream& os, vtkIndent indent);
56
58
61 vtkSetStringMacro(FilePrefix);
62 vtkGetStringMacro(FilePrefix);
64
66
69 vtkSetStringMacro(FilePattern);
70 vtkGetStringMacro(FilePattern);
72
74
77 vtkSetVector2Macro(ImageRange,int);
78 vtkGetVectorMacro(ImageRange,int,2);
80
82
85 vtkSetVector3Macro(DataSpacing,double);
86 vtkGetVectorMacro(DataSpacing,double,3);
88
90
93 vtkSetVector3Macro(DataOrigin,double);
94 vtkGetVectorMacro(DataOrigin,double,3);
96
100 virtual vtkImageData *GetImage(int ImageNumber) = 0;
101
102protected:
105
108 int ImageRange[2];
109 double DataSpacing[3];
110 double DataOrigin[3];
111private:
112 vtkVolumeReader(const vtkVolumeReader&) VTK_DELETE_FUNCTION;
113 void operator=(const vtkVolumeReader&) VTK_DELETE_FUNCTION;
114};
115
116#endif
117
118
Generic algorithm superclass for image algs.
topologically and geometrically regular array of data
Definition: vtkImageData.h:46
a simple class to control print indentation
Definition: vtkIndent.h:40
read image files
virtual vtkImageData * GetImage(int ImageNumber)=0
Other objects make use of this method.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.