VTK
|
produces simple (composite or atomic) data sets for testing. More...
#include <vtkDataObjectGenerator.h>
Inherits vtkDataObjectAlgorithm.
Public Types | |
typedef vtkDataObjectAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkDataObjectGenerator * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetProgram (const char *) |
virtual char * | GetProgram () |
Static Public Member Functions | |
static vtkDataObjectGenerator * | New () |
static int | IsTypeOf (const char *type) |
static vtkDataObjectGenerator * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkDataObjectGenerator () | |
~vtkDataObjectGenerator () | |
virtual int | RequestData (vtkInformation *req, vtkInformationVector **inV, vtkInformationVector *outV) |
virtual int | RequestDataObject (vtkInformation *req, vtkInformationVector **inV, vtkInformationVector *outV) |
virtual int | RequestInformation (vtkInformation *req, vtkInformationVector **inV, vtkInformationVector *outV) |
virtual int | RequestUpdateExtent (vtkInformation *req, vtkInformationVector **inV, vtkInformationVector *outV) |
vtkDataObject * | CreateOutputDataObjects (vtkInternalStructureCache *structure) |
vtkDataObject * | FillOutputDataObjects (vtkInternalStructureCache *structure, int level, int stripe=0) |
void | MakeImageData1 (vtkDataSet *ds) |
void | MakeImageData2 (vtkDataSet *ds) |
void | MakeUniformGrid1 (vtkDataSet *ds) |
void | MakeRectilinearGrid1 (vtkDataSet *ds) |
void | MakeStructuredGrid1 (vtkDataSet *ds) |
void | MakePolyData1 (vtkDataSet *ds) |
void | MakePolyData2 (vtkDataSet *ds) |
void | MakeUnstructuredGrid1 (vtkDataSet *ds) |
void | MakeUnstructuredGrid2 (vtkDataSet *ds) |
void | MakeUnstructuredGrid3 (vtkDataSet *ds) |
void | MakeUnstructuredGrid4 (vtkDataSet *ds) |
void | MakeValues (vtkDataSet *ds) |
Protected Attributes | |
char * | Program |
vtkInternalStructureCache * | Structure |
vtkIdType | Rank |
vtkIdType | Processors |
double | XOffset |
double | YOffset |
double | ZOffset |
vtkIdType | CellIdCounter |
vtkIdType | PointIdCounter |
produces simple (composite or atomic) data sets for testing.
vtkDataObjectGenerator parses a string and produces dataobjects from the dataobject template names it sees in the string. For example, if the string contains "ID1" the generator will create a vtkImageData. "UF1", "RG1", "SG1", "PD1", and "UG1" will produce vtkUniformGrid, vtkRectilinearGrid, vtkStructuredGrid, vtkPolyData and vtkUnstructuredGrid respectively. "PD2" will produce an alternate vtkPolyData. You can compose composite datasets from the atomic ones listed above by placing them within one of the two composite dataset identifiers
"MB{}" or "HB[]". "MB{ ID1 PD1 MB{} }" for example will create a vtkMultiBlockDataSet consisting of three blocks: image data, poly data, multi-block (empty). Hierarchical Box data sets additionally require the notion of groups, declared within "()" braces, to specify AMR depth. "HB[ (UF1)(UF1)(UF1) ]" will create a vtkHierarchicalBoxDataSet representing an octree that is three levels deep, in which the firstmost cell in each level is refined.
Definition at line 47 of file vtkDataObjectGenerator.h.
typedef vtkDataObjectAlgorithm vtkDataObjectGenerator::Superclass |
Definition at line 52 of file vtkDataObjectGenerator.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkDataObjectGenerator* vtkDataObjectGenerator::NewInstance | ( | ) | const |
void vtkDataObjectGenerator::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
The string that will be parsed to specify a dataobject structure.
|
virtual |
The string that will be parsed to specify a dataobject structure.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 79 of file vtkDataObjectGenerator.h.
|
protected |
Definition at line 81 of file vtkDataObjectGenerator.h.
|
protected |
Definition at line 93 of file vtkDataObjectGenerator.h.
|
protected |
Definition at line 94 of file vtkDataObjectGenerator.h.
|
protected |
Definition at line 110 of file vtkDataObjectGenerator.h.
|
protected |
Definition at line 111 of file vtkDataObjectGenerator.h.
|
protected |
Definition at line 112 of file vtkDataObjectGenerator.h.
|
protected |
Definition at line 115 of file vtkDataObjectGenerator.h.
|
protected |
Definition at line 116 of file vtkDataObjectGenerator.h.