ParaView
|
Class for creating unstructured grids. More...
#include <vtkCustomUnstructuredGridBuilder.h>
Public Types | |
typedef vtkCPUnstructuredGridBuilder | Superclass |
![]() | |
typedef vtkCPGridBuilder | Superclass |
![]() | |
typedef vtkCPBaseGridBuilder | Superclass |
![]() | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkDataObject * | GetGrid (unsigned long timeStep, double time, int &builtNewGrid) |
Return a grid. More... | |
void | BuildGrid () |
Customized function to build UnstructuredGrid. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkUnstructuredGrid * | GetUnstructuredGrid () |
Get the UnstructuredGrid. More... | |
bool | SetPoints (vtkPoints *points) |
Set the vtkPoints of the vtkUnstructuredGrid. More... | |
virtual void | Allocate (vtkIdType numCells=1000, int extSize=1000) |
Allocate memory for the cells on UnstructuredGrid. More... | |
vtkIdType | InsertNextCell (int type, vtkIdType npts, vtkIdType *pts) |
Insert/create cell in object by type and list of point ids defining cell topology. More... | |
vtkIdType | InsertNextCell (int type, vtkIdList *ptIds) |
Insert/create cell in object by type and list of point ids defining cell topology. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetFieldBuilder (vtkCPBaseFieldBuilder *fieldBuilder) |
Set/get the FieldBuilder. More... | |
vtkCPBaseFieldBuilder * | GetFieldBuilder () |
Set/get the FieldBuilder. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static vtkCustomUnstructuredGridBuilder * | New () |
static int | IsTypeOf (const char *type) |
static vtkCustomUnstructuredGridBuilder * | SafeDownCast (vtkObject *o) |
![]() | |
static vtkCPUnstructuredGridBuilder * | New () |
static int | IsTypeOf (const char *type) |
static vtkCPUnstructuredGridBuilder * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkCPGridBuilder * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkCPBaseGridBuilder * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkCustomUnstructuredGridBuilder () | |
~vtkCustomUnstructuredGridBuilder () | |
void | ComputeCellCentroid (vtkGenericCell *cell, double xyz[3]) |
Method to compute the centroid of Cell and return the values in xyz. More... | |
![]() | |
vtkCPUnstructuredGridBuilder () | |
~vtkCPUnstructuredGridBuilder () | |
void | SetUnstructuredGrid (vtkUnstructuredGrid *grid) |
Macro to set UnstructuredGrid. More... | |
![]() | |
vtkCPGridBuilder () | |
~vtkCPGridBuilder () | |
![]() | |
vtkCPBaseGridBuilder () | |
~vtkCPBaseGridBuilder () | |
Additional Inherited Members | |
![]() | |
bool | IsGridModified |
Flag to indicate if UnstructuredGrid has been modified since last call to GetGrid(). More... | |
Class for creating unstructured grids.
Class for creating vtkUnstructuredGrids for a test driver. The UnstructuredGrid is built directly from a vtkUniformGrid to demonstrate how to input a grid into the coprocessor.
Definition at line 35 of file vtkCustomUnstructuredGridBuilder.h.
Definition at line 39 of file vtkCustomUnstructuredGridBuilder.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkCPUnstructuredGridBuilder.
|
static |
|
virtual |
Reimplemented from vtkCPUnstructuredGridBuilder.
|
static |
void vtkCustomUnstructuredGridBuilder::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Return a grid.
BuiltNewGrid is set to 0 if the grids that were returned were already built before. vtkCustomUnstructuredGridBuilder will also delete the grid.
Reimplemented from vtkCPUnstructuredGridBuilder.
void vtkCustomUnstructuredGridBuilder::BuildGrid | ( | ) |
Customized function to build UnstructuredGrid.
|
protected |
Method to compute the centroid of Cell and return the values in xyz.