VTK
|
combine two tables More...
#include <vtkMergeTables.h>
Inherits vtkTableAlgorithm.
Public Types | |
typedef vtkTableAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkMergeTables * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetFirstTablePrefix (const char *) |
virtual char * | GetFirstTablePrefix () |
virtual void | SetSecondTablePrefix (const char *) |
virtual char * | GetSecondTablePrefix () |
virtual void | SetMergeColumnsByName (bool) |
virtual bool | GetMergeColumnsByName () |
virtual void | MergeColumnsByNameOn () |
virtual void | MergeColumnsByNameOff () |
virtual void | SetPrefixAllButMerged (bool) |
virtual bool | GetPrefixAllButMerged () |
virtual void | PrefixAllButMergedOn () |
virtual void | PrefixAllButMergedOff () |
Static Public Member Functions | |
static vtkMergeTables * | New () |
static int | IsTypeOf (const char *type) |
static vtkMergeTables * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkMergeTables () | |
~vtkMergeTables () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
bool | MergeColumnsByName |
bool | PrefixAllButMerged |
char * | FirstTablePrefix |
char * | SecondTablePrefix |
combine two tables
Combines the columns of two tables into one larger table. The number of rows in the resulting table is the sum of the number of rows in each of the input tables. The number of columns in the output is generally the sum of the number of columns in each input table, except in the case where column names are duplicated in both tables. In this case, if MergeColumnsByName is on (the default), the two columns will be merged into a single column of the same name. If MergeColumnsByName is off, both columns will exist in the output. You may set the FirstTablePrefix and SecondTablePrefix to define how the columns named are modified. One of these prefixes may be the empty string, but they must be different.
Definition at line 47 of file vtkMergeTables.h.
typedef vtkTableAlgorithm vtkMergeTables::Superclass |
Definition at line 51 of file vtkMergeTables.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkMergeTables* vtkMergeTables::NewInstance | ( | ) | const |
void vtkMergeTables::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
The prefix to give to same-named fields from the first table. Default is "Table1.".
|
virtual |
The prefix to give to same-named fields from the first table. Default is "Table1.".
|
virtual |
The prefix to give to same-named fields from the second table. Default is "Table2.".
|
virtual |
The prefix to give to same-named fields from the second table. Default is "Table2.".
|
virtual |
If on, merges columns with the same name. If off, keeps both columns, but calls one FirstTablePrefix + name, and the other SecondTablePrefix + name. Default is on.
|
virtual |
If on, merges columns with the same name. If off, keeps both columns, but calls one FirstTablePrefix + name, and the other SecondTablePrefix + name. Default is on.
|
virtual |
If on, merges columns with the same name. If off, keeps both columns, but calls one FirstTablePrefix + name, and the other SecondTablePrefix + name. Default is on.
|
virtual |
If on, merges columns with the same name. If off, keeps both columns, but calls one FirstTablePrefix + name, and the other SecondTablePrefix + name. Default is on.
|
virtual |
If on, all columns will have prefixes except merged columns. If off, only unmerged columns with the same name will have prefixes. Default is off.
|
virtual |
If on, all columns will have prefixes except merged columns. If off, only unmerged columns with the same name will have prefixes. Default is off.
|
virtual |
If on, all columns will have prefixes except merged columns. If off, only unmerged columns with the same name will have prefixes. Default is off.
|
virtual |
If on, all columns will have prefixes except merged columns. If off, only unmerged columns with the same name will have prefixes. Default is off.
|
protected |
|
protected |
Definition at line 90 of file vtkMergeTables.h.
|
protected |
Definition at line 91 of file vtkMergeTables.h.
|
protected |
Definition at line 92 of file vtkMergeTables.h.
|
protected |
Definition at line 93 of file vtkMergeTables.h.