VTK
|
converts a vtkTable to a matrix. More...
#include <vtkTableToArray.h>
Public Types | |
typedef vtkArrayDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkTableToArray * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | ClearColumns () |
void | AddColumn (const char *name) |
void | AddColumn (vtkIdType index) |
void | AddAllColumns () |
Static Public Member Functions | |
static vtkTableToArray * | New () |
static int | IsTypeOf (const char *type) |
static vtkTableToArray * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkTableToArray () | |
~vtkTableToArray () | |
int | FillInputPortInformation (int, vtkInformation *) |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
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.
Definition at line 52 of file vtkTableToArray.h.
Reimplemented from vtkArrayDataAlgorithm.
Definition at line 56 of file vtkTableToArray.h.
vtkTableToArray::vtkTableToArray | ( | ) | [protected] |
vtkTableToArray::~vtkTableToArray | ( | ) | [protected] |
static vtkTableToArray* vtkTableToArray::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkArrayDataAlgorithm.
static int vtkTableToArray::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 vtkArrayDataAlgorithm.
virtual int vtkTableToArray::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 vtkArrayDataAlgorithm.
static vtkTableToArray* vtkTableToArray::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkArrayDataAlgorithm.
virtual vtkObjectBase* vtkTableToArray::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkArrayDataAlgorithm.
vtkTableToArray* vtkTableToArray::NewInstance | ( | ) | const |
Reimplemented from vtkArrayDataAlgorithm.
void vtkTableToArray::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 vtkArrayDataAlgorithm.
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 | port, |
vtkInformation * | info | ||
) | [protected, virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkArrayDataAlgorithm.
int vtkTableToArray::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkArrayDataAlgorithm.