converts a vtkTable to a matrix.
More...
#include <vtkTableToArray.h>
Inherits vtkArrayDataAlgorithm.
converts a vtkTable to a matrix.
Converts a vtkTable into a dense matrix. Use AddColumn() to designate one-to-many table columns that will become columns in the output matrix.a
Using AddColumn() it is possible to duplicate / reorder columns in arbitrary ways.
- Warning
- Only produces vtkDenseArray<double>, regardless of the input table column types.
- Thanks:
- Developed by Timothy M. Shead (tshea.nosp@m.d@sa.nosp@m.ndia..nosp@m.gov) at Sandia National Laboratories.
- Examples:
- vtkTableToArray (Examples)
- Tests:
- vtkTableToArray (Tests)
Definition at line 52 of file vtkTableToArray.h.
vtkTableToArray::vtkTableToArray |
( |
| ) |
|
|
protected |
vtkTableToArray::~vtkTableToArray |
( |
| ) |
|
|
protected |
static int vtkTableToArray::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkTableToArray::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkTableToArray::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkTableToArray::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
void vtkTableToArray::ClearColumns |
( |
| ) |
|
Reset the list of input table columns that will be mapped to columns in the output matrix.
void vtkTableToArray::AddColumn |
( |
const char * |
name | ) |
|
Add a column by name to the list of input table columns that will be mapped to columns in the output matrix.
void vtkTableToArray::AddColumn |
( |
vtkIdType |
index | ) |
|
Add a column by index to the list of input table columns that will be mapped to columns in the output matrix.
void vtkTableToArray::AddAllColumns |
( |
| ) |
|
Add every input table column to the output matrix.
int vtkTableToArray::FillInputPortInformation |
( |
int |
, |
|
|
vtkInformation * |
|
|
) |
| |
|
protected |
int vtkTableToArray::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protected |
The documentation for this class was generated from the following file: