VTK
|
merge dataset and data object field to create dataset with attribute data More...
#include <vtkMergeDataObjectFilter.h>
Inherits vtkDataSetAlgorithm.
Public Types | |
typedef vtkDataSetAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkMergeDataObjectFilter * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetDataObjectInputData (vtkDataObject *object) |
vtkDataObject * | GetDataObject () |
virtual void | SetOutputField (int) |
virtual int | GetOutputField () |
void | SetOutputFieldToDataObjectField () |
void | SetOutputFieldToPointDataField () |
void | SetOutputFieldToCellDataField () |
Static Public Member Functions | |
static vtkMergeDataObjectFilter * | New () |
static int | IsTypeOf (const char *type) |
static vtkMergeDataObjectFilter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkMergeDataObjectFilter () | |
~vtkMergeDataObjectFilter () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | FillInputPortInformation (int port, vtkInformation *info) |
Protected Attributes | |
int | OutputField |
merge dataset and data object field to create dataset with attribute data
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 46 of file vtkMergeDataObjectFilter.h.
typedef vtkDataSetAlgorithm vtkMergeDataObjectFilter::Superclass |
Definition at line 50 of file vtkMergeDataObjectFilter.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkMergeDataObjectFilter* vtkMergeDataObjectFilter::NewInstance | ( | ) | const |
void vtkMergeDataObjectFilter::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
void vtkMergeDataObjectFilter::SetDataObjectInputData | ( | vtkDataObject * | object | ) |
Specify the data object to merge with the input dataset.
vtkDataObject* vtkMergeDataObjectFilter::GetDataObject | ( | ) |
Specify the data object to merge with the input dataset.
|
virtual |
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.
|
virtual |
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.
void vtkMergeDataObjectFilter::SetOutputFieldToDataObjectField | ( | ) |
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.
void vtkMergeDataObjectFilter::SetOutputFieldToPointDataField | ( | ) |
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.
void vtkMergeDataObjectFilter::SetOutputFieldToCellDataField | ( | ) |
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.
|
protected |
|
protected |
|
protected |
Definition at line 79 of file vtkMergeDataObjectFilter.h.