ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkCustomUnstructuredGridBuilder Class Reference

Class for creating unstructured grids. More...

#include <vtkCustomUnstructuredGridBuilder.h>

Inheritance diagram for vtkCustomUnstructuredGridBuilder:
Inheritance graph
[legend]
Collaboration diagram for vtkCustomUnstructuredGridBuilder:
Collaboration graph
[legend]

Public Types

typedef vtkCPUnstructuredGridBuilder Superclass
 
- Public Types inherited from vtkCPUnstructuredGridBuilder
typedef vtkCPGridBuilder Superclass
 
- Public Types inherited from vtkCPGridBuilder
typedef vtkCPBaseGridBuilder Superclass
 
- Public Types inherited from vtkCPBaseGridBuilder
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...
 
- Public Member Functions inherited from vtkCPUnstructuredGridBuilder
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...
 
- Public Member Functions inherited from vtkCPGridBuilder
void PrintSelf (ostream &os, vtkIndent indent)
 
void SetFieldBuilder (vtkCPBaseFieldBuilder *fieldBuilder)
 Set/get the FieldBuilder. More...
 
vtkCPBaseFieldBuilderGetFieldBuilder ()
 Set/get the FieldBuilder. More...
 
- Public Member Functions inherited from vtkCPBaseGridBuilder
void PrintSelf (ostream &os, vtkIndent indent)
 

Static Public Member Functions

static vtkCustomUnstructuredGridBuilderNew ()
 
static int IsTypeOf (const char *type)
 
static vtkCustomUnstructuredGridBuilderSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkCPUnstructuredGridBuilder
static vtkCPUnstructuredGridBuilderNew ()
 
static int IsTypeOf (const char *type)
 
static vtkCPUnstructuredGridBuilderSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkCPGridBuilder
static int IsTypeOf (const char *type)
 
static vtkCPGridBuilderSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkCPBaseGridBuilder
static int IsTypeOf (const char *type)
 
static vtkCPBaseGridBuilderSafeDownCast (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...
 
- Protected Member Functions inherited from vtkCPUnstructuredGridBuilder
 vtkCPUnstructuredGridBuilder ()
 
 ~vtkCPUnstructuredGridBuilder ()
 
void SetUnstructuredGrid (vtkUnstructuredGrid *grid)
 Macro to set UnstructuredGrid. More...
 
- Protected Member Functions inherited from vtkCPGridBuilder
 vtkCPGridBuilder ()
 
 ~vtkCPGridBuilder ()
 
- Protected Member Functions inherited from vtkCPBaseGridBuilder
 vtkCPBaseGridBuilder ()
 
 ~vtkCPBaseGridBuilder ()
 

Additional Inherited Members

- Protected Attributes inherited from vtkCPUnstructuredGridBuilder
bool IsGridModified
 Flag to indicate if UnstructuredGrid has been modified since last call to GetGrid(). More...
 

Detailed Description

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.

Member Typedef Documentation

◆ Superclass

Definition at line 39 of file vtkCustomUnstructuredGridBuilder.h.

Constructor & Destructor Documentation

◆ vtkCustomUnstructuredGridBuilder()

vtkCustomUnstructuredGridBuilder::vtkCustomUnstructuredGridBuilder ( )
protected

◆ ~vtkCustomUnstructuredGridBuilder()

vtkCustomUnstructuredGridBuilder::~vtkCustomUnstructuredGridBuilder ( )
protected

Member Function Documentation

◆ New()

static vtkCustomUnstructuredGridBuilder* vtkCustomUnstructuredGridBuilder::New ( )
static

◆ GetClassName()

virtual const char* vtkCustomUnstructuredGridBuilder::GetClassName ( )
virtual

Reimplemented from vtkCPUnstructuredGridBuilder.

◆ IsTypeOf()

static int vtkCustomUnstructuredGridBuilder::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkCustomUnstructuredGridBuilder::IsA ( const char *  type)
virtual

Reimplemented from vtkCPUnstructuredGridBuilder.

◆ SafeDownCast()

static vtkCustomUnstructuredGridBuilder* vtkCustomUnstructuredGridBuilder::SafeDownCast ( vtkObject *  o)
static

◆ PrintSelf()

void vtkCustomUnstructuredGridBuilder::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ GetGrid()

virtual vtkDataObject* vtkCustomUnstructuredGridBuilder::GetGrid ( unsigned long  timeStep,
double  time,
int &  builtNewGrid 
)
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.

◆ BuildGrid()

void vtkCustomUnstructuredGridBuilder::BuildGrid ( )

Customized function to build UnstructuredGrid.

◆ ComputeCellCentroid()

void vtkCustomUnstructuredGridBuilder::ComputeCellCentroid ( vtkGenericCell *  cell,
double  xyz[3] 
)
protected

Method to compute the centroid of Cell and return the values in xyz.


The documentation for this class was generated from the following file: