VTK
vtkXMLPStructuredGridReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkXMLPStructuredGridReader.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 =========================================================================*/
28 #ifndef __vtkXMLPStructuredGridReader_h
29 #define __vtkXMLPStructuredGridReader_h
30 
32 
33 class vtkStructuredGrid;
34 
36 {
37 public:
39  void PrintSelf(ostream& os, vtkIndent indent);
41 
43  vtkStructuredGrid *GetOutput();
44 
46  vtkStructuredGrid* GetOutput(int idx);
47 
48 protected:
51 
52  vtkStructuredGrid* GetPieceInput(int index);
53 
54  void SetupEmptyOutput();
55  const char* GetDataSetName();
56  void SetOutputExtent(int* extent);
57  void GetPieceInputExtent(int index, int* extent);
59  void SetupOutputData();
60  int ReadPieceData();
62  virtual int FillOutputPortInformation(int, vtkInformation*);
63 
64  // The PPoints element with point information.
66 
67 private:
68  vtkXMLPStructuredGridReader(const vtkXMLPStructuredGridReader&); // Not implemented.
69  void operator=(const vtkXMLPStructuredGridReader&); // Not implemented.
70 };
71 
72 #endif