VTK
|
converts a vtkTable into a sparse array. More...
#include <vtkTableToSparseArray.h>
Inherits vtkArrayDataAlgorithm.
Public Types | |
typedef vtkArrayDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkTableToSparseArray * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | ClearCoordinateColumns () |
void | AddCoordinateColumn (const char *name) |
void | SetValueColumn (const char *name) |
const char * | GetValueColumn () |
void | ClearOutputExtents () |
void | SetOutputExtents (const vtkArrayExtents &extents) |
Static Public Member Functions | |
static vtkTableToSparseArray * | New () |
static int | IsTypeOf (const char *type) |
static vtkTableToSparseArray * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkTableToSparseArray () | |
~vtkTableToSparseArray () | |
int | FillInputPortInformation (int, vtkInformation *) |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
converts a vtkTable into a sparse array.
Converts a vtkTable into a sparse array. Use AddCoordinateColumn() to designate one-to-many table columns that contain coordinates for each array value, and SetValueColumn() to designate the table column that contains array values.
Thus, the number of dimensions in the output array will equal the number of calls to AddCoordinateColumn().
The coordinate columns will also be used to populate dimension labels in the output array.
By default, the extent of the output array will be set to the range [0, largest coordinate + 1) along each dimension. In some situations you may prefer to set the extents explicitly, using the SetOutputExtents() method. This is useful when the output array should be larger than its largest coordinates, or when working with partitioned data.
Definition at line 57 of file vtkTableToSparseArray.h.
typedef vtkArrayDataAlgorithm vtkTableToSparseArray::Superclass |
Definition at line 61 of file vtkTableToSparseArray.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkTableToSparseArray* vtkTableToSparseArray::NewInstance | ( | ) | const |
void vtkTableToSparseArray::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
void vtkTableToSparseArray::ClearCoordinateColumns | ( | ) |
Specify the set of input table columns that will be mapped to coordinates in the output sparse array.
void vtkTableToSparseArray::AddCoordinateColumn | ( | const char * | name | ) |
Specify the set of input table columns that will be mapped to coordinates in the output sparse array.
void vtkTableToSparseArray::SetValueColumn | ( | const char * | name | ) |
Specify the input table column that will be mapped to values in the output array.
const char* vtkTableToSparseArray::GetValueColumn | ( | ) |
Specify the input table column that will be mapped to values in the output array.
void vtkTableToSparseArray::ClearOutputExtents | ( | ) |
Explicitly specify the extents of the output array.
void vtkTableToSparseArray::SetOutputExtents | ( | const vtkArrayExtents & | extents | ) |
Explicitly specify the extents of the output array.
|
protected |
|
protected |