VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkDataObjectGenerator Class Reference

produces simple (composite or atomic) data sets for testing. More...

#include <vtkDataObjectGenerator.h>

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

List of all members.

Public Types

typedef vtkDataObjectAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkDataObjectGeneratorNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetProgram (const char *)
virtual char * GetProgram ()

Static Public Member Functions

static vtkDataObjectGeneratorNew ()
static int IsTypeOf (const char *type)
static vtkDataObjectGeneratorSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () 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)
vtkDataObjectCreateOutputDataObjects (vtkInternalStructureCache *structure)
vtkDataObjectFillOutputDataObjects (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

Detailed Description

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

Definition at line 47 of file vtkDataObjectGenerator.h.


Member Typedef Documentation

Reimplemented from vtkDataObjectAlgorithm.

Definition at line 52 of file vtkDataObjectGenerator.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataObjectAlgorithm.

Reimplemented from vtkDataObjectAlgorithm.

virtual vtkObjectBase* vtkDataObjectGenerator::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkDataObjectAlgorithm.

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.

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.

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::MakeValues ( vtkDataSet ds) [protected]

Member Data Documentation

Definition at line 79 of file vtkDataObjectGenerator.h.

vtkInternalStructureCache* vtkDataObjectGenerator::Structure [protected]

Definition at line 81 of file vtkDataObjectGenerator.h.

Definition at line 93 of file vtkDataObjectGenerator.h.

Definition at line 94 of file vtkDataObjectGenerator.h.

Definition at line 110 of file vtkDataObjectGenerator.h.

Definition at line 111 of file vtkDataObjectGenerator.h.

Definition at line 112 of file vtkDataObjectGenerator.h.

Definition at line 115 of file vtkDataObjectGenerator.h.

Definition at line 116 of file vtkDataObjectGenerator.h.


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