Class for creating unstructured grids.
More...
#include <vtkCPUnstructuredGridBuilder.h>
Class for creating unstructured grids.
Class for creating vtkUnstructuredGrids for a test driver. Note that the user must call SetPoints(), Allocate(), and InsertNextCell().
Definition at line 34 of file vtkCPUnstructuredGridBuilder.h.
◆ Superclass
◆ vtkCPUnstructuredGridBuilder()
vtkCPUnstructuredGridBuilder::vtkCPUnstructuredGridBuilder |
( |
| ) |
|
|
protected |
◆ ~vtkCPUnstructuredGridBuilder()
vtkCPUnstructuredGridBuilder::~vtkCPUnstructuredGridBuilder |
( |
| ) |
|
|
protected |
◆ New()
◆ GetClassName()
virtual const char* vtkCPUnstructuredGridBuilder::GetClassName |
( |
| ) |
|
|
virtual |
◆ IsTypeOf()
static int vtkCPUnstructuredGridBuilder::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
◆ IsA()
virtual int vtkCPUnstructuredGridBuilder::IsA |
( |
const char * |
type | ) |
|
|
virtual |
◆ SafeDownCast()
◆ PrintSelf()
void vtkCPUnstructuredGridBuilder::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
◆ GetGrid()
virtual vtkDataObject* vtkCPUnstructuredGridBuilder::GetGrid |
( |
unsigned long |
timeStep, |
|
|
double |
time, |
|
|
int & |
builtNewGrid |
|
) |
| |
|
virtual |
◆ GetUnstructuredGrid()
vtkUnstructuredGrid* vtkCPUnstructuredGridBuilder::GetUnstructuredGrid |
( |
| ) |
|
Get the UnstructuredGrid.
◆ SetPoints()
bool vtkCPUnstructuredGridBuilder::SetPoints |
( |
vtkPoints * |
points | ) |
|
Set the vtkPoints of the vtkUnstructuredGrid.
Returns true if successful.
◆ Allocate()
virtual void vtkCPUnstructuredGridBuilder::Allocate |
( |
vtkIdType |
numCells = 1000 , |
|
|
int |
extSize = 1000 |
|
) |
| |
|
virtual |
Allocate memory for the cells on UnstructuredGrid.
◆ InsertNextCell() [1/2]
vtkIdType vtkCPUnstructuredGridBuilder::InsertNextCell |
( |
int |
type, |
|
|
vtkIdType |
npts, |
|
|
vtkIdType * |
pts |
|
) |
| |
Insert/create cell in object by type and list of point ids defining cell topology.
◆ InsertNextCell() [2/2]
vtkIdType vtkCPUnstructuredGridBuilder::InsertNextCell |
( |
int |
type, |
|
|
vtkIdList * |
ptIds |
|
) |
| |
Insert/create cell in object by type and list of point ids defining cell topology.
◆ SetUnstructuredGrid()
void vtkCPUnstructuredGridBuilder::SetUnstructuredGrid |
( |
vtkUnstructuredGrid * |
grid | ) |
|
|
protected |
Macro to set UnstructuredGrid.
◆ IsGridModified
bool vtkCPUnstructuredGridBuilder::IsGridModified |
|
protected |
The documentation for this class was generated from the following file: