VTK  9.0.1
vtkCPExodusIIElementBlockCellIterator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCPExodusIIElementBlockCellIterator.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 =========================================================================*/
21 #ifndef vtkCPExodusIIElementBlockCellIterator_h
22 #define vtkCPExodusIIElementBlockCellIterator_h
23 
24 #include "vtkCellIterator.h"
25 #include "vtkIOExodusModule.h" // For export macro
26 
27 #include "vtkSmartPointer.h" // For smart pointer
28 
30 class vtkCPExodusIIElementBlockPrivate;
31 
32 class VTKIOEXODUS_EXPORT vtkCPExodusIIElementBlockCellIterator : public vtkCellIterator
33 {
34 public:
35  typedef vtkCPExodusIIElementBlockPrivate StorageType;
36 
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
41  bool IsValid();
43 
44 protected:
47 
50  void FetchCellType();
51  void FetchPointIds();
52  void FetchPoints();
53 
54  friend class ::vtkCPExodusIIElementBlock;
56 
57 private:
59  void operator=(const vtkCPExodusIIElementBlockCellIterator&) = delete;
60 
62  vtkSmartPointer<vtkPoints> DataSetPoints;
63  vtkIdType CellId;
64 };
65 
66 #endif // vtkCPExodusIIElementBlockCellIterator_h
vtkCPExodusIIElementBlockCellIterator
vtkCellIterator subclass specialized for vtkCPExodusIIElementBlock.
Definition: vtkCPExodusIIElementBlockCellIterator.h:33
vtkIdType
int vtkIdType
Definition: vtkType.h:338
vtkCPExodusIIElementBlock
Uses an Exodus II element block as a vtkMappedUnstructuredGrid's implementation.
vtkCPExodusIIElementBlockCellIterator::FetchPoints
void FetchPoints()
Lookup the cell points in the data set and store them in this->Points.
vtkSmartPointer< StorageType >
vtkCPExodusIIElementBlockCellIterator::IncrementToNextCell
void IncrementToNextCell()
Update internal state to point to the next cell.
vtkCPExodusIIElementBlockCellIterator::IsValid
bool IsValid()
vtkCPExodusIIElementBlockCellIterator::SetStorage
void SetStorage(vtkCPExodusIIElementBlock *eb)
vtkCPExodusIIElementBlockCellIterator::FetchCellType
void FetchCellType()
Lookup the cell type in the data set and store it in this->CellType.
vtkCPExodusIIElementBlockCellIterator::vtkCPExodusIIElementBlockCellIterator
vtkCPExodusIIElementBlockCellIterator()
vtkCPExodusIIElementBlockCellIterator::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:34
vtkCPExodusIIElementBlockCellIterator::~vtkCPExodusIIElementBlockCellIterator
~vtkCPExodusIIElementBlockCellIterator()
vtkCPExodusIIElementBlockCellIterator::ResetToFirstCell
void ResetToFirstCell()
Update internal state to point to the first cell.
vtkSmartPointer.h
vtkCellIterator.h
vtkCPExodusIIElementBlockCellIterator::FetchPointIds
void FetchPointIds()
Lookup the cell point ids in the data set and store them in this->PointIds.
vtkCPExodusIIElementBlockCellIterator::StorageType
vtkCPExodusIIElementBlockPrivate StorageType
Definition: vtkCPExodusIIElementBlockCellIterator.h:35
vtkCellIterator
Efficient cell iterator for vtkDataSet topologies.
Definition: vtkCellIterator.h:78
vtkCPExodusIIElementBlockCellIterator::GetCellId
vtkIdType GetCellId()
Get the id of the current cell.
vtkCPExodusIIElementBlockCellIterator::New
static vtkCPExodusIIElementBlockCellIterator * New()