#include <vtkMergeDataObjectFilter.h>
Inheritance diagram for vtkMergeDataObjectFilter:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetDataObject (vtkDataObject *object) |
vtkDataObject * | GetDataObject () |
virtual void | SetOutputField (int) |
virtual int | GetOutputField () |
void | SetOutputFieldToDataObjectField () |
void | SetOutputFieldToPointDataField () |
void | SetOutputFieldToCellDataField () |
Static Public Methods | |
vtkMergeDataObjectFilter * | New () |
int | IsTypeOf (const char *type) |
vtkMergeDataObjectFilter * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkMergeDataObjectFilter () | |
~vtkMergeDataObjectFilter () | |
vtkMergeDataObjectFilter (const vtkMergeDataObjectFilter &) | |
void | operator= (const vtkMergeDataObjectFilter &) |
void | Execute () |
Protected Attributes | |
int | OutputField |
vtkMergeDataObjectFilter is a filter that merges the field from a vtkDataObject with a vtkDataSet. The resulting combined dataset can then be processed by other filters (e.g., vtkFieldDataToAttributeDataFilter) to create attribute data like scalars, vectors, etc.
The filter operates as follows. The field data from the vtkDataObject is merged with the input's vtkDataSet and then placed in the output. You can choose to place the field data into the cell data field, the point data field, or the datasets field (i.e., the one inherited from vtkDataSet's superclass vtkDataObject). All this data shuffling occurs via reference counting, therefore memory is not copied.
One of the uses of this filter is to allow you to read/generate the structure of a dataset independent of the attributes. So, for example, you could store the dataset geometry/topology in one file, and field data in another. Then use this filter in combination with vtkFieldDataToAttributeData to create a dataset ready for processing in the visualization pipeline.
Definition at line 75 of file vtkMergeDataObjectFilter.h.
|
|
|
|
|
Definition at line 102 of file vtkMergeDataObjectFilter.h. |
|
Instantiate object with no start, end, or progress methods. Reimplemented from vtkDataSetSource. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkDataSetToDataSetFilter. |
|
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 vtkDataSetToDataSetFilter. |
|
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 vtkDataSetToDataSetFilter. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkDataSetToDataSetFilter. |
|
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 vtkSource. |
|
Specify the data object to merge with the input dataset. |
|
|
|
Specify where to place the field data during the merge process. There are three choices: the field data associated with the vtkDataObject superclass; the point field attribute data; and the cell field attribute data. |
|
|
|
Definition at line 92 of file vtkMergeDataObjectFilter.h. |
|
Definition at line 94 of file vtkMergeDataObjectFilter.h. |
|
Definition at line 96 of file vtkMergeDataObjectFilter.h. |
|
Definition at line 103 of file vtkMergeDataObjectFilter.h. |
|
Reimplemented from vtkSource. |
|
Definition at line 108 of file vtkMergeDataObjectFilter.h. |