VTK
vtkXMLPUnstructuredGridReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkXMLPUnstructuredGridReader.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 =========================================================================*/
29 #ifndef vtkXMLPUnstructuredGridReader_h
30 #define vtkXMLPUnstructuredGridReader_h
31 
32 #include "vtkIOXMLModule.h" // For export macro
34 
36 
38 {
39 public:
41  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
43 
45 
48  vtkUnstructuredGrid *GetOutput();
49  vtkUnstructuredGrid *GetOutput(int idx);
51 
52 protected:
54  ~vtkXMLPUnstructuredGridReader() VTK_OVERRIDE;
55 
56  const char* GetDataSetName() VTK_OVERRIDE;
57  void GetOutputUpdateExtent(int& piece, int& numberOfPieces, int& ghostLevel) VTK_OVERRIDE;
58  void SetupOutputTotals() VTK_OVERRIDE;
59 
60  void SetupOutputData() VTK_OVERRIDE;
61  void SetupNextPiece() VTK_OVERRIDE;
62  int ReadPieceData() VTK_OVERRIDE;
63 
64  void CopyArrayForCells(vtkDataArray* inArray, vtkDataArray* outArray) VTK_OVERRIDE;
65  vtkXMLDataReader* CreatePieceReader() VTK_OVERRIDE;
66  int FillOutputPortInformation(int, vtkInformation*) VTK_OVERRIDE;
67 
68  void SqueezeOutputArrays(vtkDataObject*) VTK_OVERRIDE;
69 
70  // The index of the cell in the output where the current piece
71  // begins.
72  vtkIdType StartCell;
73 
74 private:
76  void operator=(const vtkXMLPUnstructuredGridReader&) VTK_DELETE_FUNCTION;
77 };
78 
79 #endif
Store vtkAlgorithm input/output information.
int vtkIdType
Definition: vtkType.h:345
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:33
dataset represents arbitrary combinations of all possible cell types
Read PVTK XML UnstructuredGrid files.
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:48
Superclass for parallel unstructured data XML readers.
Superclass for VTK XML file readers.
static vtkAlgorithm * New()
general representation of visualization data
Definition: vtkDataObject.h:58