VTK  9.1.0
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=========================================================================*/
29#ifndef vtkXMLPStructuredGridReader_h
30#define vtkXMLPStructuredGridReader_h
31
32#include "vtkIOXMLModule.h" // For export macro
34
36
38{
39public:
41 void PrintSelf(ostream& os, vtkIndent indent) override;
43
48
53
54protected:
57
59
60 void SetupEmptyOutput() override;
61 const char* GetDataSetName() override;
62 void SetOutputExtent(int* extent) override;
63 void GetPieceInputExtent(int index, int* extent) override;
64 int ReadPrimaryElement(vtkXMLDataElement* ePrimary) override;
65 void SetupOutputData() override;
66 int ReadPieceData() override;
69
70 // The PPoints element with point information.
72
73private:
75 void operator=(const vtkXMLPStructuredGridReader&) = delete;
76};
77
78#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
Store vtkAlgorithm input/output information.
topologically regular array of data
Represents an XML element and those nested inside.
Superclass for VTK XML file readers.
Superclass for parallel structured data XML readers.
Read PVTK XML StructuredGrid files.
vtkXMLDataReader * CreatePieceReader() override
Create a reader according to the data to read.
int ReadPrimaryElement(vtkXMLDataElement *ePrimary) override
Read the information relative to the dataset and allocate the needed structures according to it.
const char * GetDataSetName() override
~vtkXMLPStructuredGridReader() override
int ReadPieceData() override
Actually read the current piece data.
void GetPieceInputExtent(int index, int *extent) override
vtkStructuredGrid * GetOutput()
Get the reader's output.
vtkStructuredGrid * GetPieceInput(int index)
void SetOutputExtent(int *extent) override
vtkStructuredGrid * GetOutput(int idx)
Needed for ParaView.
void SetupEmptyOutput() override
static vtkXMLPStructuredGridReader * New()
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
void SetupOutputData() override
Initialize the output data.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
@ extent
Definition: vtkX3D.h:351
@ index
Definition: vtkX3D.h:252