VTK
|
Convert an array of arbitrary dimensions to a matrix. More...
#include <vtkMatricizeArray.h>
Public Types | |
typedef vtkArrayDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkMatricizeArray * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkIdType | GetSliceDimension () |
virtual void | SetSliceDimension (vtkIdType) |
Static Public Member Functions | |
static vtkMatricizeArray * | New () |
static int | IsTypeOf (const char *type) |
static vtkMatricizeArray * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkMatricizeArray () | |
~vtkMatricizeArray () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Convert an array of arbitrary dimensions to a matrix.
Given a sparse input array of arbitrary dimension, creates a sparse output matrix (vtkSparseArray<double>) where each column is a slice along an arbitrary dimension from the source.
Definition at line 44 of file vtkMatricizeArray.h.
Reimplemented from vtkArrayDataAlgorithm.
Definition at line 48 of file vtkMatricizeArray.h.
vtkMatricizeArray::vtkMatricizeArray | ( | ) | [protected] |
vtkMatricizeArray::~vtkMatricizeArray | ( | ) | [protected] |
static vtkMatricizeArray* vtkMatricizeArray::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkArrayDataAlgorithm.
static int vtkMatricizeArray::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 vtkMatricizeArray::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 vtkMatricizeArray* vtkMatricizeArray::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkArrayDataAlgorithm.
virtual vtkObjectBase* vtkMatricizeArray::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkArrayDataAlgorithm.
vtkMatricizeArray* vtkMatricizeArray::NewInstance | ( | ) | const |
Reimplemented from vtkArrayDataAlgorithm.
void vtkMatricizeArray::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.
virtual vtkIdType vtkMatricizeArray::GetSliceDimension | ( | ) | [virtual] |
Returns the 0-numbered dimension that will be mapped to columns in the output
virtual void vtkMatricizeArray::SetSliceDimension | ( | vtkIdType | ) | [virtual] |
Sets the 0-numbered dimension that will be mapped to columns in the output
int vtkMatricizeArray::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.