VTK  9.3.20240907
vtkCPExodusIIElementBlockCellIterator.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
9#ifndef vtkCPExodusIIElementBlockCellIterator_h
10#define vtkCPExodusIIElementBlockCellIterator_h
11
12#include "vtkCellIterator.h"
13#include "vtkIOExodusModule.h" // For export macro
14
15#include "vtkSmartPointer.h" // For smart pointer
16
17VTK_ABI_NAMESPACE_BEGIN
19class vtkCPExodusIIElementBlockPrivate;
20
22{
23public:
24 typedef vtkCPExodusIIElementBlockPrivate StorageType;
25
28 void PrintSelf(ostream& os, vtkIndent indent);
29
30 bool IsValid();
32
33protected:
36
42
43 friend class ::vtkCPExodusIIElementBlock;
45
46private:
48 void operator=(const vtkCPExodusIIElementBlockCellIterator&) = delete;
49
51 vtkSmartPointer<vtkPoints> DataSetPoints;
52 vtkIdType CellId;
53};
54
55VTK_ABI_NAMESPACE_END
56#endif // vtkCPExodusIIElementBlockCellIterator_h
vtkCellIterator subclass specialized for vtkCPExodusIIElementBlock.
static vtkCPExodusIIElementBlockCellIterator * New()
void ResetToFirstCell()
Update internal state to point to the first cell.
void IncrementToNextCell()
Update internal state to point to the next cell.
void FetchPoints()
Lookup the cell points in the data set and store them in this->Points.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkIdType GetCellId()
Get the id of the current cell.
void SetStorage(vtkCPExodusIIElementBlock *eb)
void FetchCellType()
Lookup the cell type in the data set and store it in this->CellType.
void FetchPointIds()
Lookup the cell point ids in the data set and store them in this->PointIds.
Uses an Exodus II element block as a vtkMappedUnstructuredGrid's implementation.
Efficient cell iterator for vtkDataSet topologies.
a simple class to control print indentation
Definition vtkIndent.h:108
Hold a reference to a vtkObjectBase instance.
int vtkIdType
Definition vtkType.h:315