VTK  9.3.0
vtkXMLRectilinearGridReader.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
32 #ifndef vtkXMLRectilinearGridReader_h
33 #define vtkXMLRectilinearGridReader_h
34 
35 #include "vtkIOXMLModule.h" // For export macro
37 
38 VTK_ABI_NAMESPACE_BEGIN
39 class vtkRectilinearGrid;
40 
42 {
43 public:
45  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
49 
55 
56 protected:
59 
60  const char* GetDataSetName() override;
61  void SetOutputExtent(int* extent) override;
62 
63  void SetupPieces(int numPieces) override;
64  void DestroyPieces() override;
65  void SetupOutputData() override;
66  int ReadPiece(vtkXMLDataElement* ePiece) override;
67  int ReadPieceData() override;
69  int* inBounds, int* outBounds, int* subBounds, vtkXMLDataElement* da, vtkDataArray* array);
71 
72  // The elements representing the coordinate arrays for each piece.
74 
75 private:
77  void operator=(const vtkXMLRectilinearGridReader&) = delete;
78 };
79 
80 VTK_ABI_NAMESPACE_END
81 #endif
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
a simple class to control print indentation
Definition: vtkIndent.h:38
Store vtkAlgorithm input/output information.
a dataset that is topologically regular with variable spacing in the three coordinate directions
Represents an XML element and those nested inside.
Read VTK XML RectilinearGrid files.
~vtkXMLRectilinearGridReader() override
void SetupOutputData() override
Setup the output's data with allocation.
void SetOutputExtent(int *extent) override
int ReadPiece(vtkXMLDataElement *ePiece) override
void DestroyPieces() override
const char * GetDataSetName() override
Get the name of the data set being read.
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
vtkRectilinearGrid * GetOutput(int idx)
Get the reader's output.
static vtkXMLRectilinearGridReader * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetupPieces(int numPieces) override
int ReadPieceData() override
vtkRectilinearGrid * GetOutput()
Get the reader's output.
int ReadSubCoordinates(int *inBounds, int *outBounds, int *subBounds, vtkXMLDataElement *da, vtkDataArray *array)
Superclass for structured data XML readers.
@ extent
Definition: vtkX3D.h:345