#include <vtkDataObjectGenerator.h>
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", "RD1", "SD1", "PD1", and "UG1" will produce vtkUniformGrid, vtkRectilinearGrid, vtkStructuredGrid, vtkPolyData and vtkUnstructuredGrid respectively. You can compose composite datasets from the atomic ones listed above by putting them between "(" and ")" in the string to create groups, and then placing a collection of groups together inside one of the three composite dataset identifiers - "MB{}", "HD<>" or "HB[]". "HB[ (UF1)(UF1)(UF1) ]" will create a vtkHierarchicalBoxDataSet representing an octree, in which the firstmost cell is refined, and then the firstmost refined cell is refined itself. "HD< (UG1UG1UG1) (PD1)>" will create a vtkHierachicalDataSet which contains two refinement levels, the first is a group with three unstructured grids, the second, more refined level is a vtkPolyData. "MB{ (ID1)(PD1 RG1)(MB{}) }" will create a vtkMultiBlockDataSet consisting of three groups. The first group has one data set, a vtkImageData. The second group has two datasets, a vtkPolyData and a vtkRectilinearGrid. The third contains a vtkMultiBlockDataSet, which in this case is empty.
Definition at line 47 of file vtkDataObjectGenerator.h.
vtkDataObjectGenerator::vtkDataObjectGenerator | ( | ) | [protected] |
vtkDataObjectGenerator::~vtkDataObjectGenerator | ( | ) | [protected] |
static vtkDataObjectGenerator* vtkDataObjectGenerator::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataObjectAlgorithm.
virtual const char* vtkDataObjectGenerator::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkDataObjectAlgorithm.
static int vtkDataObjectGenerator::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDataObjectAlgorithm.
virtual int vtkDataObjectGenerator::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDataObjectAlgorithm.
static vtkDataObjectGenerator* vtkDataObjectGenerator::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkDataObjectAlgorithm.
void vtkDataObjectGenerator::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkDataObjectAlgorithm.
virtual void vtkDataObjectGenerator::SetProgram | ( | const char * | ) | [virtual] |
The string that will be parsed to specify a dataobject structure.
virtual char* vtkDataObjectGenerator::GetProgram | ( | ) | [virtual] |
The string that will be parsed to specify a dataobject structure.
virtual int vtkDataObjectGenerator::RequestData | ( | vtkInformation * | req, | |
vtkInformationVector ** | inV, | |||
vtkInformationVector * | outV | |||
) | [protected, virtual] |
Reimplemented from vtkDataObjectAlgorithm.
virtual int vtkDataObjectGenerator::RequestDataObject | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkDataObjectAlgorithm.
virtual int vtkDataObjectGenerator::RequestInformation | ( | vtkInformation * | req, | |
vtkInformationVector ** | inV, | |||
vtkInformationVector * | outV | |||
) | [protected, virtual] |
Reimplemented from vtkDataObjectAlgorithm.
virtual int vtkDataObjectGenerator::RequestUpdateExtent | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkDataObjectAlgorithm.
vtkDataObject* vtkDataObjectGenerator::CreateOutputDataObjects | ( | vtkInternalStructureCache * | structure | ) | [protected] |
vtkDataObject* vtkDataObjectGenerator::FillOutputDataObjects | ( | vtkInternalStructureCache * | structure, | |
int | level, | |||
int | stripe = 0 | |||
) | [protected] |
void vtkDataObjectGenerator::MakeImageData1 | ( | vtkDataSet * | ds | ) | [protected] |
void vtkDataObjectGenerator::MakeUniformGrid1 | ( | vtkDataSet * | ds | ) | [protected] |
void vtkDataObjectGenerator::MakeRectilinearGrid1 | ( | vtkDataSet * | ds | ) | [protected] |
void vtkDataObjectGenerator::MakeStructuredGrid1 | ( | vtkDataSet * | ds | ) | [protected] |
void vtkDataObjectGenerator::MakePolyData1 | ( | vtkDataSet * | ds | ) | [protected] |
void vtkDataObjectGenerator::MakeUnstructuredGrid1 | ( | vtkDataSet * | ds | ) | [protected] |
void vtkDataObjectGenerator::MakeValues | ( | vtkDataSet * | ds | ) | [protected] |
char* vtkDataObjectGenerator::Program [protected] |
Definition at line 79 of file vtkDataObjectGenerator.h.
vtkInternalStructureCache* vtkDataObjectGenerator::Structure [protected] |
Definition at line 81 of file vtkDataObjectGenerator.h.
vtkIdType vtkDataObjectGenerator::Rank [protected] |
Definition at line 93 of file vtkDataObjectGenerator.h.
vtkIdType vtkDataObjectGenerator::Processors [protected] |
Definition at line 94 of file vtkDataObjectGenerator.h.
double vtkDataObjectGenerator::XOffset [protected] |
Definition at line 105 of file vtkDataObjectGenerator.h.
double vtkDataObjectGenerator::YOffset [protected] |
Definition at line 106 of file vtkDataObjectGenerator.h.
double vtkDataObjectGenerator::ZOffset [protected] |
Definition at line 107 of file vtkDataObjectGenerator.h.
vtkIdType vtkDataObjectGenerator::CellIdCounter [protected] |
Definition at line 110 of file vtkDataObjectGenerator.h.
vtkIdType vtkDataObjectGenerator::PointIdCounter [protected] |
Definition at line 111 of file vtkDataObjectGenerator.h.