Converts a sparse array to a vtkTable.
More...
#include <vtkSparseArrayToTable.h>
Inherits vtkTableAlgorithm.
Converts a sparse array to a vtkTable.
Converts any sparse array to a vtkTable containing one row for each value stored in the array. The table will contain one column of coordinates for each dimension in the source array, plus one column of array values. A common use-case for vtkSparseArrayToTable would be converting a sparse array into a table suitable for use as an input to vtkTableToGraph.
The coordinate columns in the output table will be named using the dimension labels from the source array, The value column name can be explicitly set using SetValueColumn().
- Thanks:
- Developed by Timothy M. Shead (tshea.nosp@m.d@sa.nosp@m.ndia..nosp@m.gov) at Sandia National Laboratories.
- Tests:
- vtkSparseArrayToTable (Tests)
Definition at line 49 of file vtkSparseArrayToTable.h.
vtkSparseArrayToTable::vtkSparseArrayToTable |
( |
| ) |
|
|
protected |
vtkSparseArrayToTable::~vtkSparseArrayToTable |
( |
| ) |
|
|
protected |
static int vtkSparseArrayToTable::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkSparseArrayToTable::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkSparseArrayToTable::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkSparseArrayToTable::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual char* vtkSparseArrayToTable::GetValueColumn |
( |
| ) |
|
|
virtual |
Specify the name of the output table column that contains array values. Default: "value"
virtual void vtkSparseArrayToTable::SetValueColumn |
( |
const char * |
| ) |
|
|
virtual |
Specify the name of the output table column that contains array values. Default: "value"
int vtkSparseArrayToTable::FillInputPortInformation |
( |
int |
, |
|
|
vtkInformation * |
|
|
) |
| |
|
protected |
int vtkSparseArrayToTable::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protected |
char* vtkSparseArrayToTable::ValueColumn |
|
protected |
The documentation for this class was generated from the following file: