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 =========================================================================*/
31 #ifndef vtkXMLPUnstructuredGridReader_h
32 #define vtkXMLPUnstructuredGridReader_h
33 
34 #include "vtkIOXMLModule.h" // For export macro
36 
38 
40 {
41 public:
43  void PrintSelf(ostream& os, vtkIndent indent);
45 
47 
51 
52 protected:
55 
56  const char* GetDataSetName();
57  void GetOutputUpdateExtent(int& piece, int& numberOfPieces, int& ghostLevel);
59 
63 
64  void CopyArrayForCells(vtkDataArray* inArray, vtkDataArray* outArray);
67 
68  // The index of the cell in the output where the current piece
69  // begins.
71 
72 private:
74  void operator=(const vtkXMLPUnstructuredGridReader&); // Not implemented.
75 };
76 
77 #endif
VTKIOXML_EXPORT
#define VTKIOXML_EXPORT
Definition: vtkIOXMLModule.h:15
vtkXMLPUnstructuredGridReader
Read PVTK XML UnstructuredGrid files.
Definition: vtkXMLPUnstructuredGridReader.h:40
vtkXMLPUnstructuredGridReader::GetOutputUpdateExtent
void GetOutputUpdateExtent(int &piece, int &numberOfPieces, int &ghostLevel)
vtkXMLPUnstructuredDataReader
Superclass for parallel unstructured data XML readers.
Definition: vtkXMLPUnstructuredDataReader.h:36
vtkXMLPUnstructuredGridReader::GetOutput
vtkUnstructuredGrid * GetOutput(int idx)
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkXMLPUnstructuredGridReader::~vtkXMLPUnstructuredGridReader
~vtkXMLPUnstructuredGridReader()
vtkDataArray
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:55
vtkXMLDataReader
Superclass for VTK XML file readers.
Definition: vtkXMLDataReader.h:33
vtkXMLPUnstructuredGridReader::CopyArrayForCells
void CopyArrayForCells(vtkDataArray *inArray, vtkDataArray *outArray)
vtkIOXMLModule.h
vtkXMLPUnstructuredGridReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkXMLPUnstructuredGridReader::SetupOutputTotals
void SetupOutputTotals()
vtkXMLPUnstructuredGridReader::GetDataSetName
const char * GetDataSetName()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkXMLPUnstructuredGridReader::ReadPieceData
int ReadPieceData()
vtkXMLPUnstructuredGridReader::SetupOutputData
void SetupOutputData()
vtkXMLPUnstructuredGridReader::New
static vtkXMLPUnstructuredGridReader * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkXMLPUnstructuredGridReader::CreatePieceReader
vtkXMLDataReader * CreatePieceReader()
vtkXMLPUnstructuredGridReader::FillOutputPortInformation
virtual int FillOutputPortInformation(int, vtkInformation *)
vtkXMLPUnstructuredGridReader::SetupNextPiece
void SetupNextPiece()
vtkXMLPUnstructuredGridReader::StartCell
vtkIdType StartCell
Definition: vtkXMLPUnstructuredGridReader.h:70
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition: vtkUnstructuredGrid.h:82
vtkXMLPUnstructuredDataReader.h
vtkXMLPUnstructuredGridReader::vtkXMLPUnstructuredGridReader
vtkXMLPUnstructuredGridReader()
vtkXMLPUnstructuredGridReader::GetOutput
vtkUnstructuredGrid * GetOutput()