|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   27 #ifndef vtkCPExodusIIElementBlock_h 
   28 #define vtkCPExodusIIElementBlock_h 
   30 #include "vtkIOExodusModule.h"  
   53   bool SetExodusConnectivityArray(
 
   54     int* elements, 
const std::string& 
type, 
int numElements, 
int nodesPerElement);
 
   67   void Allocate(
vtkIdType numCells, 
int extSize = 1000);
 
   85   static int PointToNode(
const vtkIdType& 
id) { 
return static_cast<int>(
id + 1); }
 
   88   int* GetElementStart(
vtkIdType cellId)
 const 
   90     return this->Elements + (cellId * this->CellSize);
 
   92   int* GetElementEnd(
vtkIdType cellId)
 const 
   94     return this->Elements + (cellId * this->CellSize) + this->CellSize;
 
   96   int* GetStart()
 const { 
return this->Elements; }
 
   97   int* GetEnd()
 const { 
return this->Elements + (this->NumberOfCells * this->CellSize); }
 
  108 #endif // vtkCPExodusIIElementBlock_h 
  
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Uses an Exodus II element block as a vtkMappedUnstructuredGrid's implementation.
abstract base class for most VTK objects
#define VTK_SIZEHINT(...)
a simple class to control print indentation
list of point or cell ids
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
dynamic, self-adjusting array of vtkIdType
vtkMakeExportedMappedUnstructuredGrid(vtkCPExodusIIElementBlock, vtkCPExodusIIElementBlockImpl, VTKIOEXODUS_EXPORT)
provides thread-safe access to cells