VTK  9.4.20241218
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
52#ifndef vtkXMLRectilinearGridReader_h
53#define vtkXMLRectilinearGridReader_h
54
55#include "vtkIOXMLModule.h" // For export macro
57
58VTK_ABI_NAMESPACE_BEGIN
60
62{
63public:
65 void PrintSelf(ostream& os, vtkIndent indent) override;
67
69
75
76protected:
79
80 const char* GetDataSetName() override;
81 void SetOutputExtent(int* extent) override;
82
83 void SetupPieces(int numPieces) override;
84 void DestroyPieces() override;
85 void SetupOutputData() override;
86 int ReadPiece(vtkXMLDataElement* ePiece) override;
87 int ReadPieceData() override;
89 int* inBounds, int* outBounds, int* subBounds, vtkXMLDataElement* da, vtkDataArray* array);
91
92 // The elements representing the coordinate arrays for each piece.
94
95private:
97 void operator=(const vtkXMLRectilinearGridReader&) = delete;
98};
99
100VTK_ABI_NAMESPACE_END
101#endif
abstract superclass for arrays of numeric data
a simple class to control print indentation
Definition vtkIndent.h:108
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
vtkRectilinearGrid * GetOutput(int idx)
Get the reader's output.
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
vtkRectilinearGrid * GetOutput()
Get the reader's output.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
const char * GetDataSetName() override
Get the name of the data set being read.
void SetupPieces(int numPieces) override
static vtkXMLRectilinearGridReader * New()
int ReadPieceData() override
int ReadSubCoordinates(int *inBounds, int *outBounds, int *subBounds, vtkXMLDataElement *da, vtkDataArray *array)
Superclass for structured data XML readers.