VTK
|
Transpose an input table. More...
#include <vtkTransposeTable.h>
Public Types | |
typedef vtkTableAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkTransposeTable * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual bool | GetAddIdColumn () |
virtual void | SetAddIdColumn (bool) |
virtual void | AddIdColumnOn () |
virtual void | AddIdColumnOff () |
virtual bool | GetUseIdColumn () |
virtual void | SetUseIdColumn (bool) |
virtual void | UseIdColumnOn () |
virtual void | UseIdColumnOff () |
virtual char * | GetIdColumnName () |
virtual void | SetIdColumnName (const char *) |
Static Public Member Functions | |
static vtkTransposeTable * | New () |
static int | IsTypeOf (const char *type) |
static vtkTransposeTable * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkTransposeTable () | |
~vtkTransposeTable () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
bool | AddIdColumn |
bool | UseIdColumn |
char * | IdColumnName |
Transpose an input table.
This algorithm allows to transpose a vtkTable as a matrix. Columns become rows and vice versa. A new column can be added to the result table at index 0 to collect the name of the initial columns (when AddIdColumn is true). Such a column can be used to name the columns of the result. Note that columns of the output table will have a variant type is the columns of the initial table are not consistant.
Definition at line 38 of file vtkTransposeTable.h.
Reimplemented from vtkTableAlgorithm.
Definition at line 42 of file vtkTransposeTable.h.
vtkTransposeTable::vtkTransposeTable | ( | ) | [protected] |
vtkTransposeTable::~vtkTransposeTable | ( | ) | [protected] |
static vtkTransposeTable* vtkTransposeTable::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkTableAlgorithm.
static int vtkTransposeTable::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 vtkTableAlgorithm.
virtual int vtkTransposeTable::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 vtkTableAlgorithm.
static vtkTransposeTable* vtkTransposeTable::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkTableAlgorithm.
virtual vtkObjectBase* vtkTransposeTable::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkTableAlgorithm.
vtkTransposeTable* vtkTransposeTable::NewInstance | ( | ) | const |
Reimplemented from vtkTableAlgorithm.
void vtkTransposeTable::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 vtkTableAlgorithm.
virtual bool vtkTransposeTable::GetAddIdColumn | ( | ) | [virtual] |
This flag indicates if a column must be inserted at index 0 with the names (ids) of the input columns. Default: true
virtual void vtkTransposeTable::SetAddIdColumn | ( | bool | ) | [virtual] |
This flag indicates if a column must be inserted at index 0 with the names (ids) of the input columns. Default: true
virtual void vtkTransposeTable::AddIdColumnOn | ( | ) | [virtual] |
This flag indicates if a column must be inserted at index 0 with the names (ids) of the input columns. Default: true
virtual void vtkTransposeTable::AddIdColumnOff | ( | ) | [virtual] |
This flag indicates if a column must be inserted at index 0 with the names (ids) of the input columns. Default: true
virtual bool vtkTransposeTable::GetUseIdColumn | ( | ) | [virtual] |
This flag indicates if the output column must be named using the names listed in the index 0 column. Default: false
virtual void vtkTransposeTable::SetUseIdColumn | ( | bool | ) | [virtual] |
This flag indicates if the output column must be named using the names listed in the index 0 column. Default: false
virtual void vtkTransposeTable::UseIdColumnOn | ( | ) | [virtual] |
This flag indicates if the output column must be named using the names listed in the index 0 column. Default: false
virtual void vtkTransposeTable::UseIdColumnOff | ( | ) | [virtual] |
This flag indicates if the output column must be named using the names listed in the index 0 column. Default: false
virtual char* vtkTransposeTable::GetIdColumnName | ( | ) | [virtual] |
Get/Set the name of the id column added by option AddIdColumn. Default: ColName
virtual void vtkTransposeTable::SetIdColumnName | ( | const char * | ) | [virtual] |
Get/Set the name of the id column added by option AddIdColumn. Default: ColName
int vtkTransposeTable::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkTableAlgorithm.
bool vtkTransposeTable::AddIdColumn [protected] |
Definition at line 76 of file vtkTransposeTable.h.
bool vtkTransposeTable::UseIdColumn [protected] |
Definition at line 77 of file vtkTransposeTable.h.
char* vtkTransposeTable::IdColumnName [protected] |
Definition at line 78 of file vtkTransposeTable.h.