00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00040
#ifndef __vtkUnstructuredGridReader_h
00041
#define __vtkUnstructuredGridReader_h
00042
00043
#include "vtkDataReader.h"
00044
00045
class vtkUnstructuredGrid;
00046
00047 class VTK_IO_EXPORT vtkUnstructuredGridReader :
public vtkDataReader
00048 {
00049
public:
00050
static vtkUnstructuredGridReader *
New();
00051 vtkTypeRevisionMacro(vtkUnstructuredGridReader,
vtkDataReader);
00052
void PrintSelf(ostream& os,
vtkIndent indent);
00053
00055
00056
vtkUnstructuredGrid *GetOutput();
00057 vtkUnstructuredGrid *GetOutput(
int idx)
00058 {
return (
vtkUnstructuredGrid *) this->vtkSource::GetOutput(idx); };
00059
void SetOutput(
vtkUnstructuredGrid *output);
00061
00062
protected:
00063 vtkUnstructuredGridReader();
00064 ~vtkUnstructuredGridReader();
00065
00066
void Execute();
00067
00068
00069
00070
00071
void ComputeInputUpdateExtents(
vtkDataObject *output);
00072
00073
private:
00074 vtkUnstructuredGridReader(
const vtkUnstructuredGridReader&);
00075
void operator=(
const vtkUnstructuredGridReader&);
00076 };
00077
00078
#endif
00079
00080