VTK  9.3.0
vtkXMLStructuredGridReader.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
23#ifndef vtkXMLStructuredGridReader_h
24#define vtkXMLStructuredGridReader_h
25
26#include "vtkIOXMLModule.h" // For export macro
28
29VTK_ABI_NAMESPACE_BEGIN
31
33{
34public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
38
40
46
47protected:
50
51 const char* GetDataSetName() override;
52 void SetOutputExtent(int* extent) override;
53
54 void SetupPieces(int numPieces) override;
55 void DestroyPieces() override;
56 void SetupOutputData() override;
57
58 int ReadPiece(vtkXMLDataElement* ePiece) override;
59 int ReadPieceData() override;
61
62 // The elements representing the points for each piece.
64
65private:
67 void operator=(const vtkXMLStructuredGridReader&) = delete;
68};
69
70VTK_ABI_NAMESPACE_END
71#endif
a simple class to control print indentation
Definition vtkIndent.h:29
Store vtkAlgorithm input/output information.
topologically regular array of data
Represents an XML element and those nested inside.
Superclass for structured data XML readers.
Read VTK XML StructuredGrid files.
void SetupPieces(int numPieces) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void DestroyPieces() override
int ReadPiece(vtkXMLDataElement *ePiece) override
vtkStructuredGrid * GetOutput()
Get the reader's output.
void SetOutputExtent(int *extent) override
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
void SetupOutputData() override
Setup the output's data with allocation.
const char * GetDataSetName() override
Get the name of the data set being read.
static vtkXMLStructuredGridReader * New()
~vtkXMLStructuredGridReader() override
vtkStructuredGrid * GetOutput(int idx)
Get the reader's output.
int ReadPieceData() override