VTK
|
merge two columns into a single column More...
#include <vtkMergeColumns.h>
Inherits vtkTableAlgorithm.
Public Types | |
typedef vtkTableAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkMergeColumns * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetMergedColumnName (const char *) |
virtual char * | GetMergedColumnName () |
Static Public Member Functions | |
static vtkMergeColumns * | New () |
static int | IsTypeOf (const char *type) |
static vtkMergeColumns * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkMergeColumns () | |
~vtkMergeColumns () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
char * | MergedColumnName |
merge two columns into a single column
vtkMergeColumns replaces two columns in a table with a single column containing data in both columns. The columns are set using
SetInputArrayToProcess(0, 0, 0, vtkDataObject::FIELD_ASSOCIATION_ROWS, "col1")
and
SetInputArrayToProcess(1, 0, 0, vtkDataObject::FIELD_ASSOCIATION_ROWS, "col2")
where "col1" and "col2" are the names of the columns to merge. The user may also specify the name of the merged column. The arrays must be of the same type. If the arrays are numeric, the values are summed in the merged column. If the arrays are strings, the values are concatenated. The strings are separated by a space if they are both nonempty.
Definition at line 47 of file vtkMergeColumns.h.
typedef vtkTableAlgorithm vtkMergeColumns::Superclass |
Definition at line 51 of file vtkMergeColumns.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkMergeColumns* vtkMergeColumns::NewInstance | ( | ) | const |
void vtkMergeColumns::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
The name to give the merged column created by this filter.
|
virtual |
The name to give the merged column created by this filter.
|
protected |
|
protected |
Definition at line 64 of file vtkMergeColumns.h.